From dcb1cbaab21a9673a2036a6aeb3518e655a478f5 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Thu, 11 Jan 2024 08:32:22 +0100 Subject: [PATCH] accept forked builds as succeeded otherwise we try to rebuild them again, which is not neccessary --- obal/data/modules/copr_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obal/data/modules/copr_build.py b/obal/data/modules/copr_build.py index dcc61ec3..f164d362 100644 --- a/obal/data/modules/copr_build.py +++ b/obal/data/modules/copr_build.py @@ -48,7 +48,7 @@ def build_exists(nevr, package_info, chroot=None): ] successful_builds = [ build for build in chroots - if build['state'] == 'succeeded' + if build['state'] in ['succeeded', 'forked'] ] successful_nevrs = [ "{}-{}".format(build['source_package']['name'], build['source_package']['version'])