Commit graph

7693 commits

Author SHA1 Message Date
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
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
Joey Hess
c204654fe5
response 2017-05-25 13:39:20 -04:00
yarikoptic
b9b25c13e0 original complaint 2017-05-25 14:35:44 +00:00
namsgorf@6b5ce57fbe9dc2a2c65d6817151f107dc22f438c
1f615d3b00 Added a comment 2017-05-21 13:40:08 +00: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
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
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
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
0b5fb4699b
followup 2017-05-11 13:04:35 -04:00
Cyberthal
777137dc4f Added a comment: PEBKAC 2017-05-01 22:19:05 +00:00
jesrui@51c25da8d6f34e6df8e3e7ed0277335ed7ddf6a6
2419479ba9 2017-04-30 13:36:58 +00:00
ewen
5f6fca0d8b Added a comment: git annex standalone on Synology NAS 2017-04-23 07:52:19 +00:00
ewen
fa86832091 CC me 2017-04-23 07:33:19 +00:00
ewen
60999337e4 Described steps to reproduce git annex get failure on SMB share 2017-04-23 07:31:57 +00:00
yarikoptic
2286b07aa1 Added a comment 2017-04-08 03:16:49 +00:00
Joey Hess
906427e8ec
response 2017-04-07 17:08:03 -04:00
yarikoptic
4e86b5a778 Added a comment: may be? 2017-04-07 21:01:56 +00:00
Joey Hess
1e4bee253c
comment 2017-04-07 16:25:38 -04:00
Joey Hess
b6169868da
comment 2017-04-07 16:06:14 -04:00
Joey Hess
57e923b712
gcrypt: Support re-enabling to change eg, encryption parameters.
This was never supported before. And it doesn't re-encrypt the
gcrypt repo to the new gcrypt-participants, but it does at least now not
crash, and set gcrypt-participants.

This commit was sponsored by andrea rota.
2017-04-07 14:10:34 -04:00
Joey Hess
f406d16525
enableremote: When enabling a non-special remote, param=value parameters can't be used, so error out if any are provided.
This commit was sponsored by Riku Voipio.
2017-04-07 13:14:53 -04:00
Joey Hess
78f74aa295
confused user, not a bug 2017-04-07 12:47:42 -04:00
Joey Hess
de649e4fbb
comment 2017-04-07 12:40:55 -04:00
Joey Hess
b0999afbfc
partial analysis 2017-04-07 12:34:19 -04:00
woffs
74400e294b Added a comment 2017-04-06 08:28:06 +00:00
woffs
3d3a573746 Added a comment 2017-04-06 07:29:14 +00:00
spwhitton
c74490e627 Added a comment 2017-04-05 22:28:11 +00:00
Joey Hess
ee8bbf33bb
followup 2017-04-05 14:47:49 -04:00
git-annex@6f13b739194f758abc0b86556b7ce966c1bf3c00
f6b1a2a027 Added a comment: git-remote-gcrypt recommends rsync:// or sftp:// transports 2017-04-05 16:16:25 +00:00