[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/18: gnu-maintenance: Simplify latest-savannah-release.
From: |
guix-commits |
Subject: |
07/18: gnu-maintenance: Simplify latest-savannah-release. |
Date: |
Mon, 26 Sep 2022 17:32:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e96f380fd42963fb08ccbd67e752470d4f42f223
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Sep 1 11:01:52 2022 +0200
gnu-maintenance: Simplify latest-savannah-release.
As latest-html-release now produces mirror:// URIs where possible,
the additional post-processing is not necessary anymore.
As a test, try updating 'gash', the mirror:// URI remains.
* gnu-maintenance.scm (latest-savannah-release): Do not call
adjusted-upstream-source on the result.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
guix/gnu-maintenance.scm | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 604522e913..cb774d2ed6 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -706,15 +706,12 @@ GNOME packages; EMMS is included though, because its
releases are on gnu.org."
((? string? uri) uri)
((uri mirrors ...) uri))))
(package (package-upstream-name package))
- (directory (dirname (uri-path uri)))
- (rewrite (url-prefix-rewrite %savannah-base
- "mirror://savannah")))
+ (directory (dirname (uri-path uri))))
;; Note: We use the default 'file->signature', which adds ".sig", ".asc",
;; or whichever detached signature naming scheme PACKAGE uses.
- (and=> (latest-html-release package
- #:base-url %savannah-base
- #:directory directory)
- (cut adjusted-upstream-source <> rewrite))))
+ (latest-html-release package
+ #:base-url %savannah-base
+ #:directory directory)))
(define (latest-sourceforge-release package)
"Return the latest release of PACKAGE."
- 14/18: gnu: gnome-boxes: Patch 'qemu-img' file name., (continued)
- 14/18: gnu: gnome-boxes: Patch 'qemu-img' file name., guix-commits, 2022/09/26
- 12/18: gnu: Add ec., guix-commits, 2022/09/26
- 05/18: gnu-maintenance: Produce mirror:// URIs in latest-html-release., guix-commits, 2022/09/26
- 10/18: gnu-maintenance: Remove unused procedures., guix-commits, 2022/09/26
- 11/18: gnu-maintenance: Test latest-html-release., guix-commits, 2022/09/26
- 15/18: debug-link: Clarify what CRC is., guix-commits, 2022/09/26
- 16/18: services: nginx: Don't emit empty fields, guix-commits, 2022/09/26
- 17/18: gnu: busybox: Fix cross-compilation., guix-commits, 2022/09/26
- 18/18: file-systems: Add cgroup2 to %pseudo-file-system-types., guix-commits, 2022/09/26
- 04/18: gnu-maintenance: Produce mirror:// URIs in latest-ftp-release., guix-commits, 2022/09/26
- 07/18: gnu-maintenance: Simplify latest-savannah-release.,
guix-commits <=
- 08/18: download: Add a kernel.org mirror., guix-commits, 2022/09/26
- 03/18: lint: Extract logic of 'check-mirror-url'., guix-commits, 2022/09/26