[Bug 1905282] Re: [SRU] git-review>=1.27 for updated opendev gerrit

Launchpad Bug Tracker 1905282 at bugs.launchpad.net
Wed Dec 9 00:03:25 UTC 2020


This bug was fixed in the package git-review - 1.27.0-0ubuntu0.18.04.1

---------------
git-review (1.27.0-0ubuntu0.18.04.1) bionic; urgency=medium

  * d/gbp.conf: Update gbp configuration file.
  * d/control: Update Vcs-* links and maintainers.
  * New upstream release to enable compatiblity with updated
    review.opendev.org (LP: #1905282).

 -- Corey Bryant <corey.bryant at canonical.com>  Mon, 23 Nov 2020 10:29:10
-0500

** Changed in: git-review (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to git-review in Ubuntu.
https://bugs.launchpad.net/bugs/1905282

Title:
  [SRU] git-review>=1.27 for updated opendev gerrit

Status in git-review package in Ubuntu:
  Fix Released
Status in git-review source package in Trusty:
  Triaged
Status in git-review source package in Xenial:
  Triaged
Status in git-review source package in Bionic:
  Fix Released
Status in git-review source package in Focal:
  Fix Released
Status in git-review source package in Groovy:
  Fix Released
Status in git-review source package in Hirsute:
  Fix Released

Bug description:
  [Impact]
  OpenStack's gerrit, https://review.opendev.org, was upgraded over the weekend and now running git-review on bionic will result in a failure "prohibited by Gerrit: not permitted: create".

  This is fixed in 1.27.0 and there is a small delta since 1.26.0.

  $ git-pretty 1.26.0..1.27.0
   - [3c46c33] Fix compare_review's use of fetch_review
   - [6587639] Always print failure case when testing remotes
   - [dcbfb32] Use new %topic=XXXX syntax for topic pushes
   - [c7436f9] Start using reno for releasenotes
   - [8236cdb] Use doc/requirements and openstackdocstheme
   - [c9282ae] Update tox docs environment to use sphinx-build
   - [694f532] Update default gerrit namespace
   - [de0d271] tox: default envlist to supported python versions
   - [7de9ffc] support review URLs as download arguments
   - [ed3c79e] expand help for --download option
   - [6f50b59] `work-in-progress` and `private` workflow in Gerrit 2.15
   - [31c5e0b] Document usepushurl in the man page
   - [aeeff97] Fix git review -d M,N with later gerrit
   - [244731b] Testing getting specific patchset
   - [b07a524] Add bindep.txt

  [Test Case]
  Run 'git review' on an openstack change it should successfully push changes to gerrit, and not fail with "prohibited by Gerrit: not permitted: create".

  [Regression Potential]
  'git-review' is used to proposed changes to opendev projects so any regressions would be found through the use of this CLI tool. As of now, the 1.26.0 version of git-review in bionic doesn't work with the upgraded gerrit. We've had version 1.27.0 in focal for 6-7 months now and regressions should be significantly minimized by that.

  [Discussion]
  Work-around for using 1.26.0: In chatting with clarkb he mentioned users can push directly using git push gerrit HEAD:refs/for/$branch or install git review 1.27.0 in a virtualenv.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git-review/+bug/1905282/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list