Versioning svn checkouts [Was: Re: alpha/beta software in Fedora 8?]

Petr Machata pmachata at redhat.com
Fri Nov 30 09:25:01 UTC 2007


Bill Nottingham wrote:
> Petr Machata (pmachata at redhat.com) said: 
>> Steve Grubb wrote:
>>> kdepim-enterprise-svn20070926.tar.bz2
>> As a side note, I always wondered why to use date in the release tag of
>> package, whose sources come from non-cvs versioning system.  For svn, in
>> my opinion, it would make more sense to use the tree revision number;
>> for git, similarly, sha1 id of the tree.
> 
> Well, git<date> sorts sanely. git<sha1> does not. Comments in the spec
> (or similar) might help with this.

It doesn't have to sort sanely. The release tag is composed from "base"
and "date" parts, where "base" is bumped each time the "date" (or other
identifier) changes.  The "base" part gives you the sorting.

> Bill

PM

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20071130/4ca83919/attachment.sig>


More information about the fedora-devel-list mailing list