git-annex/Types
Joey Hess 3da0064657 assistant unused file handling
Make sanity checker run git annex unused daily, and queue up transfers
of unused files to any remotes that will have them. The transfer retrying
code works for us here, so eg when a backup disk remote is plugged in,
any transfers to it are done. Once the unused files reach a remote,
they'll be removed locally as unwanted.

If the setup does not cause unused files to go to a remote, they'll pile
up, and the sanity checker detects this using some heuristics that are
pretty good -- 1000 unused files, or 10% of disk used by unused files,
or more disk wasted by unused files than is left free. Once it detects
this, it pops up an alert in the webapp, with a button to take action.

TODO: Webapp UI to configure this, and also the ability to launch an
immediate cleanup of all unused files.

This commit was sponsored by Simon Michael.
2014-01-22 22:53:18 -04:00
..
Availability.hs add GETAVAILABILITY to external special remote protocol 2014-01-13 14:41:10 -04:00
Backend.hs handle sha*sum's leading \ in checksum with certian unsual filenames 2012-12-20 17:07:10 -04:00
BranchState.hs remove unused fields 2012-12-19 23:41:54 -04:00
Command.hs fix inversion of control in CommandSeek (no behavior changes) 2014-01-20 04:57:36 -04:00
Crypto.hs partially complete gcrypt remote (local send done; rest not) 2013-09-07 18:38:00 -04:00
Distribution.hs annex.autoupgrade setting 2013-11-22 16:04:20 -04:00
FileMatcher.hs improve matcher data type to allow matching Keys, instead of just files (no behavior changes) 2014-01-18 14:51:55 -04:00
GitConfig.hs assistant unused file handling 2014-01-22 22:53:18 -04:00
Group.hs add --ingroup limit 2012-10-08 15:18:58 -04:00
Key.hs file2key should return Nothing if the backend is empty 2013-11-11 15:41:31 -04:00
KeySource.hs add: Improved detection of files that are modified while being added. 2013-02-14 16:54:36 -04:00
Limit.hs improve matcher data type to allow matching Keys, instead of just files (no behavior changes) 2014-01-18 14:51:55 -04:00
Messages.hs Display a warning when a non-existing file or directory is specified. 2012-11-25 17:54:08 -04:00
NumCopies.hs reorganize numcopies code (no behavior changes) 2014-01-21 16:08:59 -04:00
Option.hs per-command options 2012-01-05 23:11:07 -04:00
Remote.hs add GETAVAILABILITY to external special remote protocol 2014-01-13 14:41:10 -04:00
ScheduledActivity.hs cronner: run jobs triggered by remotes becoming connected (untested) 2013-10-13 17:14:56 -04:00
StandardGroups.hs assistant unused file handling 2014-01-22 22:53:18 -04:00
TrustLevel.hs note 2013-09-20 00:04:37 -04:00
UUID.hs add ConfigMonitor thread 2012-10-20 16:43:35 -04:00