guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/13: gnu-maintenance: 'release-file?' rejects checksum files.


From: guix-commits
Subject: 06/13: gnu-maintenance: 'release-file?' rejects checksum files.
Date: Wed, 17 Mar 2021 07:03:55 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 9e75b31b39cd0f95021ca29eed88a6a3b1bff8c1
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Mar 13 17:51:22 2021 +0100

    gnu-maintenance: 'release-file?' rejects checksum files.
    
    * guix/gnu-maintenance.scm (release-file?): Reject ".md5sum",
    ".sha1sum", and ".sha256sum".
---
 guix/gnu-maintenance.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 98d326e..a8b24fa 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -247,7 +247,9 @@ network to check in GNU's database."
 (define (release-file? project file)
   "Return #f if FILE is not a release tarball of PROJECT, otherwise return
 true."
-  (and (not (member (file-extension file) '("sig" "sign" "asc")))
+  (and (not (member (file-extension file)
+                    '("sig" "sign" "asc"
+                      "md5sum" "sha1sum" "sha256sum")))
        (and=> (regexp-exec %tarball-rx file)
               (lambda (match)
                 ;; Filter out unrelated files, like `guile-www-1.1.1'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]