From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPa9G-0006MD-FT for guix-patches@gnu.org; Wed, 21 Nov 2018 16:35:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPa9F-00071k-VA for guix-patches@gnu.org; Wed, 21 Nov 2018 16:35:02 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:36002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPa9F-00071B-Qg for guix-patches@gnu.org; Wed, 21 Nov 2018 16:35:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gPa9F-00032D-Mb for guix-patches@gnu.org; Wed, 21 Nov 2018 16:35:01 -0500 Subject: [bug#33448] [PATCH 3/3] describe: Add recutils format. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20181121141715.16417-1-go.wigust@gmail.com> <20181121141715.16417-3-go.wigust@gmail.com> Date: Wed, 21 Nov 2018 22:34:29 +0100 In-Reply-To: <20181121141715.16417-3-go.wigust@gmail.com> (Oleg Pykhalov's message of "Wed, 21 Nov 2018 17:17:15 +0300") Message-ID: <878t1mru6y.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Oleg Pykhalov Cc: 33448@debbugs.gnu.org Oleg Pykhalov skribis: > * guix/channels.scm (channel->recutils): New procedure. > * guix/scripts/describe.scm (%options): Add 'recutils' option. > (display-checkout-info, display-profile-info): Use 'channel->recutils'. > * doc/guix.texi (Invoking guix describe): Document this. [...] > +(define (channel->recutils c port) > + (match c > + (($ name url branch commit location) > + (format port "name: ~a~%" name) > + (format port "url: ~a~%" url) > + (format port "commit: ~a~%" commit)))) Same thing here: I=E2=80=99d have a preference for moving it to (guix scrip= ts describe). Otherwise LGTM, thanks! Ludo=E2=80=99.