Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
for bug in commit.fixed_bugs:
build.add_bug(bug)
+ # Upvote the build for the testers
+ for tester in commit.testers:
+ build.upvote(tester)
+
# Create all automatic jobs
build.create_autojobs(arches=arches)
# Import all packages in one swoop.
for pkg in pkgs:
with self.db.transaction():
- build = self.backend.builds.create_from_source_package(pkg,
+ self.backend.builds.create_from_source_package(pkg,
source.distro, commit=commit, type="release")
- # Import any testers from the commit message
- for tester in commit.testers:
- build.upvote(tester)
-
except:
if commit:
commit.state = "failed"