diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-08-03 12:37:12 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-08-03 12:37:12 -0400 |
commit | 508517de485e77196a8d8e33558f4185c50dea96 (patch) | |
tree | 319fc6e63da144e40dd124a07f4bb6c0ad25c5ee /doc | |
parent | 019733f00d01301d71acc46245d2dc130934d951 (diff) |
get, move, copy, mirror: Added --failed switch which retries failed copies/moves
Note that get --from foo --failed will get things that a previous get --from bar
tried and failed to get, etc. I considered making --failed only retry
transfers from the same remote, but it was easier, and seems more useful,
to not have the same remote requirement.
Noisy due to some refactoring into Types/
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git-annex-copy.mdwn | 4 | ||||
-rw-r--r-- | doc/git-annex-get.mdwn | 14 | ||||
-rw-r--r-- | doc/git-annex-mirror.mdwn | 8 | ||||
-rw-r--r-- | doc/git-annex-move.mdwn | 4 | ||||
-rw-r--r-- | doc/todo/__34__copy_--failed__34__.mdwn | 2 | ||||
-rw-r--r-- | doc/todo/__34__copy_--failed__34__/comment_1_ff81023df39f9faac5935f6417ad2b38._comment | 8 | ||||
-rw-r--r-- | doc/todo/make_copy_--fast__faster/comment_4_3ac10a07c74e5debafc9ae574d26c955._comment | 11 |
7 files changed, 46 insertions, 5 deletions
diff --git a/doc/git-annex-copy.mdwn b/doc/git-annex-copy.mdwn index 185333446..e99f9848d 100644 --- a/doc/git-annex-copy.mdwn +++ b/doc/git-annex-copy.mdwn @@ -59,6 +59,10 @@ Copies the content of files from or to another remote. Operate on files found by last run of git-annex unused. +* `--failed` + + Operate on files that have recently failed to be transferred. + * `--key=keyname` Use this option to move a specified key. diff --git a/doc/git-annex-get.mdwn b/doc/git-annex-get.mdwn index 34b698084..9d06786c6 100644 --- a/doc/git-annex-get.mdwn +++ b/doc/git-annex-get.mdwn @@ -32,6 +32,11 @@ or transferring them from some kind of key-value store. Enables parallel download with up to the specified number of jobs running at once. For example: `-J10` +* file matching options + + The [[git-annex-matching-options]](1) + can be used to specify files to get. + * `--incomplete` Resume any incomplete downloads of files that were started and @@ -45,11 +50,6 @@ or transferring them from some kind of key-value store. as git-annex does not know the associated file, and the associated file may not even be in the current git working directory. -* file matching options - - The [[git-annex-matching-options]](1) - can be used to specify files to get. - * `--all` Rather than specifying a filename or path to get, this option can be @@ -65,6 +65,10 @@ or transferring them from some kind of key-value store. Operate on files found by last run of git-annex unused. +* `--failed` + + Operate on files that have recently failed to be transferred. + * `--key=keyname` Use this option to get a specified key. diff --git a/doc/git-annex-mirror.mdwn b/doc/git-annex-mirror.mdwn index 9cc503f26..77df17045 100644 --- a/doc/git-annex-mirror.mdwn +++ b/doc/git-annex-mirror.mdwn @@ -53,6 +53,14 @@ contents. Use [[git-annex-sync]](1) for that. Like --all, this bypasses checking the .gitattributes annex.numcopies setting when dropping files. +* `--unused` + + Operate on files found by last run of git-annex unused. + +* `--failed` + + Operate on files that have recently failed to be transferred. + * file matching options The [[git-annex-matching-options]](1) diff --git a/doc/git-annex-move.mdwn b/doc/git-annex-move.mdwn index 2d1b2a896..bac5719f1 100644 --- a/doc/git-annex-move.mdwn +++ b/doc/git-annex-move.mdwn @@ -42,6 +42,10 @@ Moves the content of files from or to another remote. Operate on files found by last run of git-annex unused. +* `--failed` + + Operate on files that have recently failed to be transferred. + * `--key=keyname` Use this option to move a specified key. diff --git a/doc/todo/__34__copy_--failed__34__.mdwn b/doc/todo/__34__copy_--failed__34__.mdwn index 511265b30..fa3b071d7 100644 --- a/doc/todo/__34__copy_--failed__34__.mdwn +++ b/doc/todo/__34__copy_--failed__34__.mdwn @@ -3,3 +3,5 @@ I often "copy --to remote" many files at once, and inevitably the transfer fails Related: <https://git-annex.branchable.com/todo/make_copy_--fast__faster/> git-annex is awesome btw. Thanks! + +> [[done]] --[[Joey]] diff --git a/doc/todo/__34__copy_--failed__34__/comment_1_ff81023df39f9faac5935f6417ad2b38._comment b/doc/todo/__34__copy_--failed__34__/comment_1_ff81023df39f9faac5935f6417ad2b38._comment new file mode 100644 index 000000000..d0f49a54a --- /dev/null +++ b/doc/todo/__34__copy_--failed__34__/comment_1_ff81023df39f9faac5935f6417ad2b38._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2016-08-03T15:07:43Z" + content=""" +Nice idea, and there's already a log of recent failed transfers that +could be used. +"""]] diff --git a/doc/todo/make_copy_--fast__faster/comment_4_3ac10a07c74e5debafc9ae574d26c955._comment b/doc/todo/make_copy_--fast__faster/comment_4_3ac10a07c74e5debafc9ae574d26c955._comment new file mode 100644 index 000000000..bb9258b45 --- /dev/null +++ b/doc/todo/make_copy_--fast__faster/comment_4_3ac10a07c74e5debafc9ae574d26c955._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2016-08-03T16:02:46Z" + content=""" +--failed can now be used to retry only failed transfers. So that will be a +lot faster in that specific case. + +Leaving this bug open for the general wishlist that copy --fast be somehow +a lot faster than it is at finding things that need to be copied. +"""]] |