Hello All, It seems that after the switch to a new UI some bits were missed in transition.
Sulaco ~/work/coreboot (git::lenovo_z61t_no_ctrl_swap): git review remote: error: branch refs/publish/master/lenovo_z61t_no_ctrl_swap: remote: You need 'Create' rights to create new references. remote: User: lemenkov remote: Contact an administrator to fix the permissions remote: remote: Processing changes: refs: 1 remote: Processing changes: refs: 1, done To ssh://review.coreboot.org:29418/coreboot ! [remote rejected] HEAD -> refs/publish/master/lenovo_z61t_no_ctrl_swap (prohibited by Gerrit: not permitted: create) error: failed to push some refs to 'ssh://lemenkov@review.coreboot.org:29418/coreboot' Sulaco ~/work/coreboot (git::lenovo_z61t_no_ctrl_swap):
I didn't change anything - so I guess the issue is on the Gerrit's side.
Hello Peter,
I have experienced the same issue recently. It looks like Gerrit no longer accepts the old push target branch. Some days ago Gerrit accepted the 'refs/publish/master', but now it only accepts 'refs/for/master'.
According to https://www.coreboot.org/Git 'refs/for/master' is the right branch. To fix this, run:
git config remote.origin.push HEAD:refs/for/master
git config branch.<particularbranchname>.remote origin
Then everything should be ok.
Best regards, Michał
On 27.05.2019 14:58, Peter Lemenkov wrote:
Hello All, It seems that after the switch to a new UI some bits were missed in transition.
Sulaco ~/work/coreboot (git::lenovo_z61t_no_ctrl_swap): git review remote: error: branch refs/publish/master/lenovo_z61t_no_ctrl_swap: remote: You need 'Create' rights to create new references. remote: User: lemenkov remote: Contact an administrator to fix the permissions remote: remote: Processing changes: refs: 1 remote: Processing changes: refs: 1, done To ssh://review.coreboot.org:29418/coreboot ! [remote rejected] HEAD -> refs/publish/master/lenovo_z61t_no_ctrl_swap (prohibited by Gerrit: not permitted: create) error: failed to push some refs to 'ssh://lemenkov@review.coreboot.org:29418/coreboot' Sulaco ~/work/coreboot (git::lenovo_z61t_no_ctrl_swap):
I didn't change anything - so I guess the issue is on the Gerrit's side.
Hello,
пн, 27 мая 2019 г. в 16:26, Michal Zygowski michal.zygowski@3mdeb.com:
Hello Peter,
I have experienced the same issue recently. It looks like Gerrit no longer accepts the old push target branch. Some days ago Gerrit accepted the 'refs/publish/master', but now it only accepts 'refs/for/master'.
According to https://www.coreboot.org/Git 'refs/for/master' is the right branch. To fix this, run:
git config remote.origin.push HEAD:refs/for/master
git config branch.<particularbranchname>.remote origin
Then everything should be ok.
Unfortunately this didn't work for me. I guess there should be something else.
Hi Peter,
Peter Lemenkov lemenkov@gmail.com schrieb am Mo., 27. Mai 2019, 14:58:
Sulaco ~/work/coreboot (git::lenovo_z61t_no_ctrl_swap): git review
You may have to revisit the git review alias. Maybe it hardcodes the refs/publish path?
Michal is correct in that this path was removed by the Gerrit developers.
remote: error: branch refs/publish/master/lenovo_z61
Regards, Patrick
Hello All! I've finally fixed everything. Patrick's suggestion was right - it was a compatibility issue in git-review script I'm using. It is maintained by OpenStack developers and the fix was introduced in 1.27.0 version:
https://docs.openstack.org/infra/git-review/releasenotes.html#relnotes-1-27-...
I've upgraded it and everything works fine again!
пн, 27 мая 2019 г. в 17:08, Patrick Georgi pgeorgi@google.com:
Hi Peter,
Peter Lemenkov lemenkov@gmail.com schrieb am Mo., 27. Mai 2019, 14:58:
Sulaco ~/work/coreboot (git::lenovo_z61t_no_ctrl_swap): git review
You may have to revisit the git review alias. Maybe it hardcodes the refs/publish path?
Michal is correct in that this path was removed by the Gerrit developers.
remote: error: branch refs/publish/master/lenovo_z61
Regards, Patrick