Skip to content
Snippets Groups Projects

config: Remove confusing magic in path handling

Merged vlorentz requested to merge dot-yaml into master
1 unresolved thread
  1. When passed a .yaml path (or any path with a non-whitelisted extension), don't read .yml instead when the .yaml exists. It's an extremely surprising behavior.

  2. If the .yaml file does not exist, it will still try alternative extensions in order not to break existing deployments which may rely on it, but it raises a warning now.

  3. When given a non-existing path, show an error log, but keep parsing it as an empty config, in order not to break existing deployments.

Merge request reports

Pipeline #2406 passed

Pipeline passed for 2663c0a4 on dot-yaml

Approval is optional

Merged by vlorentzvlorentz 1 year ago (May 10, 2023 2:56pm UTC)

Merge details

  • Changes merged into generated-differential-D7930-target with 2663c0a4.
  • Deleted the source branch.

Pipeline #2420 passed

Pipeline passed for 2663c0a4 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading