Commit graph

22464 commits

Author SHA1 Message Date
Joey Hess
ed639c140d
Fix bug that prevented transfer locks from working when run on SMB or other filesystem that does not support fcntl locks and hard links.
This commit was sponsored by Ethan Aubin.
2017-06-06 14:22:03 -04:00
Joey Hess
fa50906a80
comment 2017-06-06 13:49:13 -04:00
Joey Hess
e0d90448b1
response 2017-06-06 13:43:09 -04:00
Joey Hess
1b89913db8
close 2017-06-06 13:37:18 -04:00
Joey Hess
f04353e066
response 2017-06-06 13:00:54 -04:00
Joey Hess
e23839acf3
Avoid error about git-annex-shell not being found when syncing with -J with a git remote where git-annex-shell is not installed.
This commit was sponsored by andrea rota.
2017-06-06 12:57:27 -04:00
Joey Hess
954a24b5d1
comment 2017-06-06 12:20:51 -04:00
Joey Hess
4f0715344e
response 2017-06-06 11:34:59 -04:00
Joey Hess
5a23ad28eb
update 2017-06-06 10:39:07 -04:00
openmedi
462459f41f 2017-06-05 17:09:38 +00:00
yibe
c8e8d36e85 Added a comment 2017-06-04 20:07:31 +00:00
yibe
3174acde3c Added a comment 2017-06-04 19:26:47 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
4d015cf1d2 2017-06-03 19:24:58 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
c9bef943c6 2017-06-03 18:43:04 +00:00
Tom
cbe91c4ae1 2017-06-03 13:47:26 +00:00
Joey Hess
ca0736cc91
comment 2017-06-01 13:20:13 -04:00
Joey Hess
6ae27843b6
Merge branch 'master' of ssh://git-annex.branchable.com 2017-06-01 12:59:05 -04:00
Joey Hess
94351daba6
configuration to disable automatic merge conflict resolution
* Added annex.resolvemerge configuration, which can be set to false to
  disable the usual automatic merge conflict resolution done by git-annex
  sync and the assistant.
* sync: Added --no-resolvemerge option.

Note that disabling merge conflict resolution is probably not a good idea
in a direct mode repo or adjusted branch. Since updates to both are done
outside the usual work tree, if it fails the tree is not left in a
conflicted state, and it would be hard to manually resolve the conflict.
Still, made annex.resolvemerge be supported in those cases for consistency.

This commit was sponsored by Riku Voipio.
2017-06-01 12:51:01 -04:00
pgunn01@39c747700d10e9e9e4557a407cba2f88c22b202d
9a48f07469 Added a comment: reply to joey 2017-06-01 16:47:25 +00:00
Joey Hess
d5cb853dd0
expand docs 2017-06-01 11:56:56 -04: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
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
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
dav02.git@4d920fe040aa5df86fcd9f4dd57d3fcf85ee5641
ebc1e9a603 Added a comment: (compress/tar)ing the files 2017-05-19 12:14:14 +00:00
mario
80d5a02ed0 Added a comment 2017-05-19 12:00:03 +00:00
leavingchicago@c04c893e78d1c4c76cb3e32b5c227cf42bbf7682
7a98f840e1 Added a comment 2017-05-19 01:02:57 +00:00
mario
dd9fef3087 2017-05-18 16:36:54 +00:00
dav02.git@4d920fe040aa5df86fcd9f4dd57d3fcf85ee5641
9fdf33d0c8 item in history -> single item 2017-05-18 13:57:09 +00:00
mario
0bbe08960b 2017-05-18 13:21:27 +00:00
dav02.git@4d920fe040aa5df86fcd9f4dd57d3fcf85ee5641
4c634e3c0b update links 2017-05-18 11:44:54 +00:00
dav02.git@4d920fe040aa5df86fcd9f4dd57d3fcf85ee5641
8910c02983 2017-05-18 11:41:53 +00:00
mario
91a6920344 Added a comment: p.s. 2017-05-17 14:34:40 +00:00
mario
1f8299f5cc Added a comment: Hanging problem still there 2017-05-17 14:05:41 +00:00
Joey Hess
1f7da71a91
Merge branch 'master' of ssh://git-annex.branchable.com 2017-05-16 18:07:15 -04:00
Joey Hess
1d6ce176ad
update 2017-05-16 17:41:59 -04:00
Yurt
e68abacadb Added a comment: Encrypt to different subkeys? 2017-05-16 20:25:03 +00:00
Joey Hess
d90700bf37
devblog 2017-05-16 15:51:34 -04:00
Joey Hess
1d45e47e3f
clear regions before ssh prompt
When built with concurrent-output 1.9, ssh password prompts will no longer
interfere with the -J display.

To avoid flicker, only done when ssh actually does need to prompt;
ssh is first run in batch mode and if that succeeds the connection is up
and no need to clear regions.

This commit was supported by the NSF-funded DataLad project.
2017-05-16 15:50:11 -04:00
Joey Hess
89f9be3230
workaround is in place
(and remove debug print)
2017-05-16 14:36:54 -04:00
Joey Hess
e858c959f7
glacier-cli python3 bug nearly for sure 2017-05-16 14:22:26 -04:00
Joey Hess
e0a8e3f414
forwardeed to git ML 2017-05-16 13:11:15 -04:00
Joey Hess
f32eef69e4
close dup 2017-05-16 12:20:40 -04:00
Joey Hess
0a92652d6b
Merge branch 'master' of ssh://git-annex.branchable.com 2017-05-16 12:20:01 -04:00
Joey Hess
67dd96c944
bisection 2017-05-16 12:19:02 -04:00
mail@4e627fd997ef5ca9f75e62ffc0aba5b27bd6aea1
23f79ee5d3 failing unit tests bug 2017-05-16 14:58:36 +00:00
Joey Hess
08eb87fc47
Merge branch 'master' of ssh://git-annex.branchable.com 2017-05-16 01:07:16 -04:00
Joey Hess
68299c4e0f
devblog 2017-05-16 01:05:53 -04:00
Joey Hess
6dd806f1ad
stop using MissingH for MD5
Cryptonite is faster and allocates less, and I want to get rid of
MissingH use.

Note that the new dependency on memory is free; it's a dependency of
cryptonite.

This commit was supported by the NSF-funded DataLad project.
2017-05-15 21:36:03 -04:00
http://id.clacke.se/
710071e49a 2017-05-16 00:13:36 +00:00
michal.anks@bff6982ee88f5bd889dd798be824cff38f2d8933
645e04368c glacier-cli and git-annex doesn't seem to work together right 2017-05-15 20:04:11 +00:00
http://id.clacke.se/
acd825f5fd 2017-05-15 09:31:15 +00:00
leavingchicago@c04c893e78d1c4c76cb3e32b5c227cf42bbf7682
44a3f7207e Added a comment: Related... 2017-05-15 04:43:44 +00:00
leavingchicago@c04c893e78d1c4c76cb3e32b5c227cf42bbf7682
7ee0e9d816 2017-05-15 04:40:17 +00:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
9a772ee987 Add missing backtick around code 2017-05-14 23:51:40 +00:00
https://launchpad.net/~stephane-gourichon-lpad
ccabf1ed53 Describe issue, actions done, question. 2017-05-14 11:16:44 +00:00
ewen
b8c6eb557c Added a comment: dtruss OS X 10.11 git annex on SMB mount 2017-05-14 05:04:29 +00:00
t.z.mates
d7987ffc13 Added a comment 2017-05-13 20:59:34 +00:00
Joey Hess
1a0390e418
pointers 2017-05-12 16:29:53 -04:00
Joey Hess
e405b9bbe4
break out bug report 2017-05-12 10:57:58 -04:00
Joey Hess
9f11769455
misplaced comment 2017-05-12 10:38:22 -04:00
olaf
d1006a59b5 Added a comment 2017-05-11 23:45:36 +00:00
leavingchicago@c04c893e78d1c4c76cb3e32b5c227cf42bbf7682
65d6adbbe7 Added a comment 2017-05-11 23:23:45 +00:00
Joey Hess
3f4b671486
fix sshCleanup race using STM 2017-05-11 18:29:51 -04:00
Joey Hess
191665e7f0
devblog 2017-05-11 18:06:24 -04:00
Joey Hess
6992fe133b
Ssh password prompting improved when using -J
When ssh connection caching is enabled (and when GIT_ANNEX_USE_GIT_SSH is
not set), only one ssh password prompt will be made per host, and only one
ssh password prompt will be made at a time.

This also fixes a race in prepSocket's stale ssh connection stopping
when run with -J. It was possible for one thread to start a cached ssh
connection, and another thread to immediately stop it, resulting in excess
connections being made.

This commit was supported by the NSF-funded DataLad project.
2017-05-11 17:36:03 -04:00
Joey Hess
782c30b8a4
hmm 2017-05-11 16:45:30 -04:00
Joey Hess
838b55fa39
plan 2017-05-11 14:34:50 -04:00
Joey Hess
aec0627ea7
patchneeds to be sent to git 2017-05-11 13:30:15 -04:00
Joey Hess
9ddd75b99a
comment 2017-05-11 13:29:14 -04:00
Joey Hess
a7ea8b3a17
followup 2017-05-11 13:23:44 -04:00
Joey Hess
245f4251ef
response 2017-05-11 13:20:23 -04:00
Joey Hess
b9ffa8e1c7
response 2017-05-11 13:12:51 -04:00
Joey Hess
0b5fb4699b
followup 2017-05-11 13:04:35 -04:00
Joey Hess
d71af8f0be
comment 2017-05-11 12:35:34 -04:00
Joey Hess
a2ee945522
response 2017-05-11 12:25:57 -04:00
Joey Hess
68dd441da6
comment 2017-05-11 12:04:59 -04:00
Joey Hess
d101bc7d03
add news item for git-annex 6.20170510 2017-05-10 15:37:40 -04:00
CandyAngel
14fee738a9 Added a comment 2017-05-10 12:46:00 +00:00
CandyAngel
a830f1dc72 Added a comment 2017-05-10 12:44:09 +00:00
CandyAngel
db2ee3f407 Added a comment 2017-05-10 09:21:34 +00:00
leavingchicago@c04c893e78d1c4c76cb3e32b5c227cf42bbf7682
83d1e20b9e 2017-05-10 00:41:54 +00:00
leavingchicago@c04c893e78d1c4c76cb3e32b5c227cf42bbf7682
4133df3b15 2017-05-10 00:38:20 +00:00
https://launchpad.net/~barthelemy
5cd6701b5b Added a comment 2017-05-09 23:38:27 +00:00
Joey Hess
68a376b742
hmm 2017-05-09 19:03:30 -04:00
Joey Hess
8f3d5ff379
Merge branch 'master' of ssh://git-annex.branchable.com 2017-05-09 18:18:06 -04:00
Joey Hess
b1b41aaff6
update 2017-05-09 18:16:49 -04:00
supernaught
36c54c5d12 Added a comment 2017-05-09 22:07:59 +00:00
Joey Hess
5215240757
comment 2017-05-09 17:04:39 -04:00
Joey Hess
4c1e3210fa
annex.backend is the new name for what was annex.backends
It takes a single key-value backend, rather than the unncessary and confusing list.
The old option still works if set.

Simplified some old old code too.

This commit was sponsored by Thomas Hochstein on Patreon.
2017-05-09 15:04:07 -04:00
Joey Hess
935b48a7bb
comment 2017-05-09 14:06:10 -04:00
Joey Hess
dccd7ba6d4
response; update man page 2017-05-09 14:02:48 -04:00
Joey Hess
05b1dee353
response 2017-05-09 13:49:59 -04:00
Joey Hess
f5a3b14e49
comment 2017-05-09 13:47:09 -04:00
Joey Hess
6ad0b00849
comment 2017-05-09 13:38:45 -04:00
Joey Hess
4025a92527
Merge branch 'master' of ssh://git-annex.branchable.com 2017-05-09 13:08:03 -04:00
Joey Hess
bcf276655c
Keys marked as dead are now skipped by --all.
fsck already special-cased dead keys to make --all not report errors with
them, and it makes sense to also expand that to whereis. I think it makes
sense for dead keys to be skipped by all uses of --all, so mistakes can be
completely forgotten about and not come back to haunt us.

The speed impact of testing if the key is dead is negligible for fsck and
whereis, since they use the location log anyway and it gets cached.
This does slow down a few commands that support --all, in particular
metadata --all runs around 2x as slow. I don't think metadata
--all is often used though. It might slow down copy/move/mirror
--all and get --all.
log --all is not affected (does not use the normal --all machinery).

Dead keys will still be processed by --incomplete, --branch,
--failed, and --key. Although it would be unlikely for a dead key to
ave in incomplete or failed transfer. It seems to make perfect sense for
--branch to process keys on the branch, even if dead.

(fsck's special-casing of dead keys was left in, so if one of these options
causes a dead key to be fscked, there will be a nice message.)

This commit was supported by the NSF-funded DataLad project.
2017-05-09 12:55:21 -04:00
CandyAngel
aa60e9924d Added a comment 2017-05-09 14:25:50 +00:00
CandyAngel
6a6fe43da3 2017-05-09 14:20:21 +00:00
CandyAngel
2befd8acc9 Added a comment 2017-05-09 10:05:14 +00:00
Joey Hess
ef30e12c60
Merge branch 'master' of ssh://git-annex.branchable.com 2017-05-08 16:04:20 -04:00
Tafnzart
74e28f9b99 Added a comment: Maybe provide an option to force without name change 2017-05-07 14:05:04 +00:00
Joey Hess
45c327b15d
Merge branch 'master' of ssh://git-annex.branchable.com 2017-05-06 14:18:33 -04:00
https://launchpad.net/~barthelemy
5a1bc987ee Added a comment: I found it out! 2017-05-05 12:41:59 +00:00
https://launchpad.net/~barthelemy
de3e332bbc rename forum/sneakernet_with_a_with_a___34__directory__34___special_remote_on_fat.mdwn to forum/sneakernet_with_a___34__directory__34___special_remote_on_fat.mdwn 2017-05-04 22:13:58 +00:00
https://launchpad.net/~barthelemy
d09010d3a9 2017-05-04 22:04:24 +00:00
mario
279ed47d25 Added a comment: Compressed file transfers 2017-05-03 20:52:43 +00:00
Joey Hess
eb6aa73630
Merge branch 'master' of ssh://git-annex.branchable.com 2017-05-03 13:06:16 -04:00
Cyberthal
89d82ba260 Added a comment: Deleting a repository UUID from vicfg 2017-05-03 16:50:54 +00:00