Skip to content

Story 1.1: YAML Config File Discovery #3

@ecarrenolozano

Description

@ecarrenolozano

As a package developer,
I want the library to automatically discover and load YAML config files from package defaults, user home, working directory, and explicit paths,
So that users can configure my package without code changes.

Details and Assumptions

  • Priority order for File discovery:
    • package defaults (for instance: ~/.config/download_manager/_config/default.yaml) [lowest priority]
    • user home (for instance: /home/user1/.config/saezlab_core/config.yaml)
    • working directory
    • explicit path [highest priority]

Acceptance Criteria

  • Given YAML files exist in package defaults, ~/.config/saezlab_core/config.yaml, ./config.yaml, and/or an explicit path
  • When the session is initialized
  • Then all available configs are loaded and merged in priority order: package defaults (lowest) → user home → working directory → explicit path (highest)

Metadata

Metadata

Labels

enhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions