From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] refresh: Add '--list-updaters' option. Date: Sun, 25 Oct 2015 22:46:08 +0100 Message-ID: <87611uk4f3.fsf@gnu.org> References: <87611z9v27.fsf@gmail.com> 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]:49524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqT7G-0007ei-8m for guix-devel@gnu.org; Sun, 25 Oct 2015 17:46:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqT7D-0005CE-Di for guix-devel@gnu.org; Sun, 25 Oct 2015 17:46:14 -0400 In-Reply-To: <87611z9v27.fsf@gmail.com> (Alex Kost's message of "Thu, 22 Oct 2015 11:17:04 +0300") 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: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > From 6d82f6384902e7de837a4dbfc86c524dbfd9145a Mon Sep 17 00:00:00 2001 > From: Alex Kost > Date: Thu, 22 Oct 2015 10:51:17 +0300 > Subject: [PATCH] refresh: Add '--list-updaters' option. > > * guix/scripts/refresh.scm (list-updaters-and-exit): New procedure. > (%options, show-help): Add '--list-updaters' option. > * doc/guix.texi (Invoking guix refresh): Document it. [...] > +@item --list-updaters > +@itemx -L > +List available updaters and exit. Maybe add: =E2=80=9C(see @option{--type} below.)=E2=80=9D OK to push with this change! To make it even more useful, I wonder if we should add a =E2=80=98descripti= on=E2=80=99 field to updaters. The best way to do that would probably be by definition with =E2=80=98define-record-type*=E2=80=99 (because =E2= =80=98description=E2=80=99 is a known keyword for xgettext, as per po/guix/Makevars.) WDYT? Ludo=E2=80=99.