-
Notifications
You must be signed in to change notification settings - Fork 75
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
Configurable cache directory #216
Comments
Thanks for creating this issue. Could you elaborate on your use case for this? I'm just trying to understand the details. |
Speeding up CI builds |
Putting a plus 1 on this issue. I am trying to run this out of a Lambda function and the dependent library https://github.com/sonatype-nexus-community/go-sona-types/ causes a critical error because its using usr.HomeDir to determine home directory. Unfortunately this relies on /etc/passwd and ignores the $HOME variable. This means this software is essentially impossible to run in a Serverless environment. |
@calvinbui @ihavespoons I'll see if I can jet this through today! |
Thanks for creating an issue! Please fill out this form so we can be
sure to have all the information we need, and to minimize back and forth.
What are you trying to do?
Set a unique cache directory
What feature or behavior is this required for?
Caching results between runs
How could we solve this issue? (Not knowing is okay!)
I believe this will need some changes: https://github.com/sonatype-nexus-community/go-sona-types/blob/a618cf1b0a4b00832ff05cd83f16114d5bc43c48/ossindex/internal/cache/cache.go#L67
Anything else?
cc @bhamail / @DarthHater
The text was updated successfully, but these errors were encountered: