Commit graph

14056 commits

Author SHA1 Message Date
Joey Hess
101099f7b5 fix probing for local gcrypt repos 2013-10-01 14:38:20 -04:00
Joey Hess
995e1e3c5d fix transferring to gcrypt repo from direct mode repo
recvkey was told it was receiving a HMAC key from a direct mode repo,
and that confused it into rejecting the transfer, since it has no way to
verify a key using that backend, since there is no HMAC backend.

I considered making recvkey skip verification in the case of an unknown
backend. However, that could lead to bad results; a key can legitimately be
in the annex with a backend that the remote git-annex-shell doesn't know
about. Better to keep it rejecting if it cannot verify.

Instead, made the gcrypt special remote not set the direct mode flag when
sending (and receiving) files.

Also, added some recvkey messages when its checks fail, since otherwise
all that is shown is a confusing error message from rsync when the remote
git-annex-shell exits nonzero.
2013-10-01 14:19:24 -04:00
Joey Hess
61e06c972f webapp can now set up gcrypt repos on ssh servers 2013-10-01 13:43:35 -04:00
Joey Hess
d83a244986 UI for making encrypted ssh remotes with gcrypt
Improved probing the remote server, so it gathers a list of the
capabilities it has. From that list, we can determine which types
of remotes are supported, and display an appropriate UI.

The new buttons for making gcrypt repos don't work yet, but the old buttons
for unencrypted git repo and encrypted rsync repo have been adapted to the
new data types and are working.

This commit was sponsored by David Schmitt.
2013-09-29 15:14:09 -04:00
Joey Hess
2f75512188 Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-28 16:20:40 -04:00
Joey Hess
cc085cbe1c add link to knife-annex 2013-09-28 16:19:57 -04:00
http://joeyh.name/
2d092b9169 Added a comment 2013-09-28 19:34:42 +00:00
Joey Hess
4d1a55fe2d Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-28 14:38:30 -04:00
Joey Hess
12f6b9693a Send a git-annex user-agent when downloading urls.
Overridable with --user-agent option.

Not yet done for S3 or WebDAV due to limitations of libraries used --
nether allows a user-agent header to be specified.

This commit sponsored by Michael Zehrer.
2013-09-28 14:35:21 -04:00
Rasmus
a7f8a3e3a7 2013-09-28 16:16:11 +00:00
Joey Hess
55362462ae close 2013-09-28 11:30:01 -04:00
Joey Hess
4eef13f68a Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-28 11:28:46 -04:00
Joey Hess
bd431408b5 analysis 2013-09-28 11:27:52 -04:00
Joey Hess
1ba3165135 fixed upstream 2013-09-28 10:57:15 -04:00
http://cstork.org/
7d3b13487d 2013-09-28 12:59:57 +00:00
Joey Hess
7df8d7c5cd Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-27 20:01:08 -04:00
Joey Hess
57d49a6d04 remove *>=> and >=*> ; use <$$> instead
I forgot I had <$$> hidden away in Utility.Applicative.
It allows doing the same kind of currying as does >=*>
and I found using it made the code more readable for me.

(*>=> was not used)
2013-09-27 19:58:48 -04:00
Joey Hess
c6032b0dab clean up some ugly code 2013-09-27 19:52:36 -04:00
Remy
ebc1ff27c7 2013-09-27 22:38:21 +00:00
Remy
135b6e70e5 2013-09-27 22:35:45 +00:00
Joey Hess
d6883dcd7f forwarded 2013-09-27 17:18:28 -04:00
Joey Hess
64f5ef03fc wording 2013-09-27 16:56:44 -04:00
Joey Hess
65dce89298 devblog 2013-09-27 16:36:58 -04:00
Joey Hess
c1c8da55b9 Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-27 16:30:18 -04:00
Joey Hess
e864c8d033 blind enabling gcrypt repos on rsync.net
This pulls off quite a nice trick: When given a path on rsync.net, it
determines if it is an encrypted git repository that the user has
the key to decrypt, and merges with it. This is works even when
the local repository had no idea that the gcrypt remote exists!

(As previously done with local drives.)

This commit sponsored by Pedro Côrte-Real
2013-09-27 16:21:56 -04:00
volfyd
55a790635d 2013-09-27 19:18:57 +00:00
Joey Hess
8888e825fc correction to sponsor name 2013-09-27 12:02:18 -04:00
Joey Hess
b58bb4c8c1 refactor 2013-09-27 01:19:56 -04:00
Joey Hess
5bd5e604ad remove another sum type that was only needed to work around a bug in old yesod
And the bug is only a warning message at compile time..
2013-09-27 00:35:37 -04:00
Joey Hess
1f5611a1ca remove workaround for old yesod bug 2013-09-27 00:31:12 -04:00
Joey Hess
7665773593 refactor 2013-09-27 00:27:59 -04:00
Joey Hess
1550759220 enabling rsync.net gcrypt repos
Still need to detect when the user is trying to create a repo
that already exists, and jump to the enabling code.
2013-09-26 23:47:30 -04:00
Joey Hess
538910a6f9 Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-26 18:48:53 -04:00
Joey Hess
098528a51c devblog 2013-09-26 18:48:32 -04:00
Joey Hess
6b24730179 check if gcrypt is installed 2013-09-26 18:42:54 -04:00
Joey Hess
735ed3b822 prep for enabling remotre gcrypt repos in webapp 2013-09-26 17:26:13 -04:00
Joey Hess
588494cbce webapp: Support storing encrypted git repositories on rsync.net.
Does not yet support re-enabling such a repository though.

This commit was sponsored by Jan Pieper.
2013-09-26 16:43:00 -04:00
Joey Hess
e0b99f3960 support ssh://host/~/dir
When generating the path for rsync, /~/ is not valid, so change to
just host:dir

Note that git remotes specified in host:dir form are internally converted
to the ssh:// url form, so this was especially needed..
2013-09-26 15:02:27 -04:00
Joey Hess
109f2ccc8a refactor 2013-09-26 12:40:19 -04:00
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
57ea52a319 2013-09-26 16:34:26 +00:00
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
2b6e611365 2013-09-26 16:29:58 +00:00
https://id.koumbit.net/anarcat
9a90fc9f50 Added a comment 2013-09-26 13:10:25 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk3HGoDpnOPob5jOjvIootmkve1-nCpRiI
8c034ad540 Added a comment 2013-09-26 13:05:53 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk3HGoDpnOPob5jOjvIootmkve1-nCpRiI
c0c4f8248f removed 2013-09-26 12:58:52 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk3HGoDpnOPob5jOjvIootmkve1-nCpRiI
f6e4b67275 Added a comment 2013-09-26 12:57:11 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkeJKC5Sy0stmcTWyePOLEVv0G-x1yaT_w
485aed1083 Added a comment: wishlist 2013-09-26 11:11:19 +00:00
https://id.koumbit.net/anarcat
b0a2f43452 Added a comment: step by step? 2013-09-26 09:40:57 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
b71adf6ba6 Added a comment 2013-09-26 09:08:11 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk3HGoDpnOPob5jOjvIootmkve1-nCpRiI
5bc2975115 Added a comment 2013-09-26 06:56:49 +00:00
ringprince
451c3b4143 Added a comment 2013-09-26 06:32:51 +00:00