git-annex/Assistant/WebApp
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
..
Configurators assistant unused file handling 2014-01-22 22:53:18 -04:00
Common.hs webapp: Improve UI around remote that have no annex.uuid set, either because setup of them is incomplete, or because the remote git repository is not a git-annex repository. 2013-11-07 18:02:00 -04:00
Configurators.hs hlint 2013-10-02 01:06:59 -04:00
Control.hs pull in Win32-extras, to be able to get current process id in Windows 2013-12-11 00:15:10 -04:00
DashBoard.hs remove some unused vars 2013-12-18 22:39:15 -04:00
Documentation.hs hlint 2013-10-02 01:06:59 -04:00
Form.hs work around OSX mavericks' broken cpp 2013-11-14 13:49:11 -04:00
Gpg.hs webapp: Improve UI around remote that have no annex.uuid set, either because setup of them is incomplete, or because the remote git repository is not a git-annex repository. 2013-11-07 18:02:00 -04:00
MakeRemote.hs external special remotes mostly implemented (untested) 2013-12-26 18:23:13 -04:00
Notifications.hs fix compat with old yesod 2013-11-25 15:14:34 -04:00
OtherRepos.hs replace horrible old daemon restart code with new method 2013-11-23 15:50:17 -04:00
Page.hs move all static site files out of subdirectories 2013-12-09 14:38:22 -04:00
Repair.hs assistant: Support repairing git remotes that are locally accessible 2013-10-27 15:38:59 -04:00
RepoId.hs webapp: Improve UI around remote that have no annex.uuid set, either because setup of them is incomplete, or because the remote git repository is not a git-annex repository. 2013-11-07 18:02:00 -04:00
RepoList.hs external special remotes mostly implemented (untested) 2013-12-26 18:23:13 -04:00
routes assistant unused file handling 2014-01-22 22:53:18 -04:00
SideBar.hs restart on upgrade is working, including automatic restart 2013-11-23 00:54:08 -04:00
Types.hs move all static site files out of subdirectories 2013-12-09 14:38:22 -04:00