From f011033869bbeeb7941c1c6e16a2a138b11c92e4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 6 Oct 2011 16:07:51 -0400 Subject: add timestamps to remote.log --- .../uuid.log_trust.log_and_remote.log_merge_wackiness.mdwn | 3 +++ doc/internals.mdwn | 12 +++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'doc') 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` -- cgit v1.2.3