ubuntu@coreycb-bastion:/tmp/microstack$ git review
remote: error: branch refs/publish/master:
remote: If you are using git-review, update to at least git-review 1.27. Otherwise:
remote: You need 'Create' rights to create new references.
remote: User: coreycb
remote: Contact an administrator to fix the permissions
remote:
remote: Processing changes: refs: 1
remote: Processing changes: refs: 1, done
To ssh://review.opendev.org:29418/x/microstack.git
! [remote rejected] HEAD -> refs/publish/master (prohibited by Gerrit: not permitted: create)
error: failed to push some refs to 'ssh://<email address hidden>:29418/x/microstack.git'
Thanks Brian.
Verified successfully on bionic-proposed:
ubuntu@ coreycb- bastion: /tmp/microstack $ apt policy git-review nova.clouds. archive. ubuntu. com/ubuntu bionic/universe amd64 Packages dpkg/status
git-review:
Installed: 1.26.0-1
Candidate: 1.26.0-1
Version table:
*** 1.26.0-1 500
500 http://
100 /var/lib/
ubuntu@ coreycb- bastion: /tmp/microstack $ git review master: opendev. org:29418/ x/microstack. git :29418/ x/microstack. git'
remote: error: branch refs/publish/
remote: If you are using git-review, update to at least git-review 1.27. Otherwise:
remote: You need 'Create' rights to create new references.
remote: User: coreycb
remote: Contact an administrator to fix the permissions
remote:
remote: Processing changes: refs: 1
remote: Processing changes: refs: 1, done
To ssh://review.
! [remote rejected] HEAD -> refs/publish/master (prohibited by Gerrit: not permitted: create)
error: failed to push some refs to 'ssh://<email address hidden>
ubuntu@ coreycb- bastion: /tmp/microstack $ apt policy git-review 0ubuntu0. 18.04.1 0ubuntu0. 18.04.1 0ubuntu0. 18.04.1 500 nova.clouds. archive. ubuntu. com/ubuntu bionic- proposed/ universe amd64 Packages dpkg/status nova.clouds. archive. ubuntu. com/ubuntu bionic/universe amd64 Packages
git-review:
Installed: 1.27.0-
Candidate: 1.27.0-
Version table:
*** 1.27.0-
500 http://
100 /var/lib/
1.26.0-1 500
500 http://
ubuntu@ coreycb- bastion: /tmp/microstack $ git review
ssh:// <email address hidden> :29418/ x/microstack. git /review. opendev. org/c/x/ microstack/ +/765001 Add command to README for retrieving admin password opendev. org:29418/ x/microstack. git
Creating a git remote called 'gerrit' that maps to:
Your change was committed before the commit hook was installed.
Amending the commit to add a gerrit change id.
remote:
remote: Processing changes: updated: 1 (\)
remote: Processing changes: updated: 1 (|)
remote: Processing changes: updated: 1 (/)
remote: Processing changes: refs: 1, updated: 1 (/)
remote: Processing changes: refs: 1, updated: 1 (/)
remote: Processing changes: refs: 1, updated: 1, done
remote: commit cbe8209: warning: subject >50 characters; use shorter first paragraph
remote: warning: no changes between prior commit 9d0def2 and new commit cbe8209
remote:
remote: SUCCESS
remote:
remote: https:/
remote:
To ssh://review.
* [new branch] HEAD -> refs/for/master