git-annex/Assistant
Joey Hess 3a0cffcfed when a Download finishes, queue Uploads
This ensures file propigate takes place in situations such as: Usb drive A
is connected to B. A's master branch is already in sync with B, but it is
being used to sneakernet some files around, so B downloads those. There is no
master branch change, so C does not request these files. B needs to upload
the files it just downloaded on to C, etc.

My first try at this, I saw loops happen. B uploaded to C, which then
tried to upload back to B (because it had not received the updated
git-annex branch from B yet). B already had the file, but it still created
a transfer info file from the incoming transfer, and its watcher saw
that be removed, and tried to upload back to C.

These loops should have been fixed by my previous commit. (They never
affected ssh remotes, only local ones, it seemed.) While C might still try
to upload to B, or to some other remote that already has the file, the
extra work dies out there.
2012-09-18 14:10:33 -04:00
..
Pairing flip catchDefaultIO 2012-09-17 00:18:07 -04:00
Threads when a Download finishes, queue Uploads 2012-09-18 14:10:33 -04:00
WebApp UI for enabling special remotes 2012-09-13 16:50:02 -04:00
Alert.hs hlint 2012-09-13 00:57:52 -04:00
Changes.hs license 2012-06-23 01:20:40 -04:00
Commits.hs license 2012-06-23 01:20:40 -04:00
Common.hs display errors when any named thread crashes 2012-09-06 14:56:04 -04:00
DaemonStatus.hs flip catchDefaultIO 2012-09-17 00:18:07 -04:00
MakeRemote.hs hlint 2012-09-13 00:57:52 -04:00
Pairing.hs hlint 2012-09-13 00:57:52 -04:00
Pushes.hs use a TMVar 2012-06-26 19:21:44 -04:00
ScanRemotes.hs scan multiple remotes in one pass 2012-08-26 14:09:02 -04:00
Ssh.hs UI for enabling special remotes 2012-09-13 16:50:02 -04:00
Sync.hs better name for fallback sync refs 2012-09-16 23:09:08 -04:00
ThreadedMonad.hs fork off git-annex copy for transfers 2012-08-10 14:14:08 -04:00
TransferQueue.hs deferred downloads 2012-09-17 21:05:50 -04:00
TransferSlots.hs hlint 2012-09-13 00:57:52 -04:00
WebApp.hs update pair request alert when button is pressed 2012-09-09 01:02:44 -04:00