-
Notifications
You must be signed in to change notification settings - Fork 27
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
Clean up scratch
space and provide cleanup helper
#177
Comments
How would one know what to clean? can this be expanded to have that information? |
AFAICT the following directories under zkg's statedir do not contain information required at runtime:
Even compiled plugins should be contained in We might want to have separate cleanups for each directory, e.g.,
|
Is rebuild a consideration? Did that ever make it in? |
Would a good scope limitation be splitting automatic cleanup and explict commands into two different issues? Also, would the commands be as @bbannier listed, for ALL things or for specific plugins? Would it be plugin@version? or the same specifier acceptance and the install command? |
That's #38. I believe we would refetch in that case anyway and the stuff mentioned above would be pure leftovers.
IMO these should be global, not package-specific (mirroring what e.g., |
zkg
generally does not clean up after itself when it puts stuff in itsscratch
directory. For users going through a lot of packages this can add up (sincezkg
may place a clone for each package in the scratch space). It would also be nice to add a cleanup function to tidy on demand, a bit likednf clean
/apt clean
.The text was updated successfully, but these errors were encountered: