GNU bug report logs - #31611
Add a property in packages to refresh to a specific version

Previous Next

Package: guix;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Sun, 27 May 2018 17:56:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#31611: closed (Add a property in packages to refresh to a
 specific version)
Date: Fri, 11 Aug 2023 20:01:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 11 Aug 2023 15:59:48 -0400
with message-id <87ttt5l58r.fsf <at> gmail.com>
and subject line Re: bug#31611: Add a property in packages to refresh to a specific version
has caused the debbugs.gnu.org bug report #31611,
regarding Add a property in packages to refresh to a specific version
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
31611: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31611
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: Add a property in packages to refresh to a specific version
Date: Sun, 27 May 2018 19:55:09 +0200
`guix refresh` always fetches the newest version of packages. This might
not be desired in all cases. E.g. one might want to keep some still
supported "major" upstream-version and not yet update to the next
"major" version.

Ludo suggested to add a property in packages that would instruct
updaters to restrict the version search space to a given regexp.

Rational: Example: KDE Plasma 5 has 5.12 as long-term-support (LTS)
version, while 5.14 has already being released. Do easy maintenance of
dependent packages, sticking to 5.12.x micht be desired.

Original discussion:
https://lists.gnu.org/archive/html/guix-devel/2018-02/msg00055.html

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel <at> crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 31611-done <at> debbugs.gnu.org
Subject: Re: bug#31611: Add a property in packages to refresh to a specific
 version
Date: Fri, 11 Aug 2023 15:59:48 -0400
Hi Hartmut,

Hartmut Goebel <h.goebel <at> crazy-compilers.com> writes:

> `guix refresh` always fetches the newest version of packages. This might
> not be desired in all cases. E.g. one might want to keep some still
> supported "major" upstream-version and not yet update to the next
> "major" version.
>
> Ludo suggested to add a property in packages that would instruct
> updaters to restrict the version search space to a given regexp.
>
> Rational: Example: KDE Plasma 5 has 5.12 as long-term-support (LTS)
> version, while 5.14 has already being released. Do easy maintenance of
> dependent packages, sticking to 5.12.x micht be desired.
>
> Original discussion:
> https://lists.gnu.org/archive/html/guix-devel/2018-02/msg00055.html

It's now possible to refresh to a specific version with the '=' syntax,
as documented in 'info "(guix)Invoking guix refresh"':

E.g.:

--8<---------------cut here---------------start------------->8---
guix refresh qtbase <at> 5=5.15.10 -> qtbase would be upgraded from 5.15.8 to 5.15.10
--8<---------------cut here---------------end--------------->8---

Closing!

-- 
Thanks,
Maxim


This bug report was last modified 1 year and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.