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?
Thanks,
George Wang
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 -> masterbut 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.5Did 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
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 -> masterbut 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.5Did 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
PHP 5.3 is in security-fix only mode. If you have a security fix then
check with Johannes before merging. Otherwise don't merge to that
branch. Maybe access is restricted - I don't know?
PHP 5.4 is pretty stable, so I (personally) don't think a big change
would be desirable on that branch even for a specialized SAPI. I'd
prefer to encourage people to move to PHP 5.5.
Chris
--
christopher.jones@oracle.com http://twitter.com/ghrd
Free PHP & Oracle book:
http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html
Hannes Magnusson hannes.magnusson@gmail.com schrieb:
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 -> masterbut 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.5Did 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?
It works. We are checking the contents of the commit and all affected
paths in order to allow writes or not. However if a person with insufficient
karma merges he will get a reject during push as the merge might touch paths
that he is not allowed to write to.
It works. We are checking the contents of the commit and all affected
paths in order to allow writes or not. However if a person with insufficient
karma merges he will get a reject during push as the merge might touch paths
that he is not allowed to write to.
I am pretty sure all changes are under sapi/litespeed/ directory. the
same as changes made to master branch.
Is it possible to find out which path fails the merge?
Thanks,
George
Hi!
I am pretty sure all changes are under sapi/litespeed/ directory. the
same as changes made to master branch.
Is it possible to find out which path fails the merge?
Maybe you could push it as a branch to github and create a pull request?
This way it would be clear what git sees there and also anybody with
full access could commit it.
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
On Fri, Nov 8, 2013 at 8:24 AM, Stas Malyshev smalyshev@sugarcrm.comwrote:
Hi!
I am pretty sure all changes are under sapi/litespeed/ directory. the
same as changes made to master branch.
Is it possible to find out which path fails the merge?Maybe you could push it as a branch to github and create a pull request?
This way it would be clear what git sees there and also anybody with
full access could commit it.Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227--
he could also just diff his branch against the origin
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu