Skip to content

Better path support for configs#679

Closed
ty-porter wants to merge 2 commits into
masterfrom
relative-paths
Closed

Better path support for configs#679
ty-porter wants to merge 2 commits into
masterfrom
relative-paths

Conversation

@ty-porter

Copy link
Copy Markdown
Contributor

Running the project from outside the project directory currently breaks because it can't find the right config schemas

This updates the path lookups to be relative to project root

  • Fixes the bug with starting the project from an arbitrary location
  • maintains support for the --config option, and better handles relative paths. Previously only supported child paths of project root, now you can put configs anywhere. .json file extension is optional
  • Centralizes the directories in case we need to load files in the future. Updates a few tests to use them.
  • Fixes a secondary bug where typos in the weather location caused a crash

@ty-porter ty-porter closed this Mar 11, 2026
@ty-porter

Copy link
Copy Markdown
Contributor Author

Will reopen against dev

@WardBrian WardBrian deleted the relative-paths branch March 15, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant