Merge lp:~james-w/launchpad/create-source-recipe-build into lp:launchpad
Proposed by
James Westby
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~james-w/launchpad/create-source-recipe-build |
Merge into: | lp:launchpad |
Prerequisite: | lp:~wgrant/launchpad/sprb-createbuildqueueentry-creation |
Diff against target: |
268 lines (+132/-13) 6 files modified
lib/lp/archiveuploader/permission.py (+19/-10) lib/lp/archiveuploader/tests/test_permission.py (+8/-0) lib/lp/archiveuploader/uploadprocessor.py (+0/-3) lib/lp/soyuz/interfaces/sourcepackagerecipe.py (+10/-0) lib/lp/soyuz/model/sourcepackagerecipe.py (+26/-0) lib/lp/soyuz/tests/test_sourcepackagerecipe.py (+69/-0) |
To merge this branch: | bzr merge lp:~james-w/launchpad/create-source-recipe-build |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | code | Approve | |
Review via email: mp+17435@code.launchpad.net |
To post a comment you must log in.
This adds a requestBuild method to SourcePackageRe cipe, allowing you
to request that the recipe be built in to a specific archive.
There is a TODO which can be removed and the assertion uncommented
when the prerequisite branch is fixed to implement the interface
correctly.
There are a few other changes necessary to do this elegantly:
The objects returned from check_upload_ to_archive now derive from
Exception so that we can raise them directly. This shouldn't affect
existing code.
check_ upload_ to_archive now checks for disabled archives, and this
is moved out of processupload.py
Thanks,
James