Commit graph

22201 commits

Author SHA1 Message Date
Joey Hess
edf1aeda65
Merge branch 'master' of ssh://git-annex.branchable.com 2017-04-06 14:24:40 -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
8ae16f902f
devblog 2017-04-05 16:47:29 -04:00
archimedes
f62dbd7445 Added a comment 2017-04-05 20:01:44 +00:00
Joey Hess
239cf833a3
response 2017-04-05 15:19:03 -04:00
archimedes
67b9805a3e 2017-04-05 19:05:07 +00:00
Joey Hess
ee8bbf33bb
followup 2017-04-05 14:47:49 -04:00
Joey Hess
8c722069ea
Merge branch 'master' of ssh://git-annex.branchable.com 2017-04-05 13:27:29 -04:00
Joey Hess
29e73f76ef
Added remote.<name>.annex-push and remote.<name>.annex-pull
The former can be useful to make remotes that don't get fully synced with
local changes, which comes up in a lot of situations.

The latter was mostly added for symmetry, but could be useful (though less
likely to be).

Implementing `remote.<name>.annex-pull` was a bit tricky, as there's no one
place where git-annex pulls/fetches from remotes. I audited all
instances of "fetch" and "pull". A few cases were left not checking this
config:

* Git.Repair can try to pull missing refs from a remote, and if the local
  repo is corrupted, that seems a reasonable thing to do even though
  the config would normally prevent it.
* Assistant.WebApp.Gpg and Remote.Gcrypt and Remote.Git do fetches
  as part of the setup process of a remote. The config would probably not
  be set then, and having the setup fail seems worse than honoring it if it
  is already set.

I have not prevented all the code that does a "merge" from merging branches
from remotes with remote.<name>.annex-pull=false. That could perhaps
be done, but it would need a way to map from branch name to remote name,
and the way refspecs work makes that hard to get really correct. So if the
user fetches manually, the git-annex branch will get merged, for example.
Anther way of looking at/justifying this is that the setting is called
"annex-pull", not "annex-merge".

This commit was supported by the NSF-funded DataLad project.
2017-04-05 13:22:35 -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
Joey Hess
eab6146e53
comment 2017-04-05 11:59:03 -04:00
Joey Hess
e7d684b4e3
comment 2017-04-05 11:51:51 -04:00
Joey Hess
816c0d597a
comment 2017-04-05 11:47:08 -04:00
Joey Hess
ee9b85f390
comment 2017-04-05 11:44:29 -04:00
Joey Hess
3b84209c17
comment 2017-04-05 11:41:59 -04:00
Joey Hess
74af1d2dfe
comment 2017-04-05 11:25:18 -04:00
t.z.mates
e1642d19aa Added a comment 2017-04-02 04:17:55 +00:00
anarcat
1f6b8951ba Added a comment: point to point? 2017-03-31 13:09:00 +00:00
Joey Hess
74a06b535c
devblog 2017-03-30 19:38:47 -04:00
Joey Hess
c3970f6c1a
multicast: New command, uses uftp to multicast annexed files, for eg a classroom setting.
This commit was supported by the NSF-funded DataLad project.
2017-03-30 19:35:30 -04:00
Joey Hess
39e8433d46
fix format 2017-03-30 14:16:13 -04:00
Joey Hess
43d7862b44
design 2017-03-30 14:15:12 -04:00
Joey Hess
2f4af8ef93
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-30 12:51:14 -04:00
yarikoptic
3a03665b4f 2017-03-30 16:08:07 +00:00
yarikoptic
f6d34d228e initial idea 2017-03-30 16:07:43 +00:00
Joey Hess
a7b068f271
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-30 11:31:38 -04:00
anarcat
d2dd75f2b9 Added a comment: onion-grater 2017-03-30 14:49:13 +00:00
oberix@c7a19cddb1663df0c612a979b9d13b0d67f1f69a
a5b3b7a5a4 Added a comment: autostart and foreground together doesn't seem to work 2017-03-30 10:43:19 +00:00
woffs
627ee14612 2017-03-29 20:24:14 +00:00
Joey Hess
3c8eb59860
When a http remote does not expose an annex.uuid config, only warn about it once, not every time git-annex is run.
Same behavior as for a ssh remote.
2017-03-29 12:43:47 -04:00
fabfur
3795278338 2017-03-28 20:25:39 +00:00
Joey Hess
d6afd70e20 WSL can now run git-annex 2017-03-27 21:40:45 -04:00
Joey Hess
a2017e944f expand 2017-03-27 18:12:46 -04:00
Joey Hess
9ee05e66a6 Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-27 18:10:44 -04:00
Joey Hess
9fcd3987f2 idea 2017-03-27 18:10:36 -04:00
anarcat
eef99dee60 add annex-sync setting sample 2017-03-27 19:50:43 +00:00
Joey Hess
8c36345e86 Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-27 15:21:10 -04:00
Joey Hess
9b2e56a9ce bug report from Hands-on Reproducible and Scalable Brain Imaging Analysis with Nipype 2017-03-27 15:11:45 -04:00
anarcat
a959b98769 link to torrent page 2017-03-27 16:25:31 +00:00
anarcat
49f1ee9610 some issue i have come up with a few times and workarounds 2017-03-27 16:23:15 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
c6094c43fa 2017-03-27 11:34:41 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
5f64e2007a 2017-03-27 09:36:05 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
b7b70acd71 Added a comment 2017-03-27 09:03:10 +00:00
Cyberthal
2076d04231 Added a comment: knowing about annex-ignore and git-annex shell helps 2017-03-26 10:06:35 +00:00
Cyberthal
86db277648 2017-03-26 10:02:22 +00:00
yarikoptic
ea8d0d923b 2017-03-24 21:10:44 +00:00
Cyberthal
9d21f1461b 2017-03-24 15:59:12 +00:00
Cyberthal
9713258e9b 2017-03-24 15:10:10 +00:00
magnitude
de864ef0de 2017-03-24 06:07:04 +00:00
yarikoptic
a6430481c4 initial report 2017-03-23 04:09:44 +00:00
yarikoptic
6e11108d55 initial report 2017-03-22 18:59:49 +00:00
joern.mankiewicz@06fb5bc9b732f143dee3606866362f562531310d
e3bd899e5e 2017-03-22 14:45:11 +00:00
joern.mankiewicz@06fb5bc9b732f143dee3606866362f562531310d
02b61aee9a removed 2017-03-21 22:08:52 +00:00
joern.mankiewicz@06fb5bc9b732f143dee3606866362f562531310d
877d42fe77 Added a comment: Workflow for adding a keyid in hybrid-enc lateron and re-encrypting? 2017-03-21 22:08:30 +00:00
joern.mankiewicz@06fb5bc9b732f143dee3606866362f562531310d
fe73a5b778 Added a comment: Workflow for adding a keyid in hybrid-enc lateron and re-encrypting? 2017-03-21 22:08:22 +00:00
ewen
ec35d57200 Added a comment: Tracking GUIDs 2017-03-21 21:46:27 +00:00
ewen
9e84c0210b Add note about tracking guids since 2015 2017-03-21 21:36:36 +00:00
Joey Hess
89d47f0cd0
add news item for git-annex 6.20170321 2017-03-21 13:47:26 -04:00
Joey Hess
a344d1e2f8
comment 2017-03-21 13:44:42 -04:00
Joey Hess
e183270393
comment 2017-03-21 13:43:10 -04:00
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
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
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
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