[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/20: build-aux: Relax the regexp used to match NEWS sections.
From: |
guix-commits |
Subject: |
02/20: build-aux: Relax the regexp used to match NEWS sections. |
Date: |
Sun, 25 Apr 2021 08:37:52 -0400 (EDT) |
civodul pushed a commit to branch version-1.3.0
in repository guix.
commit 18dc8c6f0f76b8d128638105eebad2895f9857f0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Apr 18 09:58:31 2021 -0400
build-aux: Relax the regexp used to match NEWS sections.
A number of packages doesn't really make sense in the name of the section to
be substituted. This change allows using simply '*** new packages' instead
of
'*** 1999 new packages', for example, and have the update-NEWS.scm script
update it.
* build-aux/update-NEWS.scm (write-packages-added) <regexp>: Do not care
about
leading white space in the name of the section.
---
build-aux/update-NEWS.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build-aux/update-NEWS.scm b/build-aux/update-NEWS.scm
index a05ecad..e916f3f 100644
--- a/build-aux/update-NEWS.scm
+++ b/build-aux/update-NEWS.scm
@@ -95,7 +95,7 @@ paragraph."
(with-atomic-file-replacement news-file
(lambda (input output)
(rewrite-org-section input output
- (make-regexp "^(\\*+) (.*) new packages")
+ (make-regexp "^(\\*+).*new packages")
(lambda (match port)
(let ((stars (match:substring match 1)))
(format port
@@ -141,7 +141,7 @@ paragraph."
(with-atomic-file-replacement news-file
(lambda (input output)
(rewrite-org-section input output
- (make-regexp "^(\\*+) (.*) package updates")
+ (make-regexp "^(\\*+).*package updates")
(lambda (match port)
(let ((stars (match:substring match 1))
(lst (map (match-lambda
- branch version-1.3.0 created (now 15b6c2a), guix-commits, 2021/04/25
- 01/20: Merge remote-tracking branch 'origin/wip-ungrafting' into HEAD, guix-commits, 2021/04/25
- 02/20: build-aux: Relax the regexp used to match NEWS sections.,
guix-commits <=
- 06/20: build: Use guix system image instead of disk-image, vm-image., guix-commits, 2021/04/25
- 03/20: build: Add doc-update-po as a prerequisite to the dist target., guix-commits, 2021/04/25
- 07/20: .gitignore: Ignore release artifacts., guix-commits, 2021/04/25
- 04/20: .gitignore: Ignore generated .pot files., guix-commits, 2021/04/25
- 08/20: build: Add a check for Guile-Lib., guix-commits, 2021/04/25
- 16/20: po: Remove file that no longer exists., guix-commits, 2021/04/25
- 05/20: gnu: guile-git: Update to 0.5.1., guix-commits, 2021/04/25
- 09/20: import: go: Do not set '%strict-tokenizer?' from the top level., guix-commits, 2021/04/25
- 20/20: http-client: Remove exception mishandling in 'http-multiple-get'., guix-commits, 2021/04/25
- 10/20: import: go: Autoload (htmlprag)., guix-commits, 2021/04/25