From cb0dad5172b743679d90c7fd6e490d4927ea5a76 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 Feb 2014 21:12:22 -0400 Subject: add metadata command to get/set metadata Adds metadata log, and command. Note that unsetting field values seems to currently be broken. And in general this has had all of 2 minutes worth of testing. This commit was sponsored by Julien Lefrique. --- doc/design/metadata.mdwn | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'doc/design') diff --git a/doc/design/metadata.mdwn b/doc/design/metadata.mdwn index 40c085cdc..3e2d4bf08 100644 --- a/doc/design/metadata.mdwn +++ b/doc/design/metadata.mdwn @@ -145,20 +145,6 @@ a tag was removed: 1287290991.152124s tag +baz 1291237510.141453s tag -bar -The end result is that tags foo and baz are set. This can be simplified: - - 1291237510.141453s tag +foo +baz -bar - -Note the reuse of the most recent timestamp in the simplified version, -rather than putting in the timestamp when the simplification was done. -This ensures that is some other repo is making changes, they won't get -trampled over. For example: - - 1291237510.141453s tag +foo +baz -bar - 1291239999.000000s tag +bar -foo - -Now tags bar and baz are set. - # efficient metadata lookup Looking up metadata for filtering so far requires traversing all keys in -- cgit v1.2.3