ArbitraryMetadata is an idea taken from Monotone

It allows to attach signed key-value pairs to a revision/file after a commit and a key may be used more than once.

In monotone this is not only used for the usual commit metadata like time, author, commit-messages, but also for tracking extra information like core developer approvals or testresults.

The common use-case is "trust" based update to

The way Monotone handles it

The metadata is stored using 2 Ideas.

Examples:

Statement

links a key-value pair to a revision

revision:73268e317ad3
name:push-date
value:2003-03-03 22:00:31 UTC
Certificate

signs a Statement

revision:73268e317ad3
name:push-date
value:2003-03-03 22:00:31 UTC
signed-by:john@doe.com
signature:1234

Basic Properties of the Metadata

How could mercurial do it

XXX: todo

See also PushkeyConcept.

ArbitraryMetadata (last edited 2009-05-19 19:31:01 by localhost)