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

Storage limiting per-path #1970

Open
senpro-ingwersenk opened this issue Jun 18, 2024 · 1 comment
Open

Storage limiting per-path #1970

senpro-ingwersenk opened this issue Jun 18, 2024 · 1 comment

Comments

@senpro-ingwersenk
Copy link

Hello there,

Is your feature request related to a problem? Please describe.
I am working to establish a Go development environment at my company and I would like to use Athens to allow our workers here to access go modules published to private Github repositories (github.com/senpro-it/...). However, our storage is a little tight; so it would be very useful if we could TTL older modules out of the local storage.

Describe the solution you'd like
A configuration/environment flag that globally sets either a TTL or overall size limit per module path; or, that only modules from a specific path are stored and the rest is fetched from upstream.

Describe alternatives you've considered
Using the HCL formatted file, specify which modules should go to disk and which should not.

Additional context
I am still somewhat new to Go, but it is important to me that our code stays private for a while up untill it is either ready for release or dies off in a corner. ;)
Athens will be hosted in a k3s cluster, custom deployment.

Thank you and kind regards!

@matt0x6F
Copy link
Contributor

Hello! Can you read #1899 and see if this is a duplicate? They sound very similar.

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

No branches or pull requests

2 participants