com karma: update closed branches for 5.3/5.4/5.5 so only the RMs can push there: hooks/pre-receive
| From: | Ferenc Kovacs | Date: | Wed, 24 Jun 2015 10:37:35 +0000 |
| Subject: | com karma: update closed branches for 5.3/5.4/5.5 so only the RMs can push there: hooks/pre-receive | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87505@lists.php.net to get a copy of this message | ||
Commit: 2b27053096891f2eff96256cc36f6b265ceac424
Author: kovacs.ferenc <kovacs.ferenc@ustream.tv> Wed, 24 Jun 2015 12:37:35 +0200
Parents: 0d617f65ca8b8ba5dd6bcff3c0e8adcdec121cc0
Branches: master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=2b27053096891f2eff96256cc36f6b265ceac424
Log:
update closed branches for 5.3/5..4/5.5 so only the RMs can push there
Changed paths:
M hooks/pre-receive
Diff:
diff --git a/hooks/pre-receive b/hooks/pre-receive
index 0355963..153d811 100755
--- a/hooks/pre-receive
+++ b/hooks/pre-receive
@@ -30,7 +30,11 @@ $restrictedBranches =
'playground.git' => ['refs/heads/dsp']];
// On closed branches only RMs may push
$closedBranches = [
- 'php-src.git' => ['refs/heads/PHP-5.3' => ['johannes',
'rasmus', 'stas', 'jpauli', 'dsp', 'pajoye',
'tyrael']],
+ 'php-src.git' => [
+ 'refs/heads/PHP-5.3' => ['johannes'],
+ 'refs/heads/PHP-5.4' => ['stas', 'dsp'],
+ 'refs/heads/PHP-5.5' => ['dsp', 'jpauli'],
+ ],
'playground.git' => ['refs/heads/johannes' => ['nobody',
'johannes']]
];