git-annex/Assistant
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
..
Alert revert use of Data.Map.Strict 2014-01-07 14:55:06 -04:00
Install squash warning in OSX build 2013-12-15 17:10:24 -04:00
Pairing external special remotes mostly implemented (untested) 2013-12-26 18:23:13 -04:00
Threads assistant unused file handling 2014-01-22 22:53:18 -04:00
Types assistant unused file handling 2014-01-22 22:53:18 -04:00
WebApp assistant unused file handling 2014-01-22 22:53:18 -04:00
XMPP avoid needing a build-dep on hxt for Data.AssocList 2014-01-14 16:42:10 -04:00
Alert.hs assistant unused file handling 2014-01-22 22:53:18 -04:00
BranchChange.hs split BranchChange and lifted 2012-10-29 19:20:54 -04:00
Changes.hs use DList for the transfer queue 2013-04-25 01:33:44 -04:00
Commits.hs remove last use of TSet 2013-04-24 17:16:04 -04:00
Common.hs refactor alert button creation code 2013-04-04 01:48:26 -04:00
DaemonStatus.hs sync --content: New option that makes the content of annexed files be transferred. 2014-01-19 17:49:54 -04:00
DeleteRemote.hs add config page for fsck, and alert with button when a fsck is running 2013-10-10 18:05:53 -04:00
Drop.hs much better command action handling for sync --content 2014-01-20 13:31:03 -04:00
Fsck.hs webapp: remind user when using repositories that lack consistency checks 2013-10-29 16:50:38 -04:00
Gpg.hs webapp: Support storing encrypted git repositories on rsync.net. 2013-09-26 16:43:00 -04:00
Install.hs avoid empty env vars when setting up clean environment 2013-12-31 14:55:55 -04:00
MakeRemote.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
Monad.hs assistant: Start a new git-annex transferkeys process after a network connection change 2014-01-06 16:03:39 -04:00
NamedThread.hs restart on upgrade is working, including automatic restart 2013-11-23 00:54:08 -04:00
NetMessager.hs clarify notifyNetMessagerRestart 2013-08-24 13:49:04 -04:00
Pairing.hs Improve local pairing behavior when two computers both try to start the pairing process separately. 2013-11-02 15:10:29 -04:00
Pushes.hs whitespace fixes 2012-12-13 00:45:27 -04:00
Repair.hs Assistant: Remove stale MERGE_HEAD files in lockfile cleanup. 2014-01-01 22:05:33 -04:00
RepoProblem.hs add post-repair actions 2013-10-29 14:25:20 -04:00
Restart.hs pull in Win32-extras, to be able to get current process id in Windows 2013-12-11 00:15:10 -04:00
ScanRemotes.hs revert use of Data.Map.Strict 2014-01-07 14:55:06 -04:00
Ssh.hs assistant: Ensure that .ssh/config and .ssh/authorized_keys are not group or world writable when writing to those files, as that can make ssh refuse to use them, if it allows another user to write to them. 2014-01-03 17:44:12 -04:00
Sync.hs Remotes can now be made read-only, by setting remote.<name>.annex-readonly 2014-01-02 13:12:32 -04:00
TransferQueue.hs assistant unused file handling 2014-01-22 22:53:18 -04:00
TransferrerPool.hs tested transferkeys restarting; fix some bugs 2014-01-06 17:07:08 -04:00
TransferSlots.hs typo 2013-12-10 23:55:15 -04:00
Upgrade.hs remove debug print 2014-01-17 15:09:03 -04:00
WebApp.hs clean up build warnings with yesod 1.2, while still building with 1.1 2013-06-27 01:15:28 -04:00
XMPP.hs allow to build when sandi is installed (don't use it yet) 2013-11-11 15:42:06 -04:00