From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/
Date: Thu, 17 Nov 2022 23:40:40 +0000 (UTC) [thread overview]
Message-ID: <1668728385.0601ad81033983b5aca31bbc3f75f2f995c40be4.mattst88@gentoo> (raw)
commit: 0601ad81033983b5aca31bbc3f75f2f995c40be4
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 16 22:33:17 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Nov 17 23:39:45 2022 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=0601ad81
catalyst: Add .sha256 to list of ignored extensions
Otherwise the presence of a .sha256 file would cause this error:
ERROR:catalyst:CatalystError: Ambiguous Filename: /home/catalyst/builds/default/stage3-ia64-openrc-20220216T032203Z
ERROR:catalyst:Please specify the correct extension as well
Fixes: 7457cd3b ("catalyst: generate .sha256 file if any digest is enabled")
Closes: https://bugs.gentoo.org/881705
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
(cherry picked from commit 1a8d6cd3d31f960755c3237679539d9cab175bc6)
catalyst/support.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/catalyst/support.py b/catalyst/support.py
index 7743b142..6f49d4bf 100644
--- a/catalyst/support.py
+++ b/catalyst/support.py
@@ -64,8 +64,11 @@ def file_check(filepath, extensions=None, strict=True):
# so check if there are files of that name with an extension
files = glob.glob("%s.*" % filepath)
# remove any false positive files
- files = [x for x in files if not x.endswith(".CONTENTS") and not
- x.endswith(".CONTENTS.gz") and not x.endswith(".DIGESTS")]
+ files = [x for x in files if
+ not x.endswith(".CONTENTS") and
+ not x.endswith(".CONTENTS.gz") and
+ not x.endswith(".DIGESTS") and
+ not x.endswith(".sha256")]
if len(files) is 1:
return files[0]
next reply other threads:[~2022-11-17 23:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-17 23:40 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-10-01 16:27 [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/ Matt Turner
2022-01-30 21:02 Matt Turner
2021-07-06 22:13 Matt Turner
2021-06-11 4:14 Matt Turner
2021-06-06 22:38 Matt Turner
2021-03-04 17:18 Ben Kohler
2021-03-04 17:18 Ben Kohler
2020-12-16 16:04 Matt Turner
2020-10-08 21:16 Matt Turner
2020-10-03 16:05 Matt Turner
2020-09-19 18:29 Matt Turner
2020-05-19 16:20 Matt Turner
2020-05-19 15:49 Matt Turner
2020-05-18 20:02 Matt Turner
2020-05-17 18:25 Matt Turner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1668728385.0601ad81033983b5aca31bbc3f75f2f995c40be4.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox