Commit graph

30191 commits

Author SHA1 Message Date
pgunn01@39c747700d10e9e9e4557a407cba2f88c22b202d
9a48f07469 Added a comment: reply to joey 2017-06-01 16:47:25 +00:00
Joey Hess
650b3fd4c7
comment 2017-06-01 11:48:45 -04:00
Joey Hess
bb060f000f
error when metadata set is used with file that does not exist
When setting metadata of a file that did not exist, no error message was
displayed, unlike getting metadata and most other git-annex commands. Fixed
this oversight.

Note that, if the file exists but is not annexed, there's no error.
This is the same behavior as other git-annex commands.

This commit was supported by the NSF-funded DataLad project.
2017-06-01 11:40:47 -04:00
Joey Hess
970fd765d7
Merge branch 'master' of ssh://git-annex.branchable.com 2017-06-01 11:34:20 -04:00
florian-git-annex@90936f45daa5a57ed4b867f7ebc35e23acad1a08
e1a60f590c Added a comment: apt-get build-dep git-annex problem on Raspbian 2017-06-01 07:09:58 +00:00
Joey Hess
98b2917b59
document move/copy --fast and --force
There was documentation in 66285ca3d1,
but it was lost in the man page split.

I don't know if this --force is very useful. Considered removing it
instead..
2017-05-31 20:01:21 -04:00
Joey Hess
efb9ebbe7d
Merge branch 'master' of ssh://git-annex.branchable.com 2017-05-31 17:08:22 -04:00
Joey Hess
8ee8a7b0b3
devblog 2017-05-31 17:05:04 -04:00
Joey Hess
bb18026b2c
move --to=here
* move --to=here moves from all reachable remotes to the local repository.

The output of move --from remote is changed slightly, when the remote and
local both have the content. It used to say:
move foo ok
Now:
move foo (from theremote...) ok

That was done so that, when move --to=here is used and the content is
locally present and also in several remotes, it's clear which remotes the
content gets dropped from.

Note that move --to=here will report an error if a non-reachable remote
contains the file, even if the local repository also contains the file. I
think that's reasonable; the user may be intending to move all other copies
of the file from remotes.

OTOH, if a copy of the file is believed to be present in some repository
that is not a configured remote, move --to=here does not report an error.
So a little bit inconsistent, but erroring in this case feels wrong.

copy --to=here came along for free, but it's basically the same behavior as
git-annex get, and probably with not as good messages in edge cases
(especially on failure), so I've not documented it.

This commit was sponsored by Anthony DeRobertis on Patreon.
2017-05-31 17:00:18 -04:00
Joey Hess
5ee6912cf3
support parsing options like --to=here
Reworked remote name parsing to allow things like that. Command.Move
uses it for --to=here, although there's not yet an implementation of
that option.

This commit was sponsored by Ignacio on Patreon.
2017-05-31 16:49:28 -04:00
zkaufman
421239d344 2017-05-31 20:18:36 +00:00
Øyvind A. Holm
8c40d37712 The second argument of "git annex group" is optional, fix the man page 2017-05-31 12:09:15 +02:00
pgunn01@39c747700d10e9e9e4557a407cba2f88c22b202d
1dd2e72211 2017-05-30 22:21:47 +00:00
Horus
df880fe815 Added a comment 2017-05-29 18:10:55 +00:00
mario
69054c6bd4 Added a comment: Working again 2017-05-29 15:19:18 +00:00
http://schnouki.net/
2124d5316f Added a comment 2017-05-29 09:56:59 +00:00
ewen
e6d9c459e3 Added a comment: Standalone git-annex on Synology DS216+ NAS 2017-05-28 01:24:43 +00:00
ewen
dbc48abb32 Added a comment: git-annex on Synology DS216+ (x86-64) 2017-05-28 01:19:17 +00:00
jeff
f55a04af4f 2017-05-26 20:29:12 +00:00
yarikoptic
61131d87b0 Added a comment: woohoo 2017-05-26 02:03:57 +00:00
Joey Hess
e1cf095ae8
Avoid concurrent git-config setting problem when running concurrent threads.
See my comment. This only avoids the problem for -J; two git-annex
processes started at the same time could still both try to write to
.git/config and one fail. That would be very unlikely though, and it
doesn't really seem worth adding an additional layer of locking around
.git/config.

This commit was supported by the NSF-funded DataLad project.
2017-05-25 18:28:23 -04:00
Joey Hess
7db37ddde0
Fix transfer log file locking problem when running concurrent transfers.
orElse is great, but was not the right thing to use here because
waitTakeLock could retry for other reasons than the lock being held,
which made tryTakeLock fail when it shouldn't.

Instead, move the code to tryTakeLock and implement waitTakeLock using
tryTakeLock and retry.

(Also, in runTransfer, when checkSaneLock fails, dropLock to avoid leaking a
lock handle.)

This commit was supported by the NSF-funded DataLad project.
2017-05-25 17:40:23 -04:00
yarikoptic
df9ba3b5b4 Added a comment 2017-05-25 18:39:03 +00:00
Joey Hess
36f4510a96
Merge branch 'master' of ssh://git-annex.branchable.com 2017-05-25 14:34:13 -04:00
Joey Hess
9bddc6d5ca
Improve progress display when watching file size, in cases where a transfer does not resume.
This commit was supported by the NSF-funded DataLad project.
2017-05-25 14:30:18 -04:00
mario
e36e58cd68 Added a comment 2017-05-25 18:26:00 +00:00
Joey Hess
78b9e9c67f
response 2017-05-25 13:53:22 -04:00
Joey Hess
b6f99891de
comment 2017-05-25 13:50:34 -04:00
Joey Hess
f623623343
comment 2017-05-25 13:46:48 -04:00
Joey Hess
4c2e701f0b
improve docs, mention git config receive.denyCurrentBranch updateInstead 2017-05-25 13:43:20 -04:00
Joey Hess
c204654fe5
response 2017-05-25 13:39:20 -04:00
yarikoptic
b9b25c13e0 original complaint 2017-05-25 14:35:44 +00:00
mario
c87f4f8c1b Added a comment 2017-05-25 12:47:18 +00:00
mario
bd2035b96e Added a comment 2017-05-25 12:01:46 +00:00
Joey Hess
3cc30dd128
thoughts 2017-05-24 15:14:49 -04:00
Joey Hess
77ba430b38
tighten forced subkey matching
Someone might have a name or email address ending in a bang..
2017-05-24 14:54:54 -04:00
Joey Hess
a7d18b04c3
more consistent backticks with other man pages 2017-05-24 14:09:14 -04:00
Joey Hess
35465b6062
initremote, enableremote: Support gpg subkeys suffixed with an exclamation mark, which forces gpg to use a specific subkey.
This commit was sponsored by Peter Hogg on Patreon.
2017-05-24 14:08:02 -04:00
Joey Hess
dd65ea52c3
comment 2017-05-24 13:45:14 -04:00
Joey Hess
ec8515d37c
response 2017-05-24 13:38:17 -04:00
Joey Hess
d6c0b25147
mention autoenable=true 2017-05-24 13:37:06 -04:00
Joey Hess
92dca9f067
comment 2017-05-24 13:23:27 -04:00
Joey Hess
04baf38e9f
comment 2017-05-24 13:10:50 -04:00
Joey Hess
620e706e2a
response 2017-05-24 13:08:16 -04:00
mario
f96cf53e29 2017-05-22 17:30:30 +00:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
b6f9ba2886 Added a comment 2017-05-22 14:40:21 +00:00
namsgorf@6b5ce57fbe9dc2a2c65d6817151f107dc22f438c
1f615d3b00 Added a comment 2017-05-21 13:40:08 +00:00
Joey Hess
ac097114a6
add news item for git-annex 6.20170519 2017-05-19 10:58:11 -04:00
Joey Hess
c6079c3ce8
releasing package git-annex version 6.20170519 2017-05-19 10:58:03 -04:00
Joey Hess
174ce991f9
typo 2017-05-19 10:57:59 -04:00