Merge lp:~vorlon/launchpad/lp.994110 into lp:launchpad

Proposed by Steve Langasek
Status: Rejected
Rejected by: Curtis Hovey
Proposed branch: lp:~vorlon/launchpad/lp.994110
Merge into: lp:launchpad
Diff against target: 15 lines (+0/-5)
1 file modified
lib/lp/blueprints/browser/sprint.py (+0/-5)
To merge this branch: bzr merge lp:~vorlon/launchpad/lp.994110
Reviewer Review Type Date Requested Status
Richard Harding (community) code Needs Fixing
Review via email: mp+105078@code.launchpad.net

Description of the change

Don't filter the blueprint list in the sprint export view based on the
spec's definition status. In Ubuntu, blueprints are sometimes (often)
carried over from one cycle to another and we want to rediscuss them at
subsequent UDSes. Since the feed is used as input to the session scheduler,
this extra check requires us to remember to toggle two separate things on
the blueprint to get it re-discussed. We should only need to target the
blueprint to the sprint to get it into the scheduler.

To post a comment you must log in.
Revision history for this message
Richard Harding (rharding) wrote :

Steve, this change breaks tests in:

lib/lp/blueprints/doc/sprint-meeting-export.txt

The change itself is ok since we do disclaimer that it's not a stable interface to be used for tools other than the scheduler so once the tests are updated this should be all ok.

review: Needs Fixing (code)
Revision history for this message
Chris Johnston (cjohnston) wrote :
Revision history for this message
Curtis Hovey (sinzui) wrote :

"We should only need to target the blueprint to the sprint to get it into the scheduler" is the insight needed to do the proper fix. Re-targeting is not updating the SpecificationDefinitionStatus for the drivers and workers to make it clear the definition needs to be realigned with the rest of the work for the series.

Unmerged revisions

15211. By Steve Langasek

Don't unnecessarily filter blueprints out of the feed for a sprint based on
their definition status

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/blueprints/browser/sprint.py'
2--- lib/lp/blueprints/browser/sprint.py 2012-01-01 02:58:52 +0000
3+++ lib/lp/blueprints/browser/sprint.py 2012-05-08 15:01:20 +0000
4@@ -470,11 +470,6 @@
5 if spec.priority < SpecificationPriority.UNDEFINED:
6 continue
7
8- if (spec.definition_status not in
9- [SpecificationDefinitionStatus.NEW,
10- SpecificationDefinitionStatus.DISCUSSION,
11- SpecificationDefinitionStatus.DRAFT]):
12- continue
13 model_specs.append(spec)
14
15 people = defaultdict(dict)