Commit graph

16667 commits

Author SHA1 Message Date
Joey Hess
372764ec76 Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-27 00:34:23 -04:00
Joey Hess
01bd650e2d refreshed android patches 2013-12-27 00:32:29 -04:00
http://id.clacke.se/
ea09aa5f23 Added a comment: dup 2013-12-27 04:18:19 +00:00
Joey Hess
6c3e11abaf avoid another encoding crash 2013-12-27 00:10:04 -04:00
Joey Hess
63fab93755 -Wall clean 2013-12-27 00:05:15 -04:00
https://www.google.com/accounts/o8/id?id=AItOawm5WyknJirJJridJjiPNgrlYxGG9xrZBvA
81e828558b 2013-12-27 03:54:47 +00:00
https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574
dfa850c345 Added a comment: Thanks! 2013-12-27 01:37:36 +00:00
https://www.google.com/accounts/o8/id?id=AItOawknOATcOkmzX4jKuET5Z2RsaFUNnLKnQsU
354be3ddb5 2013-12-27 01:14:29 +00:00
Greg Grossmeier
6f0feb94b4 Added some more details to log 2013-12-26 16:45:25 -08:00
Greg Grossmeier
085c9783f5 bug report, real but also testing via git checkout not web interface 2013-12-26 16:37:54 -08:00
http://joeyh.name/
a39ff94188 Added a comment 2013-12-26 23:06:34 +00:00
Joey Hess
581b53a4f4 update 2013-12-26 18:46:23 -04:00
Joey Hess
aa3ddb53f7 devblog 2013-12-26 18:42:26 -04:00
Joey Hess
cfcc1c13a0 fix format of sample program 2013-12-26 18:36:57 -04:00
Joey Hess
56ef896a25 Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-26 18:32:26 -04:00
Joey Hess
6c565ec905 external special remotes mostly implemented (untested)
This has not been tested at all. It compiles!

The only known missing things are support for encryption, and for get/set
of special remote configuration, and of key state. (The latter needs
separate work to add a new per-key log file to store that state.)

Only thing I don't much like is that initremote needs to be passed both
type=external and externaltype=foo. It would be better to have just
type=foo

Most of this is quite straightforward code, that largely wrote itself given
the types. The only tricky parts were:

* Need to lock the remote when using it to eg make a request, because
  in theory git-annex could have multiple threads that each try to use
  a remote at the same time. I don't think that git-annex ever does
  that currently, but better safe than sorry.

* Rather than starting up every external special remote program when
  git-annex starts, they are started only on demand, when first used.
  This will avoid slowdown, especially when running fast git-annex query
  commands. Once started, they keep running until git-annex stops, currently,
  which may not be ideal, but it's hard to know a better time to stop them.

* Bit of a chicken and egg problem with caching the cost of the remote,
  because setting annex-cost in the git config needs the remote to already
  be set up. Managed to finesse that.

This commit was sponsored by Lukas Anzinger.
2013-12-26 18:23:13 -04:00
Joey Hess
409a85b264 update 2013-12-26 18:20:32 -04:00
Joey Hess
a1d283657b update for external special remotes 2013-12-26 18:18:13 -04:00
Joey Hess
0de9135bc0 external special remote documentation and example script 2013-12-26 18:15:18 -04:00
https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574
9f7c2294bb fixed markdown formatting 2013-12-26 21:44:35 +00:00
https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574
89adcde46f Can't see output from git-annex status 2013-12-26 21:32:16 +00:00
https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574
9824019222 corrected typo in status command 2013-12-26 21:08:43 +00:00
Joey Hess
38694ed582 simplify PROGRESS
Only one transfer will be running at a time, per external special remote.
2013-12-26 16:18:38 -04:00
Joey Hess
b09613ebc7 update haskell patches for new versions in hackage 2013-12-26 16:17:31 -04:00
Joey Hess
7ec27d8d57 install happy and alex into android build chroot 2013-12-26 12:08:29 -04:00
http://sameer.sbuddhe.net/blog/
f92fdfa4ab removed 2013-12-26 10:34:34 +00:00
http://sameer.sbuddhe.net/blog/
475730be33 Added a comment: walkthrough should point to this tip 2013-12-26 08:51:33 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl99Gxq3NPNvwZHp3PDufaknQH4rZb_KKY
8491b81a4a Added a comment 2013-12-26 00:15:59 +00:00
Joey Hess
8803e36814 future-proofing 2013-12-25 20:04:31 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkgy5Qf4bivpTfYPw_yh92OcDlesrVTREg
fbf7865ac9 2013-12-25 22:29:46 +00:00
Joey Hess
72765aa95e typo 2013-12-25 18:28:46 -04:00
Joey Hess
0e2022be95 Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-25 18:27:12 -04:00
Joey Hess
abbd43bccb devblog 2013-12-25 18:22:17 -04:00
Joey Hess
1dc930063a basic data types and serialization for external special remote protocol
This is mostly straightforward, but did turn out quite nicely stronly
typed, and with a quite nice automatic tokenization and parsing of received
messages.

Made a few minor changes to the protocol to clear up ambiguities and make
it easier to parse. Note particularly that setting remote configuration
is moved to a separate command, which allows a remote to set arbitrary data.
2013-12-25 17:54:57 -04:00
Greg Grossmeier
6ca5271430 Added myself to users. 2013-12-24 14:53:09 -08:00
Joey Hess
0222a7252c Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-24 17:48:20 -04:00
Joey Hess
6ffcf25587 devblog 2013-12-24 17:46:53 -04:00
Joey Hess
bd106e22f1 clean up 2013-12-24 17:42:48 -04:00
http://joeyh.name/
6fc03e6954 Added a comment 2013-12-24 21:36:05 +00:00
Joey Hess
18084d997c Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-24 17:05:37 -04:00
Joey Hess
8e58ff7f71 check that ~/Desktop/annex can be written to; fall back to ~/annex when not 2013-12-24 17:04:07 -04:00
http://joeyh.name/
88802be3fe Added a comment 2013-12-24 20:56:00 +00:00
http://joeyh.name/
188b96b68c Added a comment 2013-12-24 20:51:32 +00:00
Joey Hess
706c74aa98 Include git-receive-pack, git-upload-pack, and git wrappers in the Linux standalone build, and OSX app, so they will be available when it's added to PATH. 2013-12-24 16:28:10 -04:00
Joey Hess
b9d3cfa0c5 fix gconvdir 2013-12-24 16:28:03 -04:00
http://joeyh.name/
f71df7d23a Added a comment 2013-12-24 20:20:26 +00:00
Joey Hess
02df4f529b Fix bug in Linux standalone build's shimming that broke git-annex-shell. 2013-12-24 15:42:49 -04:00
Joey Hess
e199240ab8 remove unused imports 2013-12-24 15:18:15 -04:00
Joey Hess
7e311a00d0 Fix typo in test suite. 2013-12-24 14:02:02 -04:00
Joey Hess
728c00b0c2 Add tasty to build-depends, so that test suite builds again. (tasty was stuck in incoming.) 2013-12-24 13:58:50 -04:00