|
From: | Benoit SIGOURE |
Subject: | Re: m4_version_compare and new version numbering |
Date: | Sat, 3 Nov 2007 11:33:39 +0100 |
On Nov 3, 2007, at 8:45 AM, Jim Meyering wrote:
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 sameas `.' when it occurs in the original version strings. Currently,m4_version_unletter (a key component in AC_PREREQ) interprets the - in thestring as a subtraction, with the following results:An alternative is to change the format of the version string, likegit does. s/-/./g. They also prepend an alpha ('g') to the SHA1 part.
I like this alternative better. -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part
[Prev in Thread] | Current Thread | [Next in Thread] |