[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/15: build-aux: Relax the regexp used to match NEWS sections.
From: |
guix-commits |
Subject: |
02/15: build-aux: Relax the regexp used to match NEWS sections. |
Date: |
Sat, 24 Apr 2021 10:34:44 -0400 (EDT) |
apteryx 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 65a042a), guix-commits, 2021/04/24
- 07/15: .gitignore: Ignore release artifacts., guix-commits, 2021/04/24
- 05/15: gnu: guile-git: Update to 0.5.1., guix-commits, 2021/04/24
- 09/15: import: go: Do not set '%strict-tokenizer?' from the top level., guix-commits, 2021/04/24
- 10/15: import: go: Autoload (htmlprag)., guix-commits, 2021/04/24
- 06/15: build: Use guix system image instead of disk-image, vm-image., guix-commits, 2021/04/24
- 04/15: .gitignore: Ignore generated .pot files., guix-commits, 2021/04/24
- 11/15: file-systems: read-partition-{uuid, label} don't swallow ENOENT & co., guix-commits, 2021/04/24
- 02/15: build-aux: Relax the regexp used to match NEWS sections.,
guix-commits <=
- 14/15: guix-install.sh: Allow overriding the Guix binary source., guix-commits, 2021/04/24
- 01/15: Merge remote-tracking branch 'origin/wip-ungrafting' into HEAD, guix-commits, 2021/04/24
- 03/15: build: Add doc-update-po as a prerequisite to the dist target., guix-commits, 2021/04/24
- 08/15: build: Add a check for Guile-Lib., guix-commits, 2021/04/24
- 12/15: gnu: icecat: Update to 78.10.0-guix0-preview1 [security fixes]., guix-commits, 2021/04/24
- 13/15: gnu: wireshark: Update to 3.4.5 [security fixes]., guix-commits, 2021/04/24
- 15/15: WIP: Prepare for the release., guix-commits, 2021/04/24