[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33448] [PATCH 3/3] describe: Add recutils format.
From: |
Ludovic Courtès |
Subject: |
[bug#33448] [PATCH 3/3] describe: Add recutils format. |
Date: |
Wed, 21 Nov 2018 22:34:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Oleg Pykhalov <address@hidden> 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
> + (($ <channel> name url branch commit location)
> + (format port "name: ~a~%" name)
> + (format port "url: ~a~%" url)
> + (format port "commit: ~a~%" commit))))
Same thing here: I’d have a preference for moving it to (guix scripts
describe).
Otherwise LGTM, thanks!
Ludo’.
- [bug#33448] [PATCH] describe: Add json format., (continued)
[bug#33448] [PATCH 3/3] describe: Add recutils format., Oleg Pykhalov, 2018/11/21
- [bug#33448] [PATCH 3/3] describe: Add recutils format.,
Ludovic Courtès <=
[bug#33448] [PATCH 1/3] describe: Use a procedure to format output., Ludovic Courtès, 2018/11/21