add timestamps to remote.log

This commit is contained in:
Joey Hess 2011-10-06 16:07:51 -04:00
parent f929d0229c
commit f011033869
4 changed files with 23 additions and 24 deletions

View file

@ -28,6 +28,9 @@ would keep working, ignoring the timestamp.
- remote.log: "uuid key=value ... timestamp" is on the edge but does work
(old git-annex will include the timestamp in the key/value map it builds,
but that should not break anything really)
> update: converted! --[[Joey]]
Appending "timestamp=xxxxx" would be good for clarity, and make
it easier to parse the timestamp out from lines that have it.
> [[done]] --[[Joey]]

View file

@ -54,7 +54,7 @@ Amazon S3.
The file format is one line per remote, starting with the uuid of the
remote, followed by a space, and then a series of key=value pairs,
each separated by whitespace.
each separated by whitespace, and finally a timestamp.
## `trust.log`
@ -62,13 +62,15 @@ Records the [[trust]] information for repositories. Does not exist unless
[[trust]] values are configured.
The file format is one line per repository, with the uuid followed by a
space, and then either 1 (trusted), 0 (untrusted), or ? (semi-trusted).
Repositories not listed are semi-trusted.
space, and then either 1 (trusted), 0 (untrusted), or ? (semi-trusted),
and finally a timestamp.
Example:
e605dca6-446a-11e0-8b2a-002170d25c55 1
26339d22-446b-11e0-9101-002170d25c55 ?
e605dca6-446a-11e0-8b2a-002170d25c55 1 timestamp=1317929189.157237s
26339d22-446b-11e0-9101-002170d25c55 ? timestamp=1317929330.769997s
Repositories not listed are semi-trusted.
## `aaa/bbb/*.log`