Re: Git Package Versioning

2011-03-21 Thread Stephen Kitt
Hi, On Mon, 21 Mar 2011 06:36:19 +0100, Julien Valroff wrote: > > or 1.2.1~gitMMDD.-1, which could be read as "the 1.2.1 > > release currently being prepared, as of git hash <...> on MMDD". > > Though it is perfectly correct, I try and avoid using this scheme: what > happens if upstream

Re: Git Package Versioning

2011-03-20 Thread Julien Valroff
Hi, Le dimanche 20 mars 2011 à 23:16:47 (+0100 CET), Stephen Kitt a écrit : > On Sun, 20 Mar 2011 22:25:38 +0100, Joachim Wiedorn > wrote: > In this example, the Debian package version could be either > 1.2.0+gitMMDD.-1, which could be read as "everything in the > 1.2.0 release plus all chang

Re: Git Package Versioning

2011-03-20 Thread Andrea Bolognani
On Sun, Mar 20, 2011 at 10:25:38PM +0100, Joachim Wiedorn wrote: > Julien Valroff wrote on 2011-03-20 21:48: > > > The best I have found is to use something like: > > +gitMMDD. > > Please be aware, that "+" is not the optimal connector. > Try dpkg --compare-versions and see: > > a) 1.2.0

Re: Git Package Versioning

2011-03-20 Thread David Bremner
On Sun, 20 Mar 2011 22:25:38 +0100, Joachim Wiedorn wrote: > > Please be aware, that "+" is not the optimal connector. > Try dpkg --compare-versions and see: [snip] > The version b) is the better way. So please use "~" > as connector. That rather depends on your goal. If the version number

Re: Git Package Versioning

2011-03-20 Thread Stephen Kitt
On Sun, 20 Mar 2011 22:25:38 +0100, Joachim Wiedorn wrote: > Julien Valroff wrote on 2011-03-20 21:48: > > > The best I have found is to use something like: > > +gitMMDD. > > Please be aware, that "+" is not the optimal connector. > Try dpkg --compare-versions and see: > > a) 1.2.0 is l

Re: Git Package Versioning

2011-03-20 Thread Joachim Wiedorn
Julien Valroff wrote on 2011-03-20 21:48: > The best I have found is to use something like: > +gitMMDD. Please be aware, that "+" is not the optimal connector. Try dpkg --compare-versions and see: a) 1.2.0 is less than 1.2.0+git2011 b) 1.2.0 is greater than 1.2.0~git2011 The versi

Re: Git Package Versioning

2011-03-20 Thread Julien Valroff
Hi, Le dimanche 20 mars 2011 à 21:18:43 (+0100 CET), Chris a écrit : > Can anyone point me in the direction of a appropriate package versioning > scheme when packaging software taken directly from a git vcs? The best I have found is to use something like: +gitMMDD. You need the date as the g