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

feat: Allows control of config_root for global config #3670

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

bnorick
Copy link
Contributor

@bnorick bnorick commented Dec 18, 2024

  • Adds MISE_GLOBAL_CONFIG_ROOT to control config_root for global config file which previously was always env::HOME (which remains the default, when unconfigured)
  • Allows MISE_IGNORED_CONFIG_PATHS to specify explicit paths of config files to ignore

bnorick and others added 3 commits December 18, 2024 02:31
- Adds MISE_GLOBAL_CONFIG_ROOT to control config_root for global config file
- Allows MISE_IGNORED_CONFIG_PATHS to specify explicit paths
@bnorick
Copy link
Contributor Author

bnorick commented Dec 18, 2024

Seems reasonable to be able to pass specific paths in MISE_IGNORED_CONFIG_PATHS which aren't turned into config roots, so I included that here too since I needed it at the same time. If you think this isn't the best way to handle that, happy to address it.

@jdx jdx merged commit 123d4e8 into jdx:main Dec 18, 2024
21 checks passed
miguelmig pushed a commit to miguelmig/mise that referenced this pull request Dec 21, 2024
* Makes two config related chages.

- Adds MISE_GLOBAL_CONFIG_ROOT to control config_root for global config file
- Allows MISE_IGNORED_CONFIG_PATHS to specify explicit paths

* Updates docs

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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.

2 participants