[wpkg-users] [Bug 120] Enhanced revision check and handling

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Thu May 15 17:12:58 CEST 2008


http://bugzilla.wpkg.org/show_bug.cgi?id=120


Rainer Meier <r.meier at wpkg.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.meier at wpkg.org




--- Comment #1 from Rainer Meier <r.meier at wpkg.org>  2008-05-15 17:12:45 ---
OK, the syntax with a dash at the end was not foreseen. I will check if such a
thing could be done. However WPKG currently supports dotted version numbers
already. Which is already a big step from WPKG before 1.0 which only supported
integer numbers.
In any case comparing version numbers with different length is somewhat tricky.
I will try to implement the algorithm in a way that "missing digits" in either
side of the comparison are assumed to be "0". This would solve the problem in
your case I think as "2.4.0" would be interpreted as "2.4.0.0" for comparison
with a 4-digit version number. In fact this is not really different to the dash
at the end (as in the referenced Debian document) due to the fact that "-1" is
ratet "higher" than "-0" or even without suffix.

I will investigate.


-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list