[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix refresh to a specific version?

From: Ludovic Courtès
Subject: Re: guix refresh to a specific version?
Date: Wed, 22 Jun 2022 15:35:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)


Hartmut Goebel <> skribis:

> One can already specify a version, which defines the package to be
> updated. The respective place the code has the comment
> Take either the specified version or the latest one.
> and this was added by you (Ludo) in
> 4b9b3cbbc45afa3e374889847d4ab8673b8b2db2 (April 2015):
> refresh: Allow users to refer to specific package versions.
> * guix/scripts/refresh.scm (guix-refresh): Use 'specification->package'
>   instead of 'find-packages-by-name'.  This allows users to specify
>   things like "qt-4.8.6".

Like you write, this commit is the “wrong end”: it’s about selecting the
package you’re willing to update.

Most entry points in (guix import …) already take a #:version parameter,
which allows you to ask for a specific version when running ‘guix
import’, as in:

  guix import pypi itsdangerous@1.1.0

The goal here is to expose that in the <upstream-updater> API and to use
it in ‘guix refresh’.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]