Skip to content

fix: Removes use of dirs in favor of etcetera#113

Merged
thomastaylor312 merged 1 commit intobytecodealliance:mainfrom
thomastaylor312:fix/config_path
Oct 11, 2024
Merged

fix: Removes use of dirs in favor of etcetera#113
thomastaylor312 merged 1 commit intobytecodealliance:mainfrom
thomastaylor312:fix/config_path

Conversation

@thomastaylor312
Copy link
Copy Markdown
Collaborator

The dirs crate doesn't actually respect XDG vars, so this swaps out to etcetera. This also has the side effect of removing a transitive dep that had an MPL licenses (which can cause headaches for CNCF and other projects).

Also adds a global path for the file cache

Fixes #111
Fixes #98

The `dirs` crate doesn't actually respect XDG vars, so this swaps out to
etcetera. This also has the side effect of removing a transitive dep that
had an MPL licenses (which can cause headaches for CNCF and other
projects).

Also adds a global path for the file cache

Fixes bytecodealliance#111
Fixes bytecodealliance#98

Signed-off-by: Taylor Thomas <taylor@cosmonic.com>
@thomastaylor312
Copy link
Copy Markdown
Collaborator Author

Heads up that this will break anyone that has a config setup already, but since that is probably no more than 3-4 people in the world right now, I figured that is fine. Rather do it now before we start merging in the dep to everything

@thomastaylor312 thomastaylor312 merged commit 1d54a17 into bytecodealliance:main Oct 11, 2024
@thomastaylor312 thomastaylor312 deleted the fix/config_path branch October 11, 2024 20:40
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.

[BUG] Config path does not seem to respect $XDG_CONFIG_HOME variable Add a FileCache::global_path method

2 participants