mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 06:42:41 +01:00
Expose diff IDs to post-diff workflows.
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
746768e779
commit
adef7d4975
1 changed files with 7 additions and 0 deletions
|
@ -21,6 +21,7 @@ class ArcanistDiffWorkflow extends ArcanistBaseWorkflow {
|
||||||
private $hasWarnedExternals = false;
|
private $hasWarnedExternals = false;
|
||||||
private $unresolvedLint;
|
private $unresolvedLint;
|
||||||
private $unresolvedTests;
|
private $unresolvedTests;
|
||||||
|
private $diffID;
|
||||||
|
|
||||||
public function getCommandHelp() {
|
public function getCommandHelp() {
|
||||||
return phutil_console_format(<<<EOTEXT
|
return phutil_console_format(<<<EOTEXT
|
||||||
|
@ -56,6 +57,10 @@ EOTEXT
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getDiffID() {
|
||||||
|
return $this->diffID;
|
||||||
|
}
|
||||||
|
|
||||||
public function getArguments() {
|
public function getArguments() {
|
||||||
return array(
|
return array(
|
||||||
'message' => array(
|
'message' => array(
|
||||||
|
@ -341,6 +346,8 @@ EOTEXT
|
||||||
echo ' '.$change->renderTextSummary()."\n";
|
echo ' '.$change->renderTextSummary()."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->diffID = $diff_info['diffid'];
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue