diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-09-06 23:09:53 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-09-13 02:04:36 -0400 |
commit | 5dd3acd0a0941ff9764959b313aae48095c66312 (patch) | |
tree | 1051680b91f069aeb83ff30feb82b4866a46ecf6 /gnu/packages | |
parent | f93ad1565b48c127aabcd933e99a13ff2097e2f5 (diff) | |
download | guix-5dd3acd0a0941ff9764959b313aae48095c66312.tar guix-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 'gnu/packages')
0 files changed, 0 insertions, 0 deletions