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