From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Tracking upstream releases Date: Wed, 21 Oct 2015 14:54:11 +0200 Message-ID: <87d1w8crgs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZosuH-00036j-Jz for guix-devel@gnu.org; Wed, 21 Oct 2015 08:54:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZosuE-0008UJ-Cg for guix-devel@gnu.org; Wed, 21 Oct 2015 08:54:17 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZosuE-0008Tl-15 for guix-devel@gnu.org; Wed, 21 Oct 2015 08:54:14 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:35660 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZosuD-0007pl-EU for guix-devel@gnu.org; Wed, 21 Oct 2015 08:54:13 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel 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 =E2=80=9Cupdate= rs=E2=80=9D 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 0.11.0 gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 = to 11.88.9 --8<---------------cut here---------------end--------------->8--- (When =E2=80=98-t=E2=80=99 is omitted, all the updaters are used.) So, I invite you to add an updater for your favorite importer! It=E2=80=99s easy and super cool! :-) Ludo=E2=80=99.