Re: Git Package Versioning

2011-03-21 Thread Stephen Kitt
Hi, On Mon, 21 Mar 2011 06:36:19 +0100, Julien Valroff jul...@debian.org wrote: or 1.2.1~gitMMDD.githash-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

Git Package Versioning

2011-03-20 Thread Chris
Can anyone point me in the direction of a appropriate package versioning scheme when packaging software taken directly from a git vcs? Thanks, Chris -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

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:

Re: Git Package Versioning

2011-03-20 Thread Joachim Wiedorn
Julien Valroff jul...@debian.org wrote on 2011-03-20 21:48: The best I have found is to use something like: latest_upstream_release+gitMMDD.githash 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)

Re: Git Package Versioning

2011-03-20 Thread Stephen Kitt
On Sun, 20 Mar 2011 22:25:38 +0100, Joachim Wiedorn ad_deb...@joonet.de wrote: Julien Valroff jul...@debian.org wrote on 2011-03-20 21:48: The best I have found is to use something like: latest_upstream_release+gitMMDD.githash Please be aware, that + is not the optimal connector.

Re: Git Package Versioning

2011-03-20 Thread David Bremner
On Sun, 20 Mar 2011 22:25:38 +0100, Joachim Wiedorn ad_deb...@joonet.de 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

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 jul...@debian.org wrote on 2011-03-20 21:48: The best I have found is to use something like: latest_upstream_release+gitMMDD.githash Please be aware, that + is not the optimal connector. Try dpkg

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 ad_deb...@joonet.de wrote: In this example, the Debian package version could be either 1.2.0+gitMMDD.githash-1, which could be read as everything in the 1.2.0