Merge lp:~thumper/launchpad/blueprint-dependency-vocabulary into lp:launchpad
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Approved by: | Michael Hudson-Doyle |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12598 |
Proposed branch: | lp:~thumper/launchpad/blueprint-dependency-vocabulary |
Merge into: | lp:launchpad |
Prerequisite: | lp:~thumper/launchpad/blueprint-dependencies |
Diff against target: |
370 lines (+134/-156) 4 files modified
lib/lp/blueprints/vocabularies/specificationdependency.py (+65/-42) lib/lp/blueprints/vocabularies/tests/specificationdepcandidates.txt (+0/-97) lib/lp/blueprints/vocabularies/tests/test_doc.py (+0/-17) lib/lp/blueprints/vocabularies/tests/test_specificationdependency.py (+69/-0) |
To merge this branch: | bzr merge lp:~thumper/launchpad/blueprint-dependency-vocabulary |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Hudson-Doyle | Approve | ||
Review via email: mp+53192@code.launchpad.net |
Commit message
[r=mwhudson][bug=707111] Allow any blueprint to be searched for when adding dependencies.
Description of the change
Allow the vocabulary to work with any dependency.
To post a comment you must log in.
Hi Tim,
This basically looks fine. The only comments I have are:
* I think the ISpecification check is a bit over the top (already said this on IRC), blocked_ query" would be a better name than "_blocked_ subselect" (the latter sounds a bit like it returns the blocked specs) blueprints/ vocabularies/ specificationde pendency. py
* I think _order_by.__doc__ could do with expansion (or deletion -- the current docstring doesn't really add anything)
* I think "_exclude_
* "Not" is imported but not used in ./lib/lp/
"make lint" also reports a few long lines, up to you if you care :)