[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/13: gnu-maintenance: 'latest-html-release' better computes version nu
From: |
guix-commits |
Subject: |
08/13: gnu-maintenance: 'latest-html-release' better computes version number. |
Date: |
Wed, 17 Mar 2021 07:03:55 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 1d5a946ce506adc4196aa46032350eb2c7e68d09
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Mar 13 22:35:28 2021 +0100
gnu-maintenance: 'latest-html-release' better computes version number.
* guix/gnu-maintenance.scm (latest-html-release): Use 'tarball->version'
rather than 'package-name->name+version' to extract the version number.
This fixes problems with packages like 'netsurf' and 'libdom' that have
"-src" in their tarball name, where "src" would be taken as the new
version number.
---
guix/gnu-maintenance.scm | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 3bffa4d..5aa16ac 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -499,12 +499,9 @@ are unavailable."
(string-append base-url directory "/" url)
url)))
(and (release-file? package base)
- (let-values (((name version)
- (package-name->name+version
- (tarball-sans-extension base)
- #\-)))
+ (let ((version (tarball->version base)))
(upstream-source
- (package name)
+ (package package)
(version version)
(urls (list url))
(signature-urls
- branch master updated (f194fbf -> d45d779), guix-commits, 2021/03/17
- 01/13: daemon: Correctly handle '--discover' with no value., guix-commits, 2021/03/17
- 02/13: doc: Define the term "profile"., guix-commits, 2021/03/17
- 09/13: gnu-maintenance: Add 'generic-html' updater., guix-commits, 2021/03/17
- 07/13: gnu-maintenance: 'latest-html-release' can determine signature file name., guix-commits, 2021/03/17
- 05/13: gnu-maintenance: 'latest-html-release' considers non-relative URLs., guix-commits, 2021/03/17
- 10/13: gnu: hwloc: Add 'release-monitoring-url' property., guix-commits, 2021/03/17
- 04/13: gnu-maintenance: Use (htmlprag) for 'latest-html-release'., guix-commits, 2021/03/17
- 08/13: gnu-maintenance: 'latest-html-release' better computes version number.,
guix-commits <=
- 06/13: gnu-maintenance: 'release-file?' rejects checksum files., guix-commits, 2021/03/17
- 11/13: gnu-maintenance: Remove unused parameters of 'latest-ftp-release'., guix-commits, 2021/03/17
- 13/13: gnu: tig: Update to 2.5.3., guix-commits, 2021/03/17
- 03/13: maint: Check whether Guile-zlib is recent enough., guix-commits, 2021/03/17
- 12/13: gnu-maintenance: Add a timeout on FTP connection establishment., guix-commits, 2021/03/17