Merge lp:~wgrant/launchpad/bug-612157-ppa-quota-ddebs into lp:launchpad
Proposed by
William Grant
on 2010-08-01
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Māris Fogels on 2010-08-03 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 11297 | ||||
| Proposed branch: | lp:~wgrant/launchpad/bug-612157-ppa-quota-ddebs | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
231 lines (+20/-65) 2 files modified
lib/lp/soyuz/model/archive.py (+20/-29) lib/lp/soyuz/tests/test_archive.py (+0/-36) |
||||
| To merge this branch: | bzr merge lp:~wgrant/launchpad/bug-612157-ppa-quota-ddebs | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Māris Fogels (community) | code | 2010-08-01 | Approve on 2010-08-03 |
|
Review via email:
|
|||
Commit Message
Don't exclude ddebs from the PPA size calculation.
Description of the Change
When reactivating PPA ddeb publication (fixing bug #604433), I failed to notice that the PPA size calculation excluded ddebs (bug #612157). This branch removes the special case and its tests, and fixes lint.
To post a comment you must log in.
| William Grant (wgrant) wrote : | # |
I considered that, but it was just removing a hackish special case. Should we really be testing the absence of every special case?
| Robert Collins (lifeless) wrote : | # |
No

Hi William,
This is a nice, simple change. One potential issue: you removed the requirement that DDEBS not be counted, and you removed the associated test - good. This means that DDEBS should now be included in the archive size, but I see no test asserting that this is true. A previously excluded number is now included in the sum total archive size - some test somewhere should have changed to reflect this.
But maybe not - if you feel that my worry is unfounded, then feel free to land this. The code looks good. r=mars
Maris