[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/13: gnu-maintenance: Remove unused parameters of 'latest-ftp-release'
From: |
guix-commits |
Subject: |
11/13: gnu-maintenance: Remove unused parameters of 'latest-ftp-release'. |
Date: |
Wed, 17 Mar 2021 07:03:56 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 29330b57e2c8cb4fce222bd69155c24bea0f7608
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Mar 17 11:36:59 2021 +0100
gnu-maintenance: Remove unused parameters of 'latest-ftp-release'.
* guix/gnu-maintenance.scm (latest-ftp-release): Remove #:ftp-open,
#:ftp-close,
and #:keep-file?.
---
guix/gnu-maintenance.scm | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 053ad53..31cc948 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -327,16 +327,11 @@ name/directory pairs."
#:key
(server "ftp.gnu.org")
(directory (string-append "/gnu/" project))
- (keep-file? (const #t))
- (file->signature (cut string-append <> ".sig"))
- (ftp-open ftp-open) (ftp-close ftp-close))
+ (file->signature (cut string-append <> ".sig")))
"Return an <upstream-source> for the latest release of PROJECT on SERVER
under DIRECTORY, or #f. Use FTP-OPEN and FTP-CLOSE to open (resp. close) FTP
connections; this can be useful to reuse connections.
-KEEP-FILE? is a predicate to decide whether to enter a directory and to
-consider a given file (source tarball) as a valid candidate based on its name.
-
FILE->SIGNATURE must be a procedure; it is passed a source file URL and must
return the corresponding signature URL, or #f it signatures are unavailable."
(define (latest a b)
@@ -394,7 +389,6 @@ return the corresponding signature URL, or #f it signatures
are unavailable."
(releases (filter-map (match-lambda
((file 'file . _)
(and (release-file? project file)
- (keep-file? file)
(file->source directory file)))
(_ #f))
entries)))
- 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, 2021/03/17
- 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 <=
- 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