diff options
author | Joey Hess <joey@kitenet.net> | 2011-10-06 16:07:51 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-10-06 16:07:58 -0400 |
commit | f011033869bbeeb7941c1c6e16a2a138b11c92e4 (patch) | |
tree | 09cf18fdfbc1fa29757baf45227e68d11e83062a /doc | |
parent | f929d0229c05ebf0fe2c26d443fe6f843f270983 (diff) |
add timestamps to remote.log
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/uuid.log_trust.log_and_remote.log_merge_wackiness.mdwn | 3 | ||||
-rw-r--r-- | doc/internals.mdwn | 12 |
2 files changed, 10 insertions, 5 deletions
diff --git a/doc/bugs/uuid.log_trust.log_and_remote.log_merge_wackiness.mdwn b/doc/bugs/uuid.log_trust.log_and_remote.log_merge_wackiness.mdwn index f300d8708..a84d8cb56 100644 --- a/doc/bugs/uuid.log_trust.log_and_remote.log_merge_wackiness.mdwn +++ b/doc/bugs/uuid.log_trust.log_and_remote.log_merge_wackiness.mdwn @@ -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]] diff --git a/doc/internals.mdwn b/doc/internals.mdwn index 4881588ca..5559d122b 100644 --- a/doc/internals.mdwn +++ b/doc/internals.mdwn @@ -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` |