Rush has submitted this change and it was merged.

Change subject: Explicitly associate 'Patch-For-Review' project to tasks
......................................................................


Explicitly associate 'Patch-For-Review' project to tasks

Phabricator previously allowed to automatically associate projects to
tasks, by adding comments containing '#' + project-tag. With a recent
Phabriactor, this possibility got lost, so we hence explicitly
associate the 'Patch-For-Review' project where applicable.

Bug: T89967
Change-Id: I6c82c12e4d9e06ea00d160fc822e555ae3e55f83
---
M modules/gerrit/files/its/action.config
M modules/gerrit/files/its/templates/DraftPublished.vm
M modules/gerrit/files/its/templates/PatchSetCreated.vm
3 files changed, 2 insertions(+), 4 deletions(-)

Approvals:
  Rush: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/gerrit/files/its/action.config 
b/modules/gerrit/files/its/action.config
index 86d5787..f0207bf 100644
--- a/modules/gerrit/files/its/action.config
+++ b/modules/gerrit/files/its/action.config
@@ -11,8 +11,10 @@
        is-draft = !,true
        association = added@subject,added@footer-Bug,added@footer-bug
        action = add-velocity-comment PatchSetCreated
+       action = add-project Patch-For-Review
 
 [rule "changeDraftPublished"]
        event-type = draft-published
        association = added@subject,added@footer-Bug,added@footer-bug
        action = add-velocity-comment DraftPublished
+       action = add-project Patch-For-Review
diff --git a/modules/gerrit/files/its/templates/DraftPublished.vm 
b/modules/gerrit/files/its/templates/DraftPublished.vm
index 50fa676..f3821d1 100644
--- a/modules/gerrit/files/its/templates/DraftPublished.vm
+++ b/modules/gerrit/files/its/templates/DraftPublished.vm
@@ -2,5 +2,3 @@
 $subject
 
 ${its.formatLink($change-url)}
-
-#patch-for-review
\ No newline at end of file
diff --git a/modules/gerrit/files/its/templates/PatchSetCreated.vm 
b/modules/gerrit/files/its/templates/PatchSetCreated.vm
index 7449d16..015e5e3 100644
--- a/modules/gerrit/files/its/templates/PatchSetCreated.vm
+++ b/modules/gerrit/files/its/templates/PatchSetCreated.vm
@@ -2,5 +2,3 @@
 $subject
 
 ${its.formatLink($change-url)}
-
-#patch-for-review
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/192624
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6c82c12e4d9e06ea00d160fc822e555ae3e55f83
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: QChris <christ...@quelltextlich.at>
Gerrit-Reviewer: Rush <r...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to