GNU bug report logs -
#60725
support the special '~' character in our version parser
Previous Next
Full log
View this message in rfc822 format
Hi Guix,
If you run 'guix lint emacs-enh-ruby-mode', it'll print this:
--8<---------------cut here---------------start------------->8---
emacs-enh-ruby-mode <at> 2019111-0.7e76d75: can be upgraded to 20191111
--8<---------------cut here---------------end--------------->8---
That's wrong; it should know that something that starts with the tag and
has trailing characters is considered newer. Actually, it should
probably implement the RPM scheme used in Debian also, so that an RC can
be understood as older than the final release. The scheme uses the
tilde character (~) as a way to specify that the version is lower than
the number that precedes the tilde.
See the test case here for a "specification" (there may be a better
place):
https://github.com/rpm-software-management/rpm/blob/4afe2d14d33db82ccb41c0a8d5eb1a4db90762fc/tests/rpmvercmp.at#L94
--
Thanks,
Maxim
This bug report was last modified 2 years and 153 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.