Task #2350
closedReplicate downstream PM score field to upstream issues
0%
Description
Satellite bugs have a PM score. When a Redmine issue is associated with a Bugzilla, it would be useful to have the Bugzilla PM score also stored on the upstream bug. To accomplish this we should:
1. Add a non-public field named 'Satellite PM Score'. This field should have similar visibility as the existing 'Bugzillas' [0] field.
2. Extend the redmine_bugzilla.py [1] script to do the following pseudocode:
if the upstream bug has exactly 1 downstream bug:
composite_score = the PM score on the downstream bug
else:
composite_score = sum(all downstream bug PM scores)
if composite_score != to the upstream PM score:
update the upstream issue with the composite_score
In practice the implementation should likely save a list of upstream bugs with > 1 downstream BZ associated with it and handle those as a loop dedicated propagating the summed PM score to the upstream bug.
[0]: https://pulp.plan.io/custom_fields/32/edit
[1]: https://github.com/pulp/pulp_packaging/blob/aac1db3656fe7e314ee4223e7556b9a26a82968c/ci/redmine_bugzilla.py
Updated by bmbouter about 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter about 5 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.