git-annex/Remote
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
..
External add remote state logs 2014-01-03 16:35:57 -04:00
Helper Remotes can now be made read-only, by setting remote.<name>.annex-readonly 2014-01-02 13:12:32 -04:00
Bup.hs assistant: Support repairing git remotes that are locally accessible 2013-10-27 15:38:59 -04:00
Directory.hs gcrypt, bup: Fix bug that prevented using these special remotes with encryption=pubkey. 2013-11-02 16:37:28 -04:00
External.hs add remote state logs 2014-01-03 16:35:57 -04:00
GCrypt.hs really fix gcrypt for 7be69a2491 2013-11-02 20:10:54 -04:00
Git.hs gcrypt, bup: Fix bug that prevented using these special remotes with encryption=pubkey. 2013-11-02 16:37:28 -04:00
Glacier.hs assistant: Support repairing git remotes that are locally accessible 2013-10-27 15:38:59 -04:00
Hook.hs external special remotes mostly implemented (untested) 2013-12-26 18:23:13 -04:00
List.hs Remotes can now be made read-only, by setting remote.<name>.annex-readonly 2014-01-02 13:12:32 -04:00
Rsync.hs pull in Win32-extras, to be able to get current process id in Windows 2013-12-11 00:15:10 -04:00
S3.hs assistant: Support repairing git remotes that are locally accessible 2013-10-27 15:38:59 -04:00
Web.hs clean import list 2013-11-02 19:55:18 -04:00
WebDAV.hs Deal with box.com changing the url of their webdav endpoint. 2013-12-02 16:01:20 -04:00