From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Tracking upstream releases Date: Thu, 22 Oct 2015 11:17:19 +0300 Message-ID: <874mhj9v1s.fsf@gmail.com> References: <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]:36474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpB3m-0005B7-3s for guix-devel@gnu.org; Thu, 22 Oct 2015 04:17:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpB3i-0001Or-2c for guix-devel@gnu.org; Thu, 22 Oct 2015 04:17:18 -0400 In-Reply-To: <87d1w8crgs.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 21 Oct 2015 14:54:11 +0200") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Ludovic Court=C3=A8s (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 =E2=80=9Cupda= ters=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: > > > $ ./pre-inst-env guix refresh -t cran -t elpa > gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.1= 0.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 =E2=80=98-t=E2=80=99 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=3D..."? I think "--foo=3Done,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 =3Dt). --=20 Alex