Message ID | 20221113213548.28168-1-jgart@dismail.de |
---|---|
State | New |
Headers | show |
Series | [bug#59254,v2] scripts: describe: Add branch information to json output. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git-branch | success | View Git branch |
cbaines/applying patch | success | |
cbaines/issue | success | View issue |
jgart <jgart@dismail.de> skribis:
> * guix/scripts/describe.scm (channel->json): Add branch information.
Applied, thanks!
Ludo’.
On Sat, 19 Nov 2022 19:42:34 +0100 Ludovic Courtès <ludo@gnu.org> wrote:
> Applied, thanks!
Thanks for the review!
all best,
jgart
diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm index 0c310e3da8..e2233c78a5 100644 --- a/guix/scripts/describe.scm +++ b/guix/scripts/describe.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech> ;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com> +;;; Copyright © 2022 jgart <jgart@dismail.de> ;;; ;;; This file is part of GNU Guix. ;;; @@ -119,6 +120,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