Entry IDs for Atom feeds generated from Bazaar branches
Robert Collins
robertc at robertcollins.net
Thu Mar 29 22:01:43 BST 2007
On Thu, 2007-03-29 at 10:28 -0500, John Arbash Meinel wrote:
> Aaron Bentley wrote:
> > James Henstridge wrote:
> >> It would be nice to have a single entry ID format that we can
> >> recommend that such tools produce. After some discussions with
> >> Robert, the format we thought might be worth suggesting is:
> >> http://bazaar-vcs.org/RevisionId#$REVISION_ID
> >
> > Why not just use a tag uri?
> >
> > http://www.taguri.org/
> >
> > Aaron
>
> Wouldn't that be the same as "tag:revision at id-200507207-aboetuhanoeuh" ?
It should be formatted (assuming we trust our datestamps and committer
fields):
tag:committer,commitdate:entropy
e.g.
tag:revision at id,2005-02-20:aboetuhanoeuh
As only some revision*ids* have all these fields, we can't depend on
them to generate a tag: unless we read the revision data (bad).
> I guess I don't know what makes "tag:foo at org,2001:Taiko" a valid URI,
> but not "bzr-revid:$revision_id"
tag: is IANA registered, there is no psuedo scheme in use and its
intended for anyone to use - which is good. But we can't use it from
just our revisionids.
Announcing commits in our namespace though no safer, can be done without
using a different algorithm than tag: does, and wont require reading the
commit to gather metadata.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070330/bb20ce5f/attachment-0001.pgp
More information about the bazaar
mailing list