git-annex/Assistant/Threads
Joey Hess b6ba0bd556 sync --content: New option that makes the content of annexed files be transferred.
Similar to the assistant, this honors any configured preferred content
expressions.

I am not entirely happpy with the implementation. It would be nicer if
the seek function returned a list of actions which included the individual
file gets and copies and drops, rather than the current list of calls to
syncContent. This would allow getting rid of the somewhat reundant display
of "sync file [ok|failed]" after the get/put display.

But, do that, withFilesInGit would need to somehow be able to construct
such a mixed action list. And it would be less efficient than the current
implementation, which is able to reuse several values between eg get and
drop.

Note that currently this does not try to satisfy numcopies when
getting/putting files (numcopies are of course checked when dropping
files!) This makes it like the assistant, and unlike get --auto
and copy --auto, which do duplicate files when numcopies is not yet
satisfied. I don't know if this is the right decision; it only seemed to
make sense to have this parallel the assistant as far as possible to start
with, since I know the assistant works.

This commit was sponsored by Øyvind Andersen Holm.
2014-01-19 17:49:54 -04:00
..
Committer.hs flip for clarity 2013-12-16 16:24:57 -04:00
ConfigMonitor.hs update for LsTree type change 2013-10-17 14:51:39 -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: Detect if .git/annex/index is corrupt at startup, and recover. 2014-01-14 17:10:30 -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 sync --content: New option that makes the content of annexed files be transferred. 2014-01-19 17:49:54 -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 close tmp file handle 2013-12-07 11:45:01 -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