guix-devel
[Top][All Lists]
Advanced

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

Re: Tracking upstream releases


From: Alex Kost
Subject: Re: Tracking upstream releases
Date: Thu, 22 Oct 2015 11:17:19 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ludovic Courtès (2015-10-21 15:54 +0300) wrote:

> Hello!
>
> We now have a number of importers, which is great, but so far we had no
> support to update packages once they had been imported, even though most
> of the code to do that already is in the importer.
>
> So commit 0a7c5a09 generalizes the upstream-tracking code from (guix
> gnu-maintenance) a bit, such that we can then easily define “updaters”
> based on the import code.  As an example, subsequent commits add an
> updater for ELPA and one for CRAN.  The end result is:
>
>
> $ ./pre-inst-env guix refresh -t cran -t elpa
> gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 
> to 0.11.0
> gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 
> 11.88.9
>
> (When ‘-t’ is omitted, all the updaters are used.)

Great!  What about instead of (or along with) "-t cran -t elpa", use a
comma separated list as it is done in "guix lint --checkers=..."?

I think "--foo=one,two" is a general syntax, so it would be good to
support it.  Also this will allow to complete several updaters in a
guix-refresh popup (M-x guix r =t).

-- 
Alex



reply via email to

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