Commit graph

2449 commits

Author SHA1 Message Date
Joey Hess
94f3718dfe
fix missing SETCONFIG Value 2014-02-10 21:11:48 -04:00
Joey Hess
da8ca05a02 Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-10 15:28:24 -04:00
Joey Hess
54c587b617 telehash security 2014-02-10 14:56:16 -04:00
http://schnouki.net/
1e0a3addea Added a comment 2014-02-10 18:22:56 +00:00
Joey Hess
cb8dfe8dd3 update 2014-02-07 15:18:38 -04:00
139.80.40.12
1ec1029040 poll vote (Tahoe-LAFS) 2014-02-04 03:04:23 +00:00
https://thargos.myopenid.com/
8e411771d1 typo 2014-01-27 12:47:03 +00:00
Joey Hess
02896ee15d preferred content stability analysis 2014-01-22 15:55:44 -04:00
https://id.koumbit.net/anarcat
d979f2fbdf a separate sync daemon has many advantages indeed 2014-01-20 18:41:59 +00:00
Joey Hess
514a4efb7a Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-20 14:30:39 -04:00
https://www.google.com/accounts/o8/id?id=AItOawm_YXzEdPHzbSGVwtmTR7g1BqDtTnIBB5s
1ba8ea0c8a Added a comment: Chunk it 2014-01-20 16:22:21 +00:00
Joey Hess
df5e2e3d65 gathd 2014-01-19 19:19:19 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmz8d2M0lQDYWLSbDQSjYRHfrQkWKgPu60
8e2d2a77a5 Added a comment: re: long polling 2014-01-17 20:27:40 +00:00
http://joeyh.name/
33029e4958 Added a comment 2014-01-16 03:03:48 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmz8d2M0lQDYWLSbDQSjYRHfrQkWKgPu60
9b9475525c Added a comment: long polling in Widget form 2014-01-16 00:08:12 +00:00
Richard Hartmann
6fcb0f79d1 Telelhash 2014-01-14 00:25:32 +01:00
http://joeyh.name/
980e43611a Added a comment 2014-01-13 18:45:34 +00:00
Joey Hess
c20f31a1ad add GETAVAILABILITY to external special remote protocol
And some reworking of types, and added an annex-availability git config
setting.
2014-01-13 14:41:10 -04:00
Joey Hess
57edce8ad9 external special remote protocol: Added GETGITDIR. 2014-01-13 14:00:09 -04:00
Joey Hess
eea93b4e2e add telehash design page; update roadmap 2014-01-13 13:08:58 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8
cc765f47d2 removed 2014-01-11 15:43:35 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8
f7a7d30edc removed 2014-01-11 15:42:07 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8
fb44a4c779 Added a comment: Feature request 2014-01-11 15:41:48 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8
ee9e9febd9 Added a comment: Feature request 2014-01-11 15:41:30 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8
61b9ac4309 Added a comment 2014-01-10 13:16:31 +00:00
Joey Hess
5e23dfabd6 add DEBUG 2014-01-07 13:23:58 -04:00
Joey Hess
375842aee8 notes on long-running network connections 2014-01-06 17:06:55 -04:00
http://joeyh.name/
33b8f9b474 Added a comment 2014-01-06 15:04:34 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnRRUUZo3W7pAoRoST8P_l0PtUBhvYuzDg
281fd02329 Added a comment: exactly this use case: cloud remotes too small 2014-01-06 00:31:36 +00:00
Joey Hess
3e68c1c2fd add remote state logs
This allows a remote to store a piece of arbitrary state associated with a
key. This is needed to support Tahoe, where the file-cap is calculated from
the data stored in it, and used to retrieve a key later. Glacier also would
be much improved by using this.

GETSTATE and SETSTATE are added to the external special remote protocol.

Note that the state is left as-is even when a key is removed from a remote.
It's up to the remote to decide when it wants to clear the state.

The remote state log, $KEY.log.rmt, is a UUID-based log. However,
rather than using the old UUID-based log format, I created a new variant
of that format. The new varient is more space efficient (since it lacks the
"timestamp=" hack, and easier to parse (and the parser doesn't mess with
whitespace in the value), and avoids compatability cruft in the old one.

This seemed worth cleaning up for these new files, since there could be a
lot of them, while before UUID-based logs were only used for a few log
files at the top of the git-annex branch. The transition code has also
been updated to handle these new UUID-based logs.

This commit was sponsored by Daniel Hofer.
2014-01-03 16:35:57 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmH-n1yD04qmSeXKKzYaXFTN1ciFWVb5As
a1dd7d46e1 Added a comment: Can't seem to get the configuration I am looking for from the webapp 2014-01-02 23:41:44 +00:00
http://joeyh.name/
15a4588116 Added a comment 2014-01-02 00:15:28 +00:00
Joey Hess
8e3032df2d added GETWANTED, SETWANTED for Tobias's flickr remote
This was unexpectedly difficult because of a depdenency cycle. To parse a
preferred content expression involves several things that need to operate
on the list of remotes. Which needs Remote.External. The only way to avoid
this cycle (I tried breaking it at several points) was to skip parsing the
expression in SETWANTED.

That's sorta ok, because git-annex already has to deal with unparsable
preferred content expressions being stored, in order to handle eg,
upgrades. But I'm still not very happy that I cannot check it.

I feel this is a strong indication that I need to beware of further
bloating the special remote protocol interface.
2014-01-01 20:12:20 -04:00
Joey Hess
0e2fe4a7ab tweak this month 2013-12-31 17:50:11 -04:00
Joey Hess
9b5a74827c devblog 2013-12-31 17:44:35 -04:00
Joey Hess
8dbf230afe Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-31 16:39:50 -04:00
Joey Hess
341b72fd9a update roadmap 2013-12-31 15:55:11 -04:00
http://joeyh.name/
07ca84612d Added a comment 2013-12-31 19:16:16 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8
66dd1c3151 Added a comment 2013-12-31 18:20:32 +00:00
http://joeyh.name/
3a683ed3c7 Added a comment 2013-12-31 17:56:34 +00:00
Joey Hess
1eebb1ecec Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-31 13:53:34 -04:00
Joey Hess
ed1fcab6d7 external special remote protocol: Added GETUUID. 2013-12-31 13:50:18 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8
540cbd26be Added a comment: Feature requests 2013-12-31 14:05:45 +00:00
http://joeyh.name/
376ca250b1 Added a comment 2013-12-29 17:50:23 +00:00
Joey Hess
edc662ec20 mention that INITREMOTE is also called by git-annex enableremote 2013-12-29 13:44:39 -04:00
Joey Hess
054e4f17e2 implement PREPARE-FAILURE for Tobias 2013-12-29 13:39:25 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8
c96c0a367a Added a comment: Feature requests 2013-12-28 13:57:35 +00:00
Joey Hess
8cfaadf55c add webapp support to TODO 2013-12-27 16:37:58 -04:00
Joey Hess
445b7b41b9 add credential storage support for external special remotes & update example 2013-12-27 16:01:43 -04:00
Joey Hess
0014599dd9 hint about PROGRESS throttling 2013-12-27 14:39:56 -04:00
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
0c972961bb update 2013-12-27 12:04:51 -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
6d504b57e7 make some requests optional, simplify and future-proof protocol more 2013-12-27 02:11:06 -04:00
Joey Hess
0de9135bc0 external special remote documentation and example script 2013-12-26 18:15:18 -04: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
8803e36814 future-proofing 2013-12-25 20:04:31 -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
Richard Hartmann
b11d88dd17 doc/: s/amoung/among/gi
Qouth ye olde [Wiktionary](http://en.wiktionary.org/wiki/amoung)

Archaic spelling of among.
2013-12-18 22:09:18 +01:00
http://joeyh.name/
4c5dc8df0e removed 2013-12-18 20:12:16 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnN99WKdpXGRJD8xpJxfsoumA9ZVCBjxrE
5b0dcfc4f5 Added a comment: nice 2013-12-18 18:12:18 +00:00
178.12.110.165
59f6cbdef6 poll vote (/sdcard/annex) 2013-12-18 01:06:53 +00:00
Joey Hess
f833f92cd0 remove done todo about upgrading 2013-12-17 16:31:34 -04:00
Joey Hess
0419f241a4 I think I've convinced myself that the assistant is safe on windows despite the lack of lsof 2013-12-17 14:07:37 -04:00
http://joeyh.name/
5ff2706c06 Added a comment 2013-12-16 20:42:24 +00:00
Joey Hess
081cfba131 Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-16 16:33:17 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmicVKRM8vJX4wPuAwlLEoS2cjmFXQkjkE
72363ca72f Added a comment: not useful for "plain directory" special remote? 2013-12-16 20:10:19 +00:00
Joey Hess
81d051cad5 simplify 2013-12-16 11:36:19 -04:00
Joey Hess
145de01ebe use messages for query responses to allow communicating error 2013-12-16 10:30:28 -04:00
Joey Hess
87662ec14c rename HAS to CHECKPRESENT for consistency with hook special remote 2013-12-13 15:32:06 -04:00
Joey Hess
cb6a703660 refine protocol
More complicated, but less asynchronous, which will make it easier for
special remote programs to use it, at the expense of some added complexity
in git-annex.
2013-12-11 17:26:27 -04:00
Joey Hess
8223066716 update 2013-12-11 14:06:14 -04:00
Joey Hess
05e84b15cc clarify 2013-12-11 14:05:00 -04:00
Joey Hess
f4d847297c update 2013-12-11 14:04:03 -04:00
Joey Hess
d180b8e5af reorder 2013-12-11 14:02:49 -04:00
Joey Hess
37df2e3ebf layout 2013-12-11 14:02:10 -04:00
Joey Hess
22c6fe501d add ERROR 2013-12-11 14:01:33 -04:00
Joey Hess
75fda11f74 update 2013-12-11 13:56:59 -04:00
Joey Hess
e800e04d2d fixfix 2013-12-11 13:53:21 -04:00
Joey Hess
8b6d3ab2b5 fix display of | 2013-12-11 13:52:51 -04:00
Joey Hess
172f3287c5 update 2013-12-11 13:34:16 -04:00
Joey Hess
bf0bc0b001 add design document 2013-12-11 13:31:11 -04:00
Joey Hess
c254627748 update 2013-12-05 17:31:01 -04:00
Joey Hess
618f17b5d1 Revert "cat build.log"
This reverts commit 70ab15cfc6.
2013-12-05 17:25:25 -04:00
Joey Hess
70ab15cfc6 cat build.log 2013-12-05 17:24:07 -04:00
gernot
ee2c180390 Added a comment: Paperkey 2013-12-05 11:37:04 +00:00
Joey Hess
3260618e78 shamir secret sharing idea 2013-12-04 17:43:03 -04:00
Joey Hess
bc786b6f06 split off a page 2013-12-02 13:24:47 -04:00
2a02:cc41:100f:0:9c6e:e97:f36a:5074
07c32c5277 poll vote (DCIM directory (photos and videos only)) 2013-11-25 22:16:34 +00:00
Richard Hartmann
be43bb8f70 doc: perl -p -i -e s/certianly/certainly/ 2013-11-25 21:40:19 +01:00
Joey Hess
95feec24d1 create directory for upgraded versio early as a locking mechanism 2013-11-24 15:03:50 -04:00
Joey Hess
919a301818 update 2013-11-24 01:10:45 -04:00
217.113.234.250
c0157a27fd poll vote (/sdcard/annex) 2013-11-20 10:13:50 +00:00
Joey Hess
c579ee2fec starting 2013 survey 2013-11-13 16:01:35 -04:00
Joey Hess
778d22e311 update to highlight current month 2013-11-12 17:41:48 -04:00
Joey Hess
ec2c2adb10 one more git-remote-gcrypt ref 2013-11-07 12:29:13 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmWBvsZvSsAL8P2ye3F0OBStjFCVnOImzM
a0a3235f87 Added a comment: Making "git-annex add" commit largefiles, too? 2013-10-31 00:26:23 +00:00
Joey Hess
8820091b4c webapp: remind user when using repositories that lack consistency checks
When starting up the assistant, it'll remind about the current
repository, if it doesn't have checks. And when a removable drive
is plugged in, it will remind if a repository on it lacks checks.

Since that might be annoying, the reminders can be turned off.

This commit was sponsored by Nedialko Andreev.
2013-10-29 16:50:38 -04:00
Joey Hess
496c8b7abb add post-repair actions 2013-10-29 14:25:20 -04:00
Joey Hess
59d8273220 devblog 2013-10-27 16:58:10 -04:00
Joey Hess
7ed8e87a34 assistant: Support repairing git remotes that are locally accessible
(eg, on removable drives)

gcrypt remotes are not yet handled.

This commit was sponsored by Sören Brunk.
2013-10-27 15:38:59 -04:00
Joey Hess
a8330625f5 update 2013-10-23 15:14:20 -04:00
Joey Hess
e32b62b50e update 2013-10-23 15:05:57 -04:00
Joey Hess
435ea52f3c repair command: add handling of git-annex branch and index 2013-10-23 13:00:45 -04:00
Joey Hess
cd89b0cebe update 2013-10-22 18:12:45 -04:00
Joey Hess
1eaec2f9aa UI tweaks 2013-10-22 16:30:23 -04:00
Joey Hess
3e61749d08 index file recovery 2013-10-22 12:58:04 -04:00
Joey Hess
6d664ed1bb update 2013-10-21 16:47:16 -04:00
Joey Hess
18487c779f corrupt branch resetting (but not yet reflog walking) 2013-10-21 16:20:54 -04:00
Joey Hess
09127d4e49 update 2013-10-20 18:00:38 -04:00
Joey Hess
4f871f89ba git-recover-repository 1/2 done 2013-10-20 17:50:51 -04:00
Joey Hess
39a3758154 Merge branch 'master' of ssh://git-annex.branchable.com 2013-10-19 11:54:15 -04:00
Joey Hess
c66caf7b5b update 2013-10-19 11:54:08 -04:00
http://nullroute.eu.org/~grawity/
e35ebaae43 Added a comment 2013-10-19 15:50:47 +00:00
Joey Hess
88c172bbee update 2013-10-18 15:27:20 -04:00
Joey Hess
f5709e7fca update 2013-10-18 15:26:19 -04:00
Joey Hess
6bbbe6fa5d update 2013-10-18 15:20:44 -04:00
Joey Hess
30ca7805d6 update 2013-10-18 15:11:17 -04:00
Joey Hess
50684ea7bf Merge branch 'master' of ssh://git-annex.branchable.com 2013-10-18 14:04:13 -04:00
Joey Hess
c027dcf9f4 detailed design for git repository repair 2013-10-18 14:00:27 -04:00
107.1.64.82
7530307a84 poll vote (/sdcard/annex) 2013-10-18 15:22:26 +00:00
80.81.0.171
4ac6d1b3d7 poll vote (/sdcard/annex) 2013-10-18 12:25:56 +00:00
Joey Hess
e5e4b80b09 add support for weekly, monthly, and yearly schedules that run on no specific day 2013-10-15 13:27:21 -04:00
Joey Hess
7b82f431ba need to improve Recurrance 2013-10-14 16:40:48 -04:00
Joey Hess
293f3d2a59 update 2013-10-14 16:29:34 -04:00
Joey Hess
1a4c1d0917 devblog 2013-10-13 17:21:05 -04:00
Joey Hess
e7a134208c update 2013-10-11 17:33:51 -04:00
Joey Hess
1b7b397bdf update 2013-10-10 18:09:06 -04:00
Joey Hess
33c8e6b14c highlight current month 2013-10-10 16:55:14 -04:00
Joey Hess
feef7d3800 devblog 2013-10-05 17:26:17 -04:00
Joey Hess
891242ad26 another lock file 2013-10-03 17:05:53 -04:00
Joey Hess
93dbb7842e watcher: Detect at startup time when there is a stale .git/lock, and remove it so it does not interfere with the automatic commits of changed files. 2013-10-03 16:57:21 -04:00
Joey Hess
7286fbd93e gcrypt basically done 2013-10-01 19:12:08 -04:00
Joey Hess
76421872d1 notes 2013-09-17 20:08:44 -04:00
77.22.198.109
519774e5da poll vote (/sdcard/annex) 2013-09-17 19:43:26 +00:00
41.151.39.112
e330985122 poll vote (Whole /sdcard) 2013-09-13 20:06:42 +00:00
http://droggl.myopenid.com/
67f1181694 Added a comment 2013-09-11 11:55:27 +00:00
Joey Hess
90bdd70f13 split out roadmap 2013-09-06 14:06:15 -04:00
107.1.64.82
3ecb852b4a poll vote (/sdcard/annex) 2013-09-06 14:41:58 +00:00
82.243.233.186
f0dd323d46 poll vote (Tahoe-LAFS) 2013-09-06 05:55:49 +00:00
109.190.97.30
a3fe5c1971 poll vote (Tahoe-LAFS) 2013-09-05 23:14:29 +00:00
Joey Hess
a48a4e2f8a automatically derive an annex-uuid from a gcrypt-uuids 2013-09-05 16:02:39 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnxlx1UrzVhdy6_gFjzmF42x6QXxBUxg00
9551dca9c8 poll vote (/sdcard/annex) 2013-09-05 12:16:43 +00:00
2.244.15.209
b04957628d poll vote (/sdcard/annex) 2013-09-05 11:06:19 +00:00
Joey Hess
fc7b5cfe7d Merge branch 'encryption' 2013-09-05 00:09:11 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmNu4V5fvpLlBhaCUfXXOB0MI5NXwh8SkU
7740afd10f Added a comment: New YouTube problems 2013-09-05 03:45:16 +00:00
Joey Hess
f8082933e7 clarify 2013-08-29 14:32:25 -04:00