Alex Monk has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/317990

Change subject: phabricator: include project creations with policies other than 
public+all-users
......................................................................

phabricator: include project creations with policies other than public+all-users

Change-Id: I974c8cb86dfbd1aece8462b709e49be18c955619
---
M modules/phabricator/templates/project_changes.sh.erb
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/90/317990/1

diff --git a/modules/phabricator/templates/project_changes.sh.erb 
b/modules/phabricator/templates/project_changes.sh.erb
index 9877662..5d89520 100644
--- a/modules/phabricator/templates/project_changes.sh.erb
+++ b/modules/phabricator/templates/project_changes.sh.erb
@@ -58,7 +58,8 @@
     OR project_transaction.transactionType = "core:view-policy"
     OR project_transaction.transactionType = "project:locked"
     OR project_transaction.transactionType = "project:status")
-    AND project_transaction.oldValue != "null"
+    AND (project_transaction.oldValue != "null"
+        OR project_transaction.newValue NOT IN ("public", "users"))
     AND project_transaction.objectPHID = project.phid
     AND project_transaction.dateModified > UNIX_TIMESTAMP(DATE_SUB(NOW(), 
INTERVAL 1 WEEK));
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I974c8cb86dfbd1aece8462b709e49be18c955619
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alex Monk <a...@wikimedia.org>

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

Reply via email to