[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/18: gnu-maintenance: Remove unused procedures.
From: |
guix-commits |
Subject: |
10/18: gnu-maintenance: Remove unused procedures. |
Date: |
Mon, 26 Sep 2022 17:32:10 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 55d4200002940506607472d326deb130edecf90e
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Sep 1 11:01:55 2022 +0200
gnu-maintenance: Remove unused procedures.
* guix/gnu-maintenance.scm (url-prefix-rewrite, adjusted-upstream-source):
Remove.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
guix/gnu-maintenance.scm | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 824762695c..f983debcd2 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -660,13 +660,6 @@ GNOME packages; EMMS is included though, because its
releases are on gnu.org."
(define gnu-hosted?
(url-prefix-predicate "mirror://gnu/"))
-(define (url-prefix-rewrite old new)
- "Return a one-argument procedure that rewrites URL prefix OLD to NEW."
- (lambda (url)
- (if (and url (string-prefix? old url))
- (string-append new (string-drop url (string-length old)))
- url)))
-
(define (uri-mirror-rewrite uri)
"Rewrite URI to a mirror:// URI if possible, or return URI unmodified."
(if (string-prefix? "mirror://" uri)
@@ -684,15 +677,6 @@ GNOME packages; EMMS is included though, because its
releases are on gnu.org."
mirror-id
(string-drop uri (string-length prefix))))))))))
-(define (adjusted-upstream-source source rewrite-url)
- "Rewrite URLs in SOURCE by apply REWRITE-URL to each of them."
- (upstream-source
- (inherit source)
- (urls (map rewrite-url (upstream-source-urls source)))
- (signature-urls (and=> (upstream-source-signature-urls source)
- (lambda (urls)
- (map rewrite-url urls))))))
-
(define %savannah-base
;; One of the Savannah mirrors listed at
;; <http://download0.savannah.gnu.org/mirmon/savannah/> that serves valid
- branch master updated (28a50eeac7 -> f15a141cf3), guix-commits, 2022/09/26
- 02/18: etc: Add tempel snippet move., guix-commits, 2022/09/26
- 01/18: machine: ssh: Parameterize '%current-system' early on., guix-commits, 2022/09/26
- 06/18: download: Switch savannah mirrors to HTTPS URLs., guix-commits, 2022/09/26
- 09/18: gnu-maintenance: Simplify latest-kernel.org-release., guix-commits, 2022/09/26
- 13/18: gnu: Add texlive-babel-polish., guix-commits, 2022/09/26
- 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 <=
- 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, 2022/09/26
- 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