Commit graph

12080 commits

Author SHA1 Message Date
Joey Hess
3cd8f1bb13 todo: url lists 2013-12-27 13:09:35 -04:00
Joey Hess
9125a25738 defer SETSTATE and GETSTATE for now
TAHOE-LAFS may use these eventually, but that's TBD and none of git-annex's
own special remotes need that, except for the web special remote's urls.
2013-12-27 13:07:56 -04:00
Joey Hess
a7f3724e21 implement GETCONFIG and SETCONFIG
Changed protocol spec to make SETCONFIG only store it persistently when run
during INITREMOTE. I see no reason to support storing it persistently at
other times, and doing so would unnecessarily complicate the code.

Also, letting that be done would probably result in use for storing data that
doesn't really belong there, and special remote authors who don't
understand how the union merging works would probably be surprised the
results.
2013-12-27 12:37:23 -04:00
Joey Hess
d8741e571d Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-27 12:24:19 -04:00
Joey Hess
0c972961bb update 2013-12-27 12:04:51 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnX1msQxnLoSeu7q-i-c9BWghonsN7Qmns
974eb1bb18 2013-12-27 14:32:58 +00:00
Attila
6c7456a90a Added a comment: git-annex.org 2013-12-27 14:14:10 +00:00
https://www.google.com/accounts/o8/id?id=AItOawleVyKk2kQsB_HgEdS7w1s0BmgRGy1aay0
c437dc9e7d Added a comment 2013-12-27 08:44:53 +00:00
https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574
f8f7c0f2cb Added a comment: Now I'm getting... 2013-12-27 08:01:45 +00:00
Joey Hess
5d8ff64dc1 make --debug show transcript of special remote protocol messages 2013-12-27 03:10:00 -04:00
Joey Hess
526a7bb2b4 improve comments 2013-12-27 02:56:52 -04:00
Joey Hess
3289155e28 don't send PREPARE before INITREMOTE
That complicated special remote programs, because they had to avoid making
PREPARE fail if some configuration is missing, because the remote might not
be initialized yet. Instead, complicate git-annex slightly by only sending
PREPARE immediately before some other request other than INITREMOTE (or
PREPARE of course).
2013-12-27 02:49:10 -04:00
Joey Hess
5b7c38c90a improve code, seems to work well now 2013-12-27 02:49:00 -04:00
Joey Hess
5d00fa523c fix bug (no type safe protocol stuff here, alas..) 2013-12-27 02:12:33 -04:00
Joey Hess
6d504b57e7 make some requests optional, simplify and future-proof protocol more 2013-12-27 02:11:06 -04:00
http://id.clacke.se/
ea09aa5f23 Added a comment: dup 2013-12-27 04:18:19 +00: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
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
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
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