update_bug should use review owner instead of latest commiter
Bug #1011705 reported by
Monty Taylor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
Confirmed
|
Low
|
Ricardo Carrillo Cruz |
Bug Description
On 06/08/2012 06:23 PM, Brian Waldon wrote:
> I'm of the opinion that whatever is calling update_bug.py (I forget what repo its in) should be giving it the review owner rather than the last review committer as its argument. Agree?
Also:
James Blair wrote:
zuul/lib/gerrit.py wants to be an independent gerrit API library in
Python but I haven't split it out yet. Depending on when this gets
implemented for update_bug, you may want to use it or temporarily copy
it along with update_bug. It should handle some of the boilerplate
around querying gerrit for information about the change.
Changed in openstack-ci: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: |
added: update-bug removed: gerrit |
Changed in openstack-ci: | |
milestone: | folsom → grizzly |
tags: |
added: updatebug removed: update-bug |
Changed in openstack-ci: | |
milestone: | grizzly → none |
tags: | added: low-hanging-fruit |
Changed in openstack-ci: | |
importance: | Medium → Low |
Changed in openstack-ci: | |
assignee: | nobody → Khai Do (zaro0508) |
Changed in openstack-ci: | |
assignee: | Khai Do (zaro0508) → Ricardo Carrillo Cruz (rcarrillocruz) |
To post a comment you must log in.
The script is in openstack- ci-puppet.
barumuga@ lexpad: ~/projects/ openstack- ci-puppet$ find . -name update_bug.py gerrit/ files/scripts/ update_ bug.py
./modules/
This is called from a gerrit hook. The hook doesn't seem to be stored in git, yet. We should fix the hook to pass review-owner to this script.