git-annex/Assistant/Threads
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
..
Committer.hs flip for clarity 2013-12-16 16:24:57 -04:00
ConfigMonitor.hs reorganize numcopies code (no behavior changes) 2014-01-21 16:08:59 -04:00
Cronner.hs webapp: remind user when using repositories that lack consistency checks 2013-10-29 16:50:38 -04:00
DaemonStatus.hs webapp: Fix a race that sometimes caused alerts or other notifications to be missed if they occurred while a page was loading. 2013-03-27 14:56:20 -04:00
Glacier.hs hlint 2013-10-02 22:59:07 -04:00
Merger.hs hlint 2013-10-02 22:59:07 -04:00
MountWatcher.hs webapp: remind user when using repositories that lack consistency checks 2013-10-29 16:50:38 -04:00
NetWatcher.hs upgrade alerts 2013-11-21 17:49:56 -04:00
PairListener.hs Improve local pairing behavior when two computers both try to start the pairing process separately. 2013-11-02 15:10:29 -04:00
ProblemFixer.hs webapp: remind user when using repositories that lack consistency checks 2013-10-29 16:50:38 -04:00
Pusher.hs automatically launch git repository repair 2013-10-27 16:42:13 -04:00
SanityChecker.hs assistant unused file handling 2014-01-22 22:53:18 -04:00
TransferPoller.hs remove debug 2013-04-11 16:36:45 -04:00
Transferrer.hs avoid repeatedly searching path to make batch command when running transferkeys 2013-12-01 15:37:51 -04:00
TransferScanner.hs much better command action handling for sync --content 2014-01-20 13:31:03 -04:00
TransferWatcher.hs linux upgrade code debugged and working 2013-11-24 00:26:20 -04:00
Upgrader.hs show version in upgrade alert 2013-11-24 13:28:34 -04:00
UpgradeWatcher.hs tested multi-daemon upgrade 2013-11-24 15:20:18 -04:00
Watcher.hs assistant: Always batch changes found in startup scan. 2013-12-16 16:16:19 -04:00
WebApp.hs assistant unused file handling 2014-01-22 22:53:18 -04:00
XMPPClient.hs add config page for fsck, and alert with button when a fsck is running 2013-10-10 18:05:53 -04:00
XMPPPusher.hs add two long-running XMPP push threads, no more inversion of control 2013-05-22 15:13:31 -04:00