Commit graph

30250 commits

Author SHA1 Message Date
Joey Hess
e398a9854c
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-21 13:35:16 -04:00
Joey Hess
297bcbcaad
comment 2017-03-21 13:34:52 -04:00
konubinix
f3dee9d658 removed 2017-03-21 15:42:50 +00:00
konubinix
04fb8e7896 removed 2017-03-21 15:40:16 +00:00
konubinix
9ec8466302 removed 2017-03-21 15:37:54 +00:00
konubinix
9b53859c67 removed 2017-03-21 15:37:28 +00:00
konubinix
5f7f61febb removed 2017-03-21 15:36:46 +00:00
konubinix
14b96acb60 Added a comment: Nice job! 2017-03-21 15:36:18 +00:00
konubinix
88bbb04f29 Added a comment: Nice job! 2017-03-21 15:36:07 +00:00
konubinix
2bdcdd6186 Added a comment: Nice job! 2017-03-21 15:35:56 +00:00
konubinix
2c069ee2a5 Added a comment: Nice job! 2017-03-21 15:35:45 +00:00
konubinix
9dae7e0bdd Added a comment: Nice job! 2017-03-21 15:35:37 +00:00
konubinix
b78408377e Added a comment: Nice job! 2017-03-21 15:35:27 +00:00
ewen
856e7a5f50 Added a comment: Track GUIDs to avoid duplicate downloads 2017-03-21 08:59:59 +00:00
ewen
12831ed724 removed 2017-03-21 08:49:19 +00:00
ewen
4652413766 Added a comment: Track GUIDs to avoid duplicate downloads 2017-03-21 08:48:05 +00:00
Joey Hess
41c5d9d76c
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-20 23:36:50 -04:00
Joey Hess
6af15d0ec9
rest of fix for GIT_SSH_COMMAND -n parameter
c8a6be7eef was incomplete
2017-03-20 23:35:29 -04:00
joern.mankiewicz@06fb5bc9b732f143dee3606866362f562531310d
9abed537f7 Added a comment: Beware global configurations! 2017-03-20 22:47:50 +00:00
Joey Hess
217cdbe6c8
comment 2017-03-20 17:19:33 -04:00
Joey Hess
a5ddef4ba3
response 2017-03-20 17:17:25 -04:00
Joey Hess
c09b7cb232
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-20 17:14:40 -04:00
Joey Hess
30a167afe3
devblog 2017-03-20 17:13:18 -04:00
joern.mankiewicz@06fb5bc9b732f143dee3606866362f562531310d
a88fa9f28a Added a comment: Git-annex ignores annex.largefiles in .gitattributes 2017-03-20 20:58:12 +00:00
Joey Hess
64f924dc93
sync --content-of=path
For when you want to sync only some files' contents, not the whole working
tree.

This commit was sponsored by Anthony DeRobertis on Patreon.
2017-03-20 16:00:48 -04:00
Joey Hess
c8a6be7eef
fix GIT_SSH_COMMAND -n parameter
It was being passed to sh, not to the command, oops. Noticed because it
broke the test suite on OSX, where sh -n silently does nothing. Would
also break on Linux when eg posh was being used as the shell; bash
ignores the -n.

This commit was supported by the NSF-funded DataLad project.
2017-03-20 14:23:19 -04:00
Joey Hess
df2639218a
improve git-annex-shell exit status propigation 2017-03-20 12:45:10 -04:00
Joey Hess
3cffb941d1
test needs git-annex-shell symlink 2017-03-18 16:05:22 -04:00
Joey Hess
6ab94fbf93
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-18 15:45:06 -04:00
Joey Hess
631608d55b
todo 2017-03-18 15:44:52 -04:00
oliv5@5a9bb4b174f7995da105238c4e7b3f91767a87bc
35a37f7fc4 2017-03-18 13:46:58 +00:00
Joey Hess
e038005e80
devblog 2017-03-17 19:20:51 -04:00
Joey Hess
39a81fbea3
gitignore git-annex-shell 2017-03-17 19:19:10 -04:00
Joey Hess
1484422e19
test move with ssh remote 2017-03-17 19:18:45 -04:00
Joey Hess
002513e194
test suite infra for testing mocked ssh remotes
This commit was supported by the NSF-funded DataLad project.
2017-03-17 19:14:41 -04:00
Joey Hess
d674fd5a69
super tricky shell command generation hack
GIT_SSH_COMMAND was not working correctly with git-annex get,
because when used in rsync -e, there were additional parameters
appended at the end, which the GIT_SSH_COMMAND should not see.

Fixed by constructing the shell command differently.

This commit was supported by the NSF-funded DataLad project.
2017-03-17 18:06:59 -04:00
Joey Hess
c9578be5b2
fix over-shell-escape
Seems I had one time too many.
2017-03-17 17:28:25 -04:00
Joey Hess
faecd73f32
Support GIT_SSH and GIT_SSH_COMMAND
They are handled close the same as they are by git. However, unlike git,
git-annex sometimes needs to pass the -n parameter when using these.

So, this has the potential for breaking some setup, and perhaps there ought
to be a ANNEX_USE_GIT_SSH=1 needed to use these. But I'd rather avoid that
if possible, so let's see if anyone complains.

Almost all places where "ssh" was run have been changed to support the env
vars. Anything still calling sshOptions does not support them. In
particular, rsync special remotes don't. Seems that annex-rsync-transport
already gives sufficient control there.

(Fixed in passing: Remote.Helper.Ssh.toRepo used to extract
remoteAnnexSshOptions and pass them to sshOptions, which was redundant
since sshOptions also extracts those.)

This commit was sponsored by Jeff Goeke-Smith on Patreon.
2017-03-17 16:20:37 -04:00
Joey Hess
8cd473c716
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-17 12:33:52 -04:00
Joey Hess
999743c1e8
git-annex-shell: run all commands with noMessages
Fix bug when used with a recently cloned repository, where
"merging" messages were included in the output of configlist (and perhaps
other commands) and caused a "Failed to get annex.uuid configuration"
error.

This does not seem to have been a reversion.

I saw this with configlist, but it seems possible for other commands to be
effected, and it might not always happen only after a fresh clone. Eg, if a
foo/git-annex branch is pushed to the remote, the next git-annex-shell will
auto-merge it and display the message.

Decided to run all git-annex-shell commands with noMessages,
even ones that don't currently use stdout for structured communication.
Better to keep open the possibility for using stdout in the future.

This commit was supported by the NSF-funded DataLad project
2017-03-17 12:32:43 -04:00
yarikoptic
60ad846c5c fixing ben 2017-03-17 13:34:36 +00:00
yarikoptic
75f4900c66 added Ben 2017-03-17 13:33:48 +00:00
Joey Hess
6f082a3d56
bug report 2017-03-17 00:22:19 -04:00
yarikoptic
461649c49d 2017-03-17 03:10:59 +00:00
Joey Hess
32e0aebeb8
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-16 16:56:52 -04:00
rok
9cef6529cd Added a comment: v6 default behavior 2017-03-16 09:24:51 +00:00
kubaello@d561f15ff5c07a78b706b096375cd89d6d706066
30d1e5b861 Added a comment 2017-03-16 01:22:44 +00:00
kubaello@d561f15ff5c07a78b706b096375cd89d6d706066
19b6e333af 2017-03-16 01:00:55 +00:00
yarikoptic
1bdc63124f tuned up rushed report 2017-03-16 00:01:25 +00:00
yarikoptic
a7759f0898 2017-03-15 23:55:05 +00:00