Commit graph

29155 commits

Author SHA1 Message Date
0xloem@0bd8a79a57e4f0dcade8fc81d162c37eae4d6730
b8e27383fd 2016-12-06 13:01:51 +00:00
alpernebbi
7222ed2b20 2016-12-05 21:55:55 +00:00
alpernebbi
0e1c2ff1a4 Added a comment: UTF-8 problems in some other commands 2016-12-05 20:46:07 +00:00
alpernebbi
3e0176054b 2016-12-05 19:34:55 +00:00
Joey Hess
f61508aed4
add: Stage modified non-large files when running in indirect mode.
(This was already done in v6 mode and direct mode.)
2016-12-05 14:10:21 -04:00
Joey Hess
e9c44536b2
fix formatting
mdwn2man gets confused as `command` spanning multiple lines..
2016-12-05 13:52:40 -04:00
Joey Hess
82d01f5619
rekey: Added --batch mode.
Would have liked to make the Parser parse the file and key pairs, but it
seems that optparse-applicative is unable to handle eg:

	many ((,) <$> argument <*> argument)

This commit was sponsored by Thomas Hochstein on Patreon.
2016-12-05 12:55:50 -04:00
Joey Hess
e65c31e56b
changelog 2016-12-05 12:16:35 -04:00
Joey Hess
6246c4a6db
minor style 2016-12-05 12:16:07 -04:00
Joey Hess
b0978b0196
Merge kite:tmp/git-annex 2016-12-05 12:15:48 -04:00
Joey Hess
702c671c92
cleanup 2016-12-05 12:13:25 -04:00
Joey Hess
93852dd7e8
rmurl: --batch
* rmurl: Multiple pairs of files and urls can be provided on the
  command line.
* rmurl: Added --batch mode.

This commit was sponsored by Trenton Cronholm on Patreon.
2016-12-05 12:10:07 -04:00
Daniel Brooks
24317be646 git-annex fromkey now takes multiple pairs of keys and filenames
It also still reads from stdin when none are specified.
2016-12-05 09:59:20 -05:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
e0be5b354a "fixed" by reading --help 2016-12-04 16:20:00 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
8cb409150c added forgotten author tag 2016-12-04 15:54:32 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
3b7a51ea0e initial report 2016-12-04 15:52:29 +00:00
marek@33e8ba4fbc201af14a2badcc0656024401f5c916
19b1c5bf59 2016-12-04 15:28:41 +00:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
f69a79fc70 Added a comment 2016-12-04 04:30:38 +00:00
Joey Hess
6d39a30d79
use list 2016-12-03 16:52:18 -04:00
Joey Hess
1a4f9660c8
update 2016-12-03 16:51:16 -04:00
Joey Hess
4866dd33c7
Merge branch 'master' of ssh://git-annex.branchable.com 2016-12-03 16:32:42 -04:00
Joey Hess
ae0f60b628
break out curent list of names into its own file so I can auto-add from patreon
and some misc updates
2016-12-03 16:30:48 -04:00
lorenzo@a77fdbe826df1c175cbd30ed050312ccf7b7fc7b
67bc5c2e35 2016-12-03 09:04:45 +00:00
Joey Hess
a8c868c2e1
plumb assicated files through P2P protocol for updating transfer logs
ReadContent can't update the log, since it reads lazily. This part of
the P2P monad will need to be rethought.

Associated files are heavily sanitized when received from a peer;
they could be an exploit vector.

This commit was sponsored by Jochen Bartl on Patreon.
2016-12-02 16:42:54 -04:00
Joey Hess
b16a1cee4b
plumb peer uuid through to runLocal
This will allow updating transfer logs with the uuid.
2016-12-02 15:39:49 -04:00
Joey Hess
71ddb10699
initial implementation of P2P.Annex runner
Untested, and it does not yet update transfer logs.

Verifying transferred content is modeled on git-annex-shell recvkey.
In a direct mode or annex.thin repository, content can change while it's
being transferred. So, verification is always done, even if annex.verify
would normally prevent it.

Note that a WORM or URL key could change in a way the verification
doesn't catch. That can happen in git-annex-shell recvkey too. We don't
worry about it, because those key backends don't guarantee preservation
of data. (Which is to say, I worried about it, and then convinced myself
again it was ok.)
2016-12-02 14:54:33 -04:00
Joey Hess
c29f2e262a
catch non-IO exceptions too 2016-12-02 14:16:50 -04:00
Joey Hess
881274d021
make remote-daemon able to send and receive objects over tor
Each worker thread needs to run in the Annex monad, but the
remote-daemon's liftAnnex can only run 1 action at a time. Used
Annex.Concurrent to deal with that.

P2P.Annex is incomplete as of yet.
2016-12-02 13:52:43 -04:00
Joey Hess
7b7afbbedc
improve Local monad 2016-12-02 13:47:42 -04:00
Joey Hess
15dc63d47f
make sure that the specified number of bytes of DATA are always sent
It's possible, in direct or thin mode, that an object file gets
truncated or appended to as it's being sent. This would break the
protocol badly, so make sure never to send too many bytes, and to
close the protocol connection if too few bytes are available.
2016-12-02 13:45:45 -04:00
https://openid.stackexchange.com/user/3ee5cf54-f022-4a71-8666-3c2b5ee231dd
1a1bbeb659 2016-12-01 18:54:57 +00:00
https://openid.stackexchange.com/user/3ee5cf54-f022-4a71-8666-3c2b5ee231dd
1f26a94cb9 2016-12-01 18:54:24 +00:00
Joey Hess
be5cd15311
urk
test failures were being ignored for complex reasons, new autobuilder broke that; bring it back
2016-12-01 12:18:00 -04:00
Joey Hess
4677a88fe5
Merge branch 'master' of ssh://git-annex.branchable.com 2016-12-01 12:08:20 -04:00
Joey Hess
020d5ecbfc
change link to windows autobuild page 2016-12-01 12:07:21 -04:00
Yury V. Zaytsev
ddaea54191
Remove obsolete link to Windows build logs 2016-12-01 12:05:28 -04:00
Yury V. Zaytsev
4aff2fc6d9
Add initial Jenkins pipeline script
Signed-off-by: Yury V. Zaytsev <yury.zaytsev@moneymeets.com>
2016-12-01 12:05:26 -04:00
Joey Hess
3dce6a080e
cleanups 2016-12-01 00:42:01 -04:00
Joey Hess
94dad1e979
more flexible types for Proto runners
This will allow a runner in the Annex monad.
2016-12-01 00:27:07 -04:00
Joey Hess
00f48ac407
better comments 2016-11-30 23:54:00 -04:00
https://anarc.at/openid/
7731f0d9af Added a comment: magic wormhole 2016-11-30 22:16:19 +00:00
spiffytech
d0da89d56d 2016-11-30 21:58:01 +00:00
Joey Hess
591cdf5578
Merge branch 'master' of ssh://git-annex.branchable.com 2016-11-30 17:06:26 -04:00
Joey Hess
9a0f2d1926
devblog 2016-11-30 17:04:15 -04:00
Joey Hess
e714e0f67a
actually check p2p authtokens for tor connections
This commit was sponsored by Ethan Aubin.
2016-11-30 16:46:02 -04:00
Joey Hess
b88e44ea9a
use P2P auth for git-remote-tor-annex
This changes the environment variable name to the more generic
GIT_ANNEX_P2P_AUTHTOKEN.

This commit was sponsored by andrea rota.
2016-11-30 15:26:55 -04:00
Joey Hess
3ab12ba923
implement p2p --link
This commit was sponsored by Riku Voipio.
2016-11-30 15:16:25 -04:00
pablo@4f5b00d7b40f0a52e51761da420d6ff8e7c9aca7
a26a0eb618 2016-11-30 18:56:32 +00:00
Joey Hess
bfc8305814
implement p2p command 2016-11-30 14:35:24 -04:00
Joey Hess
ac0cb5c2cc
max authtoken length is 128
It was stopping at 128, so the 512 was only incorrect, it didn't change
behavior.
2016-11-30 14:19:26 -04:00