[Top][All Lists]

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

[PATCH] refresh: Support comma separated updater types.

From: Alex Kost
Subject: [PATCH] refresh: Support comma separated updater types.
Date: Tue, 27 Oct 2015 22:00:29 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ludovic Courtès (2015-10-26 00:42 +0300) wrote:

> Alex Kost <address@hidden> skribis:
>> 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 agree it would be more consistent (I guess I was a bit lazy here…)
> Would you like to make this change?  Otherwise I can give it a go.

Yes, I'd like.  The patch is attached, thanks!

Attachment: 0001-refresh-Support-comma-separated-updater-types.patch
Description: Text Data

reply via email to

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