summary refs log tree commit diff
path: root/nix/libutil/archive.cc
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-09-06 23:09:53 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-09-13 02:04:36 -0400
commit5dd3acd0a0941ff9764959b313aae48095c66312 (patch)
tree1051680b91f069aeb83ff30feb82b4866a46ecf6 /nix/libutil/archive.cc
parentf93ad1565b48c127aabcd933e99a13ff2097e2f5 (diff)
downloadguix-5dd3acd0a0941ff9764959b313aae48095c66312.tar.gz
import: gnome: Improve version handling logic.
Before this change, we'd get:

    $ guix refresh gedit
    updating from version 40.1 to version 43.alpha...

This is because the new GNOME version scheme introduced in 2021 with GNOME 40
was not treated correctly.  Also, no longer ignore odd numbered minor
versions, as this appears to be a declining practice in GNOME.

* guix/import/gnome.scm (latest-gnome-release)
<pre-release-text?>: New predicate.
<even-minor-version?>: Rename to...
<release-version?>: ...this.  Return #f in case the version corresponds to a
development release.
* guix/import/gnome.scm (latest-gnome-release): Adjust accordingly.
Diffstat (limited to 'nix/libutil/archive.cc')
0 files changed, 0 insertions, 0 deletions