[Top][All Lists]

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

Tracking upstream releases

From: Ludovic Courtès
Subject: Tracking upstream releases
Date: Wed, 21 Oct 2015 14:54:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)


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:

--8<---------------cut here---------------start------------->8---
$ ./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 
gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 
--8<---------------cut here---------------end--------------->8---

(When ‘-t’ is omitted, all the updaters are used.)

So, I invite you to add an updater for your favorite importer!
It’s easy and super cool!  :-)


reply via email to

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