com karma: Add 7.0 to closedBranches, and 7.2 to (force-push) restricted branches: hooks/pre-receive

From: Date: Mon, 04 Dec 2017 13:05:08 +0000
Subject: com karma: Add 7.0 to closedBranches, and 7.2 to (force-push) restricted branches: hooks/pre-receive
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100477@lists.php.net to get a copy of this message
Commit: 3ab8ab4dd1aad2bb4289157b88d10634ed6cbba7 Author: Derick Rethans <github@derickrethans.nl> Mon, 4 Dec 2017 13:05:08 +0000 Parents: dc1aeacb3e8f909784763fa8631c3dbf7816c8ad Branches: master Link: http://git.php.net/?p=karma.git;a=commitdiff;h=3ab8ab4dd1aad2bb4289157b88d10634ed6cbba7 Log: Add 7.0 to closedBranches, and 7.2 to (force-push) restricted branches Changed paths: M hooks/pre-receive Diff: diff --git a/hooks/pre-receive b/hooks/pre-receive index d419169..ada0a80 100755 --- a/hooks/pre-receive +++ b/hooks/pre-receive @@ -26,8 +26,17 @@ include 'Git/PreReceiveHook.php'; $weKnowWhatWeAreDoing = ['dsp', 'johannes', 'tyrael']; // On restricted branches forced pushes are only possible by users listed in $weKnowWhatWeAreDoing $restrictedBranches = - ['php-src.git' => ['refs/heads/PHP-5.4', 'refs/heads/PHP-5.3', 'refs/heads/PHP-5.5', 'refs/heads/PHP-5.6', 'refs/heads/PHP-7.0', 'refs/heads/PHP-7.1', 'refs/heads/master'], - 'playground.git' => ['refs/heads/dsp']]; + ['php-src.git' => [ + 'refs/heads/PHP-5.3', + 'refs/heads/PHP-5.4', + 'refs/heads/PHP-5.5', + 'refs/heads/PHP-5.6', + 'refs/heads/PHP-7.0', + 'refs/heads/PHP-7.1', + 'refs/heads/PHP-7.2', + 'refs/heads/master' + ], + 'playground.git' => ['refs/heads/dsp']]; // On closed branches only RMs may push $closedBranches = [ 'php-src.git' => [ @@ -35,6 +44,7 @@ $closedBranches = [ 'refs/heads/PHP-5.4' => ['stas', 'dsp', 'jpauli', 'tyrael', 'ab'], 'refs/heads/PHP-5.5' => ['stas', 'dsp', 'jpauli', 'tyrael', 'ab'], 'refs/heads/PHP-5.6' => ['stas', 'dsp', 'jpauli', 'tyrael', 'ab', 'krakjoe', 'davey', 'remi', 'pollita'], + 'refs/heads/PHP-7.0' => ['stas', 'dsp', 'jpauli', 'tyrael', 'ab', 'krakjoe', 'davey', 'remi', 'pollita'], ], 'playground.git' => ['refs/heads/johannes' => ['nobody', 'johannes']] ];

« previous php.cvs (#100477) next »