git-annex/Assistant
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
..
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 sync --content: New option that makes the content of annexed files be transferred. 2014-01-19 17:49:54 -04:00
Types tested transferkeys restarting; fix some bugs 2014-01-06 17:07:08 -04:00
WebApp Windows: Avoid eating stdin when running ssh to add a authorized key, since this is used for password prompting. 2014-01-01 15:49:51 -04:00
XMPP avoid needing a build-dep on hxt for Data.AssocList 2014-01-14 16:42:10 -04:00
Alert.hs assistant: Fixed several minor memory leaks that manifested when adding a large number of files. 2014-01-05 21:30:48 -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 sync --content: New option that makes the content of annexed files be transferred. 2014-01-19 17:49:54 -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 revert use of Data.Map.Strict 2014-01-07 14:55:06 -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