Skip to content

Commit

Permalink
accept forked builds as succeeded
Browse files Browse the repository at this point in the history
otherwise we try to rebuild them again, which is not neccessary
  • Loading branch information
evgeni authored and ekohl committed Jan 11, 2024
1 parent 2a4f24c commit dcb1cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obal/data/modules/copr_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down

0 comments on commit dcb1cba

Please sign in to comment.