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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage temp-repository in separate location #146

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

sstok
Copy link
Member

@sstok sstok commented Apr 29, 2024

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tickets
License MIT

Using the systems temporary directory leads to random Git repository corruptions (in my case).

Instead the cache is now stored in $HOME/.hubkit_cache, and can be alternatively changed using the new HUBKIT_CACHE_DIR environment variable (expects the value ends with .hubkit_cache as clearing the cache removes 'this' directory, so any wrong configuration should not delete your entire system 馃槃 ).

@sstok sstok added the Bug label Apr 29, 2024
Using the systems temporary directory leads to random Git repository
corruptions

And as a small bonus it's now possible to configure the caching location
@sstok sstok merged commit 4df3684 into hupkit:1.x Apr 29, 2024
5 checks passed
@sstok sstok deleted the bug/cache-corruption branch April 29, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant