[web-master] main: Temporarily disable commit mails for pecl
| From: | Nikita Popov | Date: | Tue, 06 Apr 2021 08:28:10 +0000 |
| Subject: | [web-master] main: Temporarily disable commit mails for pecl | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-29186@lists.php.net to get a copy of this message | ||
Author: Nikita Popov (nikic)
Date: 2021-04-06T10:27:23+02:00
Commit: https://github.com/php/web-master/commit/5c0ea104faecf342cdf3fc34b17021c54b0905ca
Raw diff: https://github.com/php/web-master/commit/5c0ea104faecf342cdf3fc34b17021c54b0905ca.diff
Temporarily disable commit mails for pecl
I plan to perform a number of repository imports today, make sure
this doesn't end up sending mails for old commits.
Changed paths:
M github-webhook.php
Diff:
diff --git a/github-webhook.php b/github-webhook.php
index 7bbae4b..2aa9a67 100644
--- a/github-webhook.php
+++ b/github-webhook.php
@@ -127,8 +127,8 @@ function get_commit_mailing_list($repoName) {
return 'pecl-cvs@lists.php.net';
} else if (strpos($repoName, 'web-') === 0) {
return 'php-webmaster@lists.php.net';
- } else if (strpos($repoName, 'pecl-') === 0) {
- return 'pecl-cvs@lists.php.net';
+ //} else if (strpos($repoName, 'pecl-') === 0) {
+ //return 'pecl-cvs@lists.php.net';
} else if (strpos($repoName, 'doc-') === 0 && $repoName !==
'doc-gtk') {
return str_replace('-', '_', $repoName) . '@lists.php.net';
} else {