summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHéctor Orón Martínez <hector.oron@collabora.co.uk>2016-05-27 14:18:18 (GMT)
committerHéctor Orón Martínez <hector.oron@collabora.co.uk>2016-05-27 14:18:18 (GMT)
commit50a6f2661aae64e7e172e250b477a84f6bf0df7c (patch)
treeeace2961a2d0c78df705f97c4fbf4d9edeae8b24
parente3b3ad26effa2ce870ade2af97ef34e74720c4e6 (diff)
downloadopen-build-service-50a6f2661aae64e7e172e250b477a84f6bf0df7c.tar.gz
open-build-service-50a6f2661aae64e7e172e250b477a84f6bf0df7c.tar.xz
bughandler: switch to phab-handler instead pqa
Signed-off-by: Héctor Orón Martínez <hector.oron@collabora.co.uk>
-rwxr-xr-xsrc/backend/bs_sched4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/bs_sched b/src/backend/bs_sched
index 2bd847f..a9823a0 100755
--- a/src/backend/bs_sched
+++ b/src/backend/bs_sched
@@ -120,9 +120,9 @@ sub update_bugzilla {
sub update_phab {
my ($bugid, $packid, $myarch, $project, $repo, $pqaconfig) = @_;
print "Updating phabricator....";
- my $comment = "This ticket update was triggered by a successful $project build on $myarch for $repo.\n";
+ my $comment = "This ticket update was triggered by a successful $project build on $myarch for $repo. ($packid)\n";
$comment .= "Once this package build has been integrated into an image, it will be automatically updated again.";
- my @args = ("pqa", "--config", "/etc/arc/$pqaconfig", "update", "--field", "std:maniphest:apertis:package=$packid", "--comment", $comment, "--status", "fixsubmitted", $bugid);
+ my @args = ("phab-handler", "--config", "/etc/arc/$pqaconfig", "update", "-s", "fixsubmitted", "-c", "$comment", $bugid);
system(@args)
}