On Fri, 2007-04-13 at 13:58 -0700, Toshio Kuratomi wrote:
foo-1.0-0.2.20061005cvs bar-1.0-0.2.512svn baz-1.0-0.3.123bzr spam-1.0-0.3.171hg ham-1.0-0.4.20070121git
My thoughts on this are pretty simple:
All checkout packages are either pre or post:
Pre:
%{name}-%{version}-0.1.%{alphatag}
Post:
%{name}-%{version}-1.%{alphatag}
%{alphatag} contains either the revision integer or the date of the checkout, followed by the revision type id:
RCS ID Format ===== ==== ======== CVS cvs date Subversion svn revision int Bazaar bzr revision int Git git date Mercurial hg revision int
If the Revision Control System uses simple, integer revisions, use that. If not, use the date of checkout. Revisionids and hashes are not permitted.
~spot