[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu-maintenance: Fix indentation.
From: |
guix-commits |
Subject: |
04/10: gnu-maintenance: Fix indentation. |
Date: |
Sat, 26 Aug 2023 16:19:10 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit a5e67dec2a73ce0d8886a90fc703f7eaa2bc0fa3
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Aug 9 22:41:20 2023 -0400
gnu-maintenance: Fix indentation.
* guix/gnu-maintenance.scm: Re-indent file.
---
guix/gnu-maintenance.scm | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index fc9cf50f29..30792db60f 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -578,11 +578,11 @@ are unavailable."
(coalesce-sources candidates))
;; Select the most recent release and return it.
(reduce (lambda (r1 r2)
- (if (version>? (upstream-source-version r1)
- (upstream-source-version r2))
- r1 r2))
- first
- (coalesce-sources candidates)))))))
+ (if (version>? (upstream-source-version r1)
+ (upstream-source-version r2))
+ r1 r2))
+ first
+ (coalesce-sources candidates)))))))
;;;
@@ -656,20 +656,20 @@ list available from %GNU-FILE-LIST-URI over HTTP(S)."
(tarballs (filter (lambda (file)
(string=? version (tarball->version file)))
relevant)))
- (match tarballs
- (() #f)
- (_
- (upstream-source
- (package name)
- (version version)
- (urls (map (lambda (file)
- (string-append "mirror://gnu/"
- (string-drop file
- (string-length
"/gnu/"))))
- ;; Sort so that the tarball with the same compression
- ;; format as currently used in PACKAGE comes first.
- (sort tarballs better-tarball?)))
- (signature-urls (map (cut string-append <> ".sig") urls))))))))
+ (match tarballs
+ (() #f)
+ (_
+ (upstream-source
+ (package name)
+ (version version)
+ (urls (map (lambda (file)
+ (string-append "mirror://gnu/"
+ (string-drop file
+ (string-length "/gnu/"))))
+ ;; Sort so that the tarball with the same compression
+ ;; format as currently used in PACKAGE comes first.
+ (sort tarballs better-tarball?)))
+ (signature-urls (map (cut string-append <> ".sig") urls))))))))
(define %package-name-rx
;; Regexp for a package name, e.g., "foo-X.Y". Since TeXmacs uses
- branch master updated (cfe55b220a -> 1dce887776), guix-commits, 2023/08/26
- 01/10: gnu-maintenance: Make base-url argument of import-html-release required., guix-commits, 2023/08/26
- 06/10: gnu-maintenance: Document nested procedures in 'import-html-release'., guix-commits, 2023/08/26
- 04/10: gnu-maintenance: Fix indentation.,
guix-commits <=
- 05/10: gnu-maintenance: Accept package object in 'import-html-release' procedure., guix-commits, 2023/08/26
- 07/10: gnu-maintenance: Extract 'canonicalize-url' from 'import-html-release'., guix-commits, 2023/08/26
- 02/10: gnu-maintenance: Fix docstring., guix-commits, 2023/08/26
- 03/10: gnu-maintenance: Extract url->links procedure., guix-commits, 2023/08/26
- 08/10: gnu-maintenance: Add support to rewrite version in URL path., guix-commits, 2023/08/26
- 09/10: gnu-maintenance: Allow mirror URLs to fallback to the generic HTML updater., guix-commits, 2023/08/26
- 10/10: gnu-maintenance: Consider Qt source tarballs as "release files"., guix-commits, 2023/08/26