Comment 4 for bug 1905282

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Thanks Brian.

Verified successfully on bionic-proposed:

ubuntu@coreycb-bastion:/tmp/microstack$ apt policy git-review
git-review:
  Installed: 1.26.0-1
  Candidate: 1.26.0-1
  Version table:
 *** 1.26.0-1 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

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'

ubuntu@coreycb-bastion:/tmp/microstack$ apt policy git-review
git-review:
  Installed: 1.27.0-0ubuntu0.18.04.1
  Candidate: 1.27.0-0ubuntu0.18.04.1
  Version table:
 *** 1.27.0-0ubuntu0.18.04.1 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     1.26.0-1 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

ubuntu@coreycb-bastion:/tmp/microstack$ git review
Creating a git remote called 'gerrit' that maps to:
        ssh://<email address hidden>:29418/x/microstack.git
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://review.opendev.org/c/x/microstack/+/765001 Add command to README for retrieving admin password
remote:
To ssh://review.opendev.org:29418/x/microstack.git
 * [new branch] HEAD -> refs/for/master