Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70021 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86914 invoked from network); 5 Nov 2013 23:27:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2013 23:27:51 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.44 as permitted sender) X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.160.44 mail-pb0-f44.google.com Received: from [209.85.160.44] ([209.85.160.44:57808] helo=mail-pb0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CE/19-40963-5FE79725 for ; Tue, 05 Nov 2013 18:27:50 -0500 Received: by mail-pb0-f44.google.com with SMTP id rp8so2036228pbb.3 for ; Tue, 05 Nov 2013 15:27:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VHaykbbZY/fQDHMEV6baP9cgIGNajPaCU9B+nR+6sa0=; b=XhA8qJIokJn9Fu6w0fbHabiZ8BS0F7viLuPGIIkfjeKiKcRFTj3f0bgGPJLda87xrM nZv9kyHULtbmi8asixc5U2gmwbKqTc+PZxrg6eMPDBr1yancaLyeTbHD1gQKy6hZbxNs cTDTg3X6zYRvYksXr7AyUFA5CRDaUzVdrdM+fNztahDXLzxL/yOyqTbNbuty+26g+ggY qujMfd/3YUTmCUDMrtQywWnuH0abP9vNqAsjLN9qOFhbHokBnBbkebE6W7GKEW8dc3qA haLKVF2vrK6oGzC+cxiO8iyiGJmY3pGp3V5rfGeYxggd1BQl0FGVqanxSsEtfQHwWhCf fJkw== MIME-Version: 1.0 X-Received: by 10.68.212.37 with SMTP id nh5mr216469pbc.16.1383694065589; Tue, 05 Nov 2013 15:27:45 -0800 (PST) Received: by 10.68.183.4 with HTTP; Tue, 5 Nov 2013 15:27:45 -0800 (PST) In-Reply-To: <52796343.9020801@litespeedtech.com> References: <52796343.9020801@litespeedtech.com> Date: Tue, 5 Nov 2013 15:27:45 -0800 Message-ID: To: George Wang , David Soria Parra Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] cannot push to 5.x branches From: hannes.magnusson@gmail.com (Hannes Magnusson) On Tue, Nov 5, 2013 at 1:29 PM, George Wang wrote: > Hi, > > I try to update sapi/litespeed code to the latest. Successfully pushed to > master branch: > > remote: Welcome gwang. > remote: Changesets accepted. Thank you for your contribution. > remote: > remote: Attempting to push to mirror git@github.com:php/php-src.git > remote: To git@github.com:php/php-src.git > remote: c4cfdfa..3720fd7 master -> master > To git@git.php.net:php-src.git > c4cfdfa..3720fd7 HEAD -> master > > but cannot push to 5.x branches. Got: > > remote: Welcome gwang. > remote: You have insufficient Karma! > remote: I'm sorry, I cannot allow you to write to > remote: php-src.git/ > remote: Have a nice day. > To git@git.php.net:php-src.git > ! [remote rejected] HEAD -> 5.3 (pre-receive hook declined) > error: failed to push some refs to 'git@git.php.net:php-src.git' > > My .git/config: > [core] > repositoryformatversion = 0 > filemode = true > bare = false > logallrefupdates = true > [remote "origin"] > url = git@git.php.net:php-src.git > fetch = +refs/heads/*:refs/remotes/origin/* > pushurl = git@git.php.net:php-src.git > [branch "master"] > remote = origin > merge = refs/heads/master > [branch "5.3"] > remote = origin > merge = refs/heads/PHP-5.3 > [branch "5.4"] > remote = origin > merge = refs/heads/PHP-5.4 > [branch "5.5"] > remote = origin > merge = refs/heads/PHP-5.5 > > Did I do anything wrong, or I just need more Karma? > You have karma for the litespeed sapi in php-src... master. We do have a good chunk of people that only have access to specific paths/extensions/sapis in php-src, I guess that doesn't work anymore since the move to git.. I am unsure how the avail line should be to include branches, or how do modify the pre-receive hook to ignore branches when doing the path check.. David? -Hannes