darcs

Issue 2374 garbage collection of global cache

Title garbage collection of global cache
Priority feature Status resolved
Milestone 2.10.0 Resolved in
Superseder Nosy List darcs-devel, gh, mdiaz, simon
Assigned To mdiaz
Topics Performance

Created on 2014-04-10.15:05:29 by gh, last changed 2014-10-21.14:16:04 by gh.

Messages
msg17326 (view) Author: gh Date: 2014-04-10.15:05:26
The global cache only grows and there is no way for the darcs client to
clean it. We need to introduce a command that deletes unused files from
the global cache.

Implement a command “darcs optimize –global-cache” that scans the home
directory (or some folder given as argument) to find repositories,
garbage collect them (optionally?), and only keep hashed files that
correspond to these repositories.

See <http://darcs.net/Internals/CacheSystem>
msg17335 (view) Author: gh Date: 2014-04-11.17:52:59
And while we're scanning and garbage collecting everything at once, it
also makes sense to relink everything.
msg17709 (view) Author: gh Date: 2014-10-21.14:16:03
resolved by patch1180
History
Date User Action Args
2014-04-10 15:05:29ghcreate
2014-04-10 15:06:35ghsetnosy: + darcs-devel
2014-04-11 17:53:00ghsetmessages: + msg17335
2014-04-19 16:50:01ghsetnosy: + simon
2014-10-21 14:16:04ghsetstatus: unknown -> resolved
messages: + msg17709