Merge lp:~jml/launchpad/narrow-commercial-celebrity into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Richard Harding on 2012-05-01 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 15185 | ||||
| Proposed branch: | lp:~jml/launchpad/narrow-commercial-celebrity | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
509 lines (+100/-213) 10 files modified
lib/lp/_schema_circular_imports.py (+3/-5) lib/lp/registry/interfaces/distribution.py (+0/-12) lib/lp/registry/model/distribution.py (+0/-6) lib/lp/soyuz/doc/archive-commercial.txt (+0/-56) lib/lp/soyuz/interfaces/archive.py (+3/-10) lib/lp/soyuz/model/archive.py (+0/-8) lib/lp/soyuz/stories/webservice/xx-archive-commercial.txt (+3/-16) lib/lp/soyuz/tests/test_archive_agent.py (+29/-42) lib/lp/soyuz/tests/test_archive_privacy.py (+54/-57) lib/lp/testing/factory.py (+8/-1) |
||||
| To merge this branch: | bzr merge lp:~jml/launchpad/narrow-commercial-celebrity | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Richard Harding (community) | 2012-05-01 | Approve on 2012-05-01 | |
|
Review via email:
|
|||
Commit Message
Remove IDistribution.
Description of the Change
We don't need getCommercialPPAs at all. It was added for us, we are the only users, and we don't use it. Therefore, it should be deleted. Thus let it be written, thus let it be done.
This branch deletes them both. It also deletes a doctest, archive-
I've updated the documentation in IArchive for commercial to match our current understanding.
If it lands as-is, this branch will leave me 113 deletions in credit (by diffstat's measure). I'm going to need them.
| Jonathan Lange (jml) wrote : | # |
| Richard Harding (rharding) wrote : | # |
Looks good, updated your negative LoC count to 113 after revisions.

Fresh revisions make better use of the new 'commercial' parameter on LaunchpadObject Factory. makeArchive. I also did to test_archive_agent what I did to the other test modules: kill unnecessary helpers, use better helpers from the common library, stop using setUp.