Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15415733
D21569.id51342.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D21569.id51342.diff
View Options
diff --git a/src/applications/harbormaster/storage/build/HarbormasterBuild.php b/src/applications/harbormaster/storage/build/HarbormasterBuild.php
--- a/src/applications/harbormaster/storage/build/HarbormasterBuild.php
+++ b/src/applications/harbormaster/storage/build/HarbormasterBuild.php
@@ -128,6 +128,11 @@
'step.timestamp' => null,
'build.id' => null,
'initiator.phid' => null,
+
+ 'buildable.phid' => null,
+ 'buildable.object.phid' => null,
+ 'buildable.container.phid' => null,
+ 'build.phid' => null,
);
foreach ($this->getBuildParameters() as $key => $value) {
@@ -145,6 +150,11 @@
$results['build.id'] = $this->getID();
$results['initiator.phid'] = $this->getInitiatorPHID();
+ $results['buildable.phid'] = $buildable->getPHID();
+ $results['buildable.object.phid'] = $object->getPHID();
+ $results['buildable.container.phid'] = $buildable->getContainerPHID();
+ $results['build.phid'] = $this->getPHID();
+
return $results;
}
@@ -161,6 +171,16 @@
'initiator.phid' => pht(
'The PHID of the user or Object that initiated the build, '.
'if applicable.'),
+ 'buildable.phid' => pht(
+ 'The object PHID of the Harbormaster Buildable being built.'),
+ 'buildable.object.phid' => pht(
+ 'The object PHID of the object (usually a diff or commit) '.
+ 'being built.'),
+ 'buildable.container.phid' => pht(
+ 'The object PHID of the container (usually a revision or repository) '.
+ 'for the object being built.'),
+ 'build.phid' => pht(
+ 'The object PHID of the Harbormaster Build being built.'),
);
foreach ($objects as $object) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 21, 7:41 AM (2 d, 2 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7381882
Default Alt Text
D21569.id51342.diff (1 KB)
Attached To
Mode
D21569: Add more useful PHIDs to Harbormaster build variables
Attached
Detach File
Event Timeline
Log In to Comment