Project

Profile

Help

Task #2350

closed

Replicate downstream PM score field to upstream issues

Added by bmbouter over 7 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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

Actions #1

Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #2

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.

Actions #3

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF