gerrit should include merge commit sha1 in change-merged events
Bug #929723 reported by
James E. Blair
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
In Progress
|
Wishlist
|
James E. Blair |
Bug Description
The change-merged event only includes information about the proposed change that was merged, but if a merge commit was generated for that commit, then it is not included. Typically actions that we would want to take in jenkins would be on the tree with the merge-commit as tip rather than the original commit (which may be based on something other than the current tip). So gerrit should be modified to include that SHA1, and the gerrit trigger plugin should be modified to (optionally?) use it if present.
See: gerrit-
tags: | added: gerrit |
Changed in openstack-ci: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in openstack-ci: | |
assignee: | nobody → James E. Blair (corvus) |
Changed in openstack-ci: | |
milestone: | folsom → grizzly |
Changed in openstack-ci: | |
importance: | Medium → Wishlist |
Changed in openstack-ci: | |
milestone: | grizzly → none |
To post a comment you must log in.
Note that if multiple changes with dependencies get merged at once (because their ancestor is merged) there will be one merge commit used for all the changes. Example:
* e501593 Merge changes Ic9f0d336, Ia4a7402a, I8a62490c
|\
| * c83efb1 test c
| * d3ab4ca test b
| * 57c10a0 test a
* | 3c194f3 test merge
|/
* 9c2d83c common head
(test a, test b, and test c (all based on "common head" were merged into "test merge" via the gerrit generated merge commit on top))
In that case we may be using the same merge commit sha1 for multiple events. It's probably the correct thing to do, however, we'll want to know that when writing jenkins jobs. We may end up making the same tarball twice (however, it should be the _same_ tarball, for whatever that's worth).