Hi,

Hartmut Goebel <h.goe...@crazy-compilers.com> 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’.

Ludo’.

Reply via email to