[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/67: etc: committer: Support plain input lists.
From: |
guix-commits |
Subject: |
01/67: etc: committer: Support plain input lists. |
Date: |
Sun, 23 Jan 2022 08:06:25 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 67d74daf0c8b7b6d786859f0be659021f0a153d8
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Jan 23 13:29:07 2022 +0100
etc: committer: Support plain input lists.
* etc/committer.scm.in (change-commit-message): Support new-style plain list
inputs in addition to old-style inputs with labels.
---
etc/committer.scm.in | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/etc/committer.scm.in b/etc/committer.scm.in
index 1ad83e37d7..5a57d51577 100755
--- a/etc/committer.scm.in
+++ b/etc/committer.scm.in
@@ -215,7 +215,12 @@ corresponding to the top-level definition containing the
staged changes."
"Print ChangeLog commit message for changes between OLD and NEW."
(define (get-values expr field)
(match ((sxpath `(// ,field quasiquote *)) expr)
- (() '())
+ (()
+ ;; New-style plain lists
+ (match ((sxpath `(// ,field list *)) expr)
+ ((inner) inner)
+ (_ '())))
+ ;; Old-style labelled inputs
((first . rest)
(map cadadr first))))
(define (listify items)
- branch master updated (cd0afa1345 -> d40c0c3ba0), guix-commits, 2022/01/23
- 03/67: gnu: Add r-admisc., guix-commits, 2022/01/23
- 02/67: gnu: Add r-rcpptoml., guix-commits, 2022/01/23
- 04/67: gnu: r-activepathways: Update to 1.0.4., guix-commits, 2022/01/23
- 01/67: etc: committer: Support plain input lists.,
guix-commits <=
- 05/67: gnu: r-abn: Update to 2.6-0., guix-commits, 2022/01/23
- 26/67: gnu: r-rcppparallel: Update to 5.1.5., guix-commits, 2022/01/23
- 28/67: gnu: r-spam: Update to 2.8-0., guix-commits, 2022/01/23
- 21/67: gnu: r-moonbook: Update to 0.3.1., guix-commits, 2022/01/23
- 13/67: gnu: r-rcpp: Update to 1.0.8., guix-commits, 2022/01/23
- 18/67: gnu: r-reticulate: Update to 1.23., guix-commits, 2022/01/23
- 36/67: gnu: r-sctransform: Update to 0.3.3., guix-commits, 2022/01/23
- 41/67: gnu: r-forecast: Update to 8.16., guix-commits, 2022/01/23
- 30/67: gnu: r-compositions: Update to 2.0-4., guix-commits, 2022/01/23
- 44/67: gnu: r-openmx: Update to 2.20.0., guix-commits, 2022/01/23