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://[email protected]: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.

-- 
Michał Żygowski
Firmware Engineer
http://3mdeb.com | @3mdeb_com

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to