Page MenuHomePhabricator

D17604.id42343.diff
No OneTemporary

D17604.id42343.diff

diff --git a/src/applications/differential/edge/DifferentialRevisionHasCommitEdgeType.php b/src/applications/differential/edge/DifferentialRevisionHasCommitEdgeType.php
--- a/src/applications/differential/edge/DifferentialRevisionHasCommitEdgeType.php
+++ b/src/applications/differential/edge/DifferentialRevisionHasCommitEdgeType.php
@@ -12,6 +12,19 @@
return true;
}
+ public function getConduitKey() {
+ return 'revision.commit';
+ }
+
+ public function getConduitName() {
+ return pht('Revision Has Commit');
+ }
+
+ public function getConduitDescription() {
+ return pht(
+ 'The source revision is associated with the destination commit.');
+ }
+
public function getTransactionAddString(
$actor,
$add_count,
diff --git a/src/applications/differential/edge/DifferentialRevisionHasTaskEdgeType.php b/src/applications/differential/edge/DifferentialRevisionHasTaskEdgeType.php
--- a/src/applications/differential/edge/DifferentialRevisionHasTaskEdgeType.php
+++ b/src/applications/differential/edge/DifferentialRevisionHasTaskEdgeType.php
@@ -12,6 +12,18 @@
return true;
}
+ public function getConduitKey() {
+ return 'revision.task';
+ }
+
+ public function getConduitName() {
+ return pht('Revision Has Task');
+ }
+
+ public function getConduitDescription() {
+ return pht('The source revision is associated with the destination task.');
+ }
+
public function getTransactionAddString(
$actor,
$add_count,
diff --git a/src/applications/diffusion/edge/DiffusionCommitHasRevisionEdgeType.php b/src/applications/diffusion/edge/DiffusionCommitHasRevisionEdgeType.php
--- a/src/applications/diffusion/edge/DiffusionCommitHasRevisionEdgeType.php
+++ b/src/applications/diffusion/edge/DiffusionCommitHasRevisionEdgeType.php
@@ -12,4 +12,17 @@
return true;
}
+ public function getConduitKey() {
+ return 'commit.revision';
+ }
+
+ public function getConduitName() {
+ return pht('Commit Has Revision');
+ }
+
+ public function getConduitDescription() {
+ return pht(
+ 'The source commit is associated with the destination revision.');
+ }
+
}
diff --git a/src/applications/diffusion/edge/DiffusionCommitHasTaskEdgeType.php b/src/applications/diffusion/edge/DiffusionCommitHasTaskEdgeType.php
--- a/src/applications/diffusion/edge/DiffusionCommitHasTaskEdgeType.php
+++ b/src/applications/diffusion/edge/DiffusionCommitHasTaskEdgeType.php
@@ -12,6 +12,18 @@
return ManiphestTaskHasCommitEdgeType::EDGECONST;
}
+ public function getConduitKey() {
+ return 'commit.task';
+ }
+
+ public function getConduitName() {
+ return pht('Commit Has Task');
+ }
+
+ public function getConduitDescription() {
+ return pht('The source commit is associated with the destination task.');
+ }
+
public function getTransactionAddString(
$actor,
$add_count,
diff --git a/src/applications/maniphest/edge/ManiphestTaskHasCommitEdgeType.php b/src/applications/maniphest/edge/ManiphestTaskHasCommitEdgeType.php
--- a/src/applications/maniphest/edge/ManiphestTaskHasCommitEdgeType.php
+++ b/src/applications/maniphest/edge/ManiphestTaskHasCommitEdgeType.php
@@ -12,6 +12,18 @@
return DiffusionCommitHasTaskEdgeType::EDGECONST;
}
+ public function getConduitKey() {
+ return 'task.commit';
+ }
+
+ public function getConduitName() {
+ return pht('Task Has Commit');
+ }
+
+ public function getConduitDescription() {
+ return pht('The source task is associated with the destination commit.');
+ }
+
public function getTransactionAddString(
$actor,
$add_count,
diff --git a/src/applications/maniphest/edge/ManiphestTaskHasRevisionEdgeType.php b/src/applications/maniphest/edge/ManiphestTaskHasRevisionEdgeType.php
--- a/src/applications/maniphest/edge/ManiphestTaskHasRevisionEdgeType.php
+++ b/src/applications/maniphest/edge/ManiphestTaskHasRevisionEdgeType.php
@@ -12,6 +12,18 @@
return true;
}
+ public function getConduitKey() {
+ return 'task.revision';
+ }
+
+ public function getConduitName() {
+ return pht('Task Has Revision');
+ }
+
+ public function getConduitDescription() {
+ return pht('The source task is associated with the destination revision.');
+ }
+
public function getTransactionAddString(
$actor,
$add_count,

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 22, 4:06 PM (11 h, 46 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7034050
Default Alt Text
D17604.id42343.diff (4 KB)

Event Timeline