Merge lp:~abentley/launchpad/recipe-security into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Edwin Grubbs |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~abentley/launchpad/recipe-security |
Merge into: | lp:launchpad |
Prerequisite: | lp:~abentley/launchpad/request-build |
Diff against target: |
432 lines (+116/-39) 11 files modified
configs/development/build-from-branch.zcml (+3/-3) lib/canonical/launchpad/security.py (+26/-1) lib/lp/code/browser/tests/test_sourcepackagerecipe.py (+3/-3) lib/lp/code/interfaces/sourcepackagerecipe.py (+5/-4) lib/lp/code/model/sourcepackagerecipe.py (+2/-4) lib/lp/code/model/sourcepackagerecipedata.py (+5/-0) lib/lp/code/model/tests/test_hasrecipes.py (+8/-10) lib/lp/code/model/tests/test_sourcepackagerecipe.py (+38/-3) lib/lp/code/tests/test_recipebuilder.py (+4/-1) lib/lp/testing/__init__.py (+15/-4) lib/lp/testing/factory.py (+7/-6) |
To merge this branch: | bzr merge lp:~abentley/launchpad/recipe-security |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Edwin Grubbs (community) | Approve | ||
Review via email: mp+23357@code.launchpad.net |
Commit message
Add launchpad.View to SourcePackageRecipe
Description of the change
= Summary =
Provide launchpad.View on SourcePackageRe
== Proposed fix ==
== Pre-implementation notes ==
discussed with rockstar and thumper
== Implementation details ==
launchpad.Edit is already defined, but build requests only need launchpad.View, because they write to the PPA, not the recipe.
launchpad.View was defined in a generic way which should be useful in similar cases.
LaunchpadObject
LaunchpadObject
== Tests ==
bin/test test_sourcepack
== Demo and Q/A ==
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files:
lib/lp/
lib/lp/
lib/canonical
lib/lp/
configs/
lib/lp/
lib/lp/
lib/lp/
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/canonical
lib/lp/
lib/lp/
lib/lp/
== Pyflakes notices ==
lib/lp/
31: local variable 'recipe1' is assigned to but never used
32: local variable 'recipe2' is assigned to but never used
33: local variable 'recipe_ignored' is assigned to but never used
45: local variable 'recipe1' is assigned to but never used
46: local variable 'recipe2' is assigned to but never used
47: local variable 'recipe_ignored' is assigned to but never used
60: local variable 'recipe1' is assigned to but never used
61: local variable 'recipe2' is assigned to but never used
62: local variable 'recipe_ignored' is assigned to but never used
== Pylint notices ==
lib/lp/
54: [E1002, _SourcePackageR
221: [E1002, SourcePackageRe
lib/lp/
11: [F0401] Unable to import 'zope.component'
13: [F0401] Unable to import 'zope.schema'
14: [F0401] Unable to import 'zope.schema.
15: [F0401] Unable to import 'canonical.
17: [F0401] Unable to import 'canonical.
18: [F0401] Unable to import 'canonical.
21: [F0401] Unable to import 'canonical.
22: [F0401] Unable to import 'lp.buildmaster
23: [F0401] Unable to import 'lp.code.
24: [F0401] Unable to import 'lp.soyuz.
25: [F0401] Unable to import 'lp.soyuz.
27: [F0401] Unable to import 'lp.registry.
28: [F0401] Unable to import 'lp.registry.
lib/lp/
100: [W1001, SourcePackageRe
lib/lp/
29: [E1002, TestSourcePacka
lib/canonical/
15: [F0401] Unable to import 'lp.soyuz.
16: [F0401] Unable to import 'lp.code.
17: [F0401] Unable to import 'lp.code.
18: [F0401] Unable to import 'lp.code.
19: [F0401] Unable to import 'lp.code.
20: [F0401] Unable to import 'lp.code.
21: [F0401] Unable to import 'lp.code.
22: [F0401] Unable to import 'lp.registry.
23: [F0401] Unable to import 'lp.code.
24: [F0401] Unable to import 'lp.registry.
25: [F0401] Unable to import 'lp.soyuz.
26: [F0401] Unable to import 'lp.soyuz.
27: [F0401] Unable to import 'lp.soyuz.
28: [F0401] Unable to import 'lp.soyuz.
29: [F0401] Unable to import 'lp.soyuz.
30: [F0401] Unable to import 'lp.soyuz.
31: [F0401] Unable to import 'lp.answers.
32: [F0401] Unable to import 'lp.answers.
33: [F0401] Unable to import 'lp.answers.
34: [F0401] Unable to import 'lp.registry.
35: [F0401] Unable to import 'canonical.
36: [F0401] Unable to import 'lp.hardwaredb.
37: [F0401] Unable to import 'lp.registry.
38: [F0401] Unable to import 'canonical.
39: [F0401] Unable to import 'canonical.
40: [F0401] Unable to import 'canonical.
41: [F0401] Unable to import 'canonical.
42: [F0401] Unable to import 'lp.registry.
43: [F0401] Unable to import 'lp.registry.
44: [F0401] Unable to import 'canonical.
45: [F0401] Unable to import 'lp.registry.
46: [F0401] Unable to import 'canonical.
47: [F0401] Unable to import 'lp.registry.
48: [F0401] Unable to import 'lp.registry.
49: [F0401] Unable to import 'lp.soyuz.
50: [F0401] Unable to import 'lp.soyuz.
51: [F0401] Unable to import 'lp.answers.
52: [F0401] Unable to import 'lp.answers.
53: [F0401] Unable to import 'lp.soyuz.
54: [F0401] Unable to import 'lp.soyuz.
55: [F0401] Unable to import 'lp.blueprints.
56: [F0401] Unable to import 'lp.blueprints.
57: [F0401] Unable to import 'lp.blueprints.
58: [F0401] Unable to import 'lp.blueprints.
59: [F0401] Unable to import 'lp.blueprints.
60: [F0401] Unable to import 'lp.blueprints.
61: [F0401] Unable to import 'lp.blueprints.
62: [F0401] Unable to import 'lp.blueprints.
63: [F0401] Unable to import 'lp.blueprints.
64: [F0401] Unable to import 'lp.registry.
65: [F0401] Unable to import 'lp.registry.
66: [F0401] Unable to import 'canonical.
67: [F0401] Unable to import 'canonical.
lib/lp/
31: [F0401] Unable to import 'pytz'
34: [F0401] Unable to import 'zope.app.
35: [F0401] Unable to import 'zope.component'
36: [F0401] Unable to import 'zope.formlib'
38: [F0401] Unable to import 'zope.security.
39: [F0401] Unable to import 'zope.schema'
40: [F0401] Unable to import 'zope.schema.
41: [F0401] Unable to import 'zope.schema.
42: [F0401] Unable to import 'storm.
46: [F0401] Unable to import 'canonical.
47: [F0401] Unable to import 'canonical.
48: [F0401] Unable to import 'canonical.
49: [F0401] Unable to import 'canonical.
50: [F0401] Unable to import 'lp.buildmaster
51: [F0401] Unable to import 'lp.services.
52: [F0401] Unable to import 'lp.services.
53: [F0401] Unable to import 'lp.soyuz.
54: [F0401] Unable to import 'lp.soyuz.
56: [F0401] Unable to import 'canonical.
57: [F0401] Unable to import 'lp.soyuz.
59: [F0401] Unable to import 'lp.soyuz.
61: [F0401] Unable to import 'lp.soyuz.
64: [F0401] Unable to import 'lp.soyuz.
66: [F0401] Unable to import 'lp.soyuz.
67: [F0401] Unable to import 'lp.soyuz.
68: [F0401] Unable to import 'lp.soyuz.
69: [F0401] Unable to import 'lp.soyuz.
70: [F0401] Unable to import 'lp.soyuz.
71: [F0401] Unable to import 'lp.registry.
72: [F0401] Unable to import 'canonical.
74: [F0401] Unable to import 'lp.soyuz.
76: [F0401] Unable to import 'lp.soyuz.
77: [F0401] Unable to import 'lp.registry.
78: [F0401] Unable to import 'lp.registry.
79: [F0401] Unable to import 'lp.soyuz.
82: [F0401] Unable to import 'lp.registry.
84: [F0401] Unable to import 'canonical.
88: [F0401] Unable to import 'lp.soyuz.
89: [F0401] Unable to import 'canonical.
90: [F0401] Unable to import 'canonical.
91: [F0401] Unable to import 'canonical.
92: [F0401] Unable to import 'canonical.
93: [F0401] Unable to import 'canonical.
94: [F0401] Unable to import 'canonical.
95: [F0401] Unable to import 'canonical.widgets'
97: [F0401] Unable to import 'canonical.
99: [F0401] Unable to import 'canonical.
101: [F0401] Unable to import 'canonical.
791: [E1002, ArchiveView.
989: [E1002, ArchiveSourceSe
Looks good.