Merge lp:~michael.nelson/launchpad/create-source-recipe-build2 into lp:launchpad
Proposed by
Michael Nelson
on 2010-02-03
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Muharem Hrnjadovic on 2010-02-04 | ||||
| Approved revision: | not available | ||||
| Merged at revision: | not available | ||||
| Proposed branch: | lp:~michael.nelson/launchpad/create-source-recipe-build2 | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
501 lines (+180/-37) 12 files modified
lib/lp/archiveuploader/permission.py (+19/-10) lib/lp/archiveuploader/tests/test_permission.py (+8/-0) lib/lp/buildmaster/interfaces/buildbase.py (+1/-1) lib/lp/buildmaster/model/buildbase.py (+9/-5) lib/lp/buildmaster/tests/test_buildbase.py (+0/-8) lib/lp/soyuz/interfaces/sourcepackagerecipe.py (+12/-0) lib/lp/soyuz/model/build.py (+4/-9) lib/lp/soyuz/model/sourcepackagerecipe.py (+29/-0) lib/lp/soyuz/model/sourcepackagerecipebuild.py (+2/-1) lib/lp/soyuz/tests/test_build.py (+24/-1) lib/lp/soyuz/tests/test_sourcepackagerecipe.py (+67/-0) lib/lp/soyuz/tests/test_sourcepackagerecipebuild.py (+5/-2) |
||||
| To merge this branch: | bzr merge lp:~michael.nelson/launchpad/create-source-recipe-build2 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Muharem Hrnjadovic (community) | 2010-02-03 | Approve on 2010-02-04 | |
|
Review via email:
|
|||
Commit Message
Adds ISourcePackageR
To post a comment you must log in.
| Michael Nelson (michael.nelson) wrote : | # |

= 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