diff --git a/src/applications/differential/edge/DifferentialRevisionHasCommitEdgeType.php b/src/applications/differential/edge/DifferentialRevisionHasCommitEdgeType.php index 8fe95bb844..819794cbd6 100644 --- a/src/applications/differential/edge/DifferentialRevisionHasCommitEdgeType.php +++ b/src/applications/differential/edge/DifferentialRevisionHasCommitEdgeType.php @@ -12,6 +12,19 @@ final class DifferentialRevisionHasCommitEdgeType extends PhabricatorEdgeType { 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 index de9a9cad57..c4cf84c5fe 100644 --- a/src/applications/differential/edge/DifferentialRevisionHasTaskEdgeType.php +++ b/src/applications/differential/edge/DifferentialRevisionHasTaskEdgeType.php @@ -12,6 +12,18 @@ final class DifferentialRevisionHasTaskEdgeType extends PhabricatorEdgeType { 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 index c0b51dd086..ce7a899bda 100644 --- a/src/applications/diffusion/edge/DiffusionCommitHasRevisionEdgeType.php +++ b/src/applications/diffusion/edge/DiffusionCommitHasRevisionEdgeType.php @@ -12,4 +12,17 @@ final class DiffusionCommitHasRevisionEdgeType extends PhabricatorEdgeType { 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 index ad769eff72..497b242650 100644 --- a/src/applications/diffusion/edge/DiffusionCommitHasTaskEdgeType.php +++ b/src/applications/diffusion/edge/DiffusionCommitHasTaskEdgeType.php @@ -12,6 +12,18 @@ final class DiffusionCommitHasTaskEdgeType extends PhabricatorEdgeType { 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 index 4e3505163d..55515a3464 100644 --- a/src/applications/maniphest/edge/ManiphestTaskHasCommitEdgeType.php +++ b/src/applications/maniphest/edge/ManiphestTaskHasCommitEdgeType.php @@ -12,6 +12,18 @@ final class ManiphestTaskHasCommitEdgeType extends PhabricatorEdgeType { 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 index 6bd1e6c94e..7e35f01627 100644 --- a/src/applications/maniphest/edge/ManiphestTaskHasRevisionEdgeType.php +++ b/src/applications/maniphest/edge/ManiphestTaskHasRevisionEdgeType.php @@ -12,6 +12,18 @@ final class ManiphestTaskHasRevisionEdgeType extends PhabricatorEdgeType { 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,