GNU bug report logs -
#60725
support the special '~' character in our version parser
Previous Next
Full log
Message #11 received at 60725 <at> debbugs.gnu.org (full text, mbox):
retitle 60725 support the special '~' character in our version parser
thanks
Jelle Licht <jlicht <at> fsfe.org> writes:
> Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
>
>> 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---
> In this particular case, 2019111 seems to have been a typo in the first
> place. (It misses out on a '1' in our package record).
Thanks! With this typo fixed, 'guix lint' doesn't suggest a downgrade
anymore.
> AFAIK, any sane versioning scheme would assert that 20191111 > 2019111-anything.
That's not currently the case with Guix. Guix package version strings
are documented has having the requirement to be 'monotonically
increasing', so '43.rc3' as used by GNOME is seen by Guix as newer than
'43', the final release.
I'll keep this bug open (and retitle it), because implementing ~ would
be useful (GNOME makes use of that scheme, and it's understood by rpm,
dpkg, pkg-config, etc.).
--
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.