[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m4_version_compare and new version numbering
From: |
Jim Meyering |
Subject: |
Re: m4_version_compare and new version numbering |
Date: |
Sat, 03 Nov 2007 08:45:43 +0100 |
Eric Blake <address@hidden> wrote:
> According to Jim Meyering on 11/2/2007 1:01 PM:
>>> Also, why is the current version something like 2.61a-248-dc51?
>>> That compares wrongly in order with 2.61b which is what post 2.61a
>>> CVS versions had.
>>
>> Because these versions are post-2.61a, and pre-2.61b :-)
>
> Hmm. Maybe it's time to rewrite m4_version_compare to treat `-' the same
> as `.' when it occurs in the original version strings. Currently,
> m4_version_unletter (a key component in AC_PREREQ) interprets the - in the
> string as a subtraction, with the following results:
An alternative is to change the format of the version string, like
git does. s/-/./g. They also prepend an alpha ('g') to the SHA1 part.
- distcheck fails with autotest: autom4te: cannot open ../../tests/testsuite.tmp: Permission denied, Benoit SIGOURE, 2007/11/01
- Re: distcheck fails with autotest: autom4te: cannot open ../../tests/testsuite.tmp: Permission denied, Ralf Wildenhues, 2007/11/02
- Re: distcheck fails with autotest: autom4te: cannot open ../../tests/testsuite.tmp: Permission denied, Benoit SIGOURE, 2007/11/02
- Re: distcheck fails with autotest: autom4te: cannot open ../../tests/testsuite.tmp: Permission denied, Ralf Wildenhues, 2007/11/02
- Re: distcheck fails with autotest: autom4te: cannot open ../../tests/testsuite.tmp: Permission denied, Jim Meyering, 2007/11/02
- Re: distcheck fails with autotest: autom4te: cannot open ../../tests/testsuite.tmp: Permission denied, Ralf Wildenhues, 2007/11/02
- Re: distcheck fails with autotest: autom4te: cannot open ../../tests/testsuite.tmp: Permission denied, Jim Meyering, 2007/11/02
- m4_version_compare and new version numbering [was: distcheck fails with autotest...], Eric Blake, 2007/11/03
- Re: m4_version_compare and new version numbering,
Jim Meyering <=
- Re: m4_version_compare and new version numbering, Benoit SIGOURE, 2007/11/03
- Re: m4_version_compare and new version numbering, Jim Meyering, 2007/11/03
- Re: m4_version_compare and new version numbering, Andreas Schwab, 2007/11/03
- Re: m4_version_compare and new version numbering, Jim Meyering, 2007/11/03
- Re: m4_version_compare and new version numbering, Andreas Schwab, 2007/11/03
- Re: m4_version_compare and new version numbering, Eric Blake, 2007/11/03
- Re: m4_version_compare and new version numbering, Jim Meyering, 2007/11/03
- Re: m4_version_compare and new version numbering, Ralf Wildenhues, 2007/11/03
- Re: m4_version_compare and new version numbering, Eric Blake, 2007/11/03
- Re: m4_version_compare and new version numbering, Jim Meyering, 2007/11/03