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

Use XDG_CONFIG_HOME for config folder #559

Merged
merged 3 commits into from
Mar 10, 2025
Merged

Conversation

dzanaga
Copy link

@dzanaga dzanaga commented Mar 10, 2025

Retrieve the default folder for storing config files from the XDG_CONFIG_HOME env var if present. Fall back to "~/.config" if the env var is not declared.

This allows customization of the config folder. For example when running on a YARN cluster, ~ expands to /home/ and attempting to save the config raises a permission error.

dzanaga and others added 3 commits March 10, 2025 10:20
Retrieve the default folder for storing config files from the XDG_CONFIG_HOME env var if present. Fall back to "~/.config" if the env var is not declared.

This allows customization of the config folder. For example when running on a YARN cluster, ~ expands to /home/ and attempting to save the config raises a permission error.
Use XDG_CONFIG_HOME for config folder
@mlubej mlubej self-requested a review March 10, 2025 11:44
@mlubej mlubej merged commit 085d14b into sentinel-hub:develop Mar 10, 2025
7 checks passed
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