GNU bug report logs - #59254
[PATCH] scripts: describe: Add branch information to json output.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Sun, 13 Nov 2022 21:32:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: jgart <jgart <at> dismail.de>
To: 59254 <at> debbugs.gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [bug#59254] [PATCH] scripts: describe: Add branch information to json output.
Date: Sun, 13 Nov 2022 15:31:01 -0600
* guix/scripts/describe.scm (channel->json): Add branch information.
---
 guix/scripts/describe.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm
index 0c310e3da8..dbc040c54d 100644
--- a/guix/scripts/describe.scm
+++ b/guix/scripts/describe.scm
@@ -119,6 +119,7 @@ (define (channel->json channel)
    (let ((intro (channel-introduction channel)))
      `((name . ,(channel-name channel))
        (url . ,(channel-url channel))
+       (branch . ,(channel-branch channel))
        (commit . ,(channel-commit channel))
        ,@(if intro
              `((introduction
-- 
2.38.1





This bug report was last modified 2 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.