Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(config): env variable bug #365

Open
ocervell opened this issue Apr 27, 2024 · 0 comments · May be fixed by #366
Open

fix(config): env variable bug #365

ocervell opened this issue Apr 27, 2024 · 0 comments · May be fixed by #366
Assignees
Labels
bug Something isn't working config

Comments

@ocervell
Copy link
Contributor

ocervell commented Apr 27, 2024

When overriding SECATOR_DIRS_DATA using env variable, the other paths calculated from it are not re-calculated, se for instance templates SECATOR_DIRS_TEMPLATE still go to ~/.secator/templates. It's kind of anoying chicken-and-eggs bug ....

Three options:

  • Switch to generated paths for all folders below data/, which means we won't be able to configure individual paths under data anymore

or

or

  • (anoying) fix current bug, meaning we should:
    • override default config with env variables
    • ?
@ocervell ocervell linked a pull request Apr 27, 2024 that will close this issue
@ocervell ocervell added config bug Something isn't working labels May 2, 2024
@ocervell ocervell self-assigned this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working config
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant