It does the following:
1. Deals with the review feedback from the previous branch,
2. Ensures that IBuildBase is provided by both SourcePackageRecipeBuild and (Binary)Build (bug 510919)
3. Cleans some lint.
== Proposed fix ==
== Pre-implementation notes ==
Chatted with james_w briefly about what needed to be done.
lib/lp/soyuz/tests/test_sourcepackagerecipe.py
11: [F0401] Unable to import 'bzrlib.plugins.builder.recipe' (No module named builder)
lib/lp/buildmaster/interfaces/buildbase.py
14: [F0401] Unable to import 'lazr.enum' (No module named enum)
15: [F0401] Unable to import 'lazr.restful.declarations' (No module named restful)
16: [F0401] Unable to import 'lazr.restful.fields' (No module named restful)
lib/lp/soyuz/interfaces/sourcepackagerecipe.py
14: [F0401] Unable to import 'lazr.restful.fields' (No module named restful)
77: [E0211, ISourcePackageRecipe.getReferencedBranches] Method has no argument
80: [E0213, ISourcePackageRecipe.requestBuild] Method should have "self" as first argument
95: [E0213, ISourcePackageRecipeSource.new] Method should have "self" as first argument
= Summary =
This branch builds on the work that james_w had approved at:
https:/ /code.edge. launchpad. net/~james- w/launchpad/ create- source- recipe- build/+ merge/17435
I merged devel, so am not able to specify it as the pre-requisite branch (without showing tons of diff), so you can check my specific changes at:
http:// pastebin. ubuntu. com/368292/
or with bzr diff -r 10188..10194
It does the following: cipeBuild and (Binary)Build (bug 510919)
1. Deals with the review feedback from the previous branch,
2. Ensures that IBuildBase is provided by both SourcePackageRe
3. Cleans some lint.
== Proposed fix ==
== Pre-implementation notes ==
Chatted with james_w briefly about what needed to be done.
== Implementation details ==
== Tests ==
bin/test -vv -t test_requestBuild -t TestBuildInterface
== Demo and Q/A ==
= Launchpad lint =
I'm not sure why lint is complaining about 'self' being missing from interface declarations?
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: soyuz/tests/ test_sourcepack agerecipebuild. py archiveuploader /uploadprocesso r.py archiveuploader /permission. py buildmaster/ model/buildbase .py soyuz/tests/ test_build. py soyuz/tests/ test_sourcepack agerecipe. py buildmaster/ tests/test_ buildbase. py soyuz/model/ sourcepackagere cipebuild. py archiveuploader /tests/ test_permission .py soyuz/model/ sourcepackagere cipe.py buildmaster/ interfaces/ buildbase. py soyuz/interface s/sourcepackage recipe. py soyuz/model/ build.py
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/ soyuz/tests/ test_sourcepack agerecipe. py plugins. builder. recipe' (No module named builder)
11: [F0401] Unable to import 'bzrlib.
lib/lp/ buildmaster/ interfaces/ buildbase. py declarations' (No module named restful) fields' (No module named restful)
14: [F0401] Unable to import 'lazr.enum' (No module named enum)
15: [F0401] Unable to import 'lazr.restful.
16: [F0401] Unable to import 'lazr.restful.
lib/lp/ soyuz/interface s/sourcepackage recipe. py fields' (No module named restful) ecipe.getRefere ncedBranches] Method has no argument ecipe.requestBu ild] Method should have "self" as first argument ecipeSource. new] Method should have "self" as first argument
14: [F0401] Unable to import 'lazr.restful.
77: [E0211, ISourcePackageR
80: [E0213, ISourcePackageR
95: [E0213, ISourcePackageR