Merge lp:~jelmer/launchpad/bug113563 into lp:launchpad
Proposed by
Jelmer Vernooij
on 2010-04-12
| Status: | Merged |
|---|---|
| Approved by: | Eleanor Berger on 2010-05-17 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 11042 |
| Proposed branch: | lp:~jelmer/launchpad/bug113563 |
| Merge into: | lp:launchpad |
| Diff against target: |
196 lines (+74/-39) 4 files modified
lib/lp/registry/interfaces/distribution.py (+7/-0) lib/lp/registry/model/distribution.py (+13/-8) lib/lp/registry/tests/test_distribution.py (+44/-1) lib/lp/soyuz/scripts/ftpmaster.py (+10/-30) |
| To merge this branch: | bzr merge lp:~jelmer/launchpad/bug113563 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gavin Panella (community) | 2010-04-12 | Abstain on 2010-05-20 | |
| Eleanor Berger (community) | code | 2010-05-11 | Approve on 2010-05-17 |
|
Review via email:
|
|||
Commit Message
ADd IDistribution.
Description of the Change
This fixes an old tech-debt bug (bug 113563) about having a IDistribution.
To post a comment you must log in.
| Henning Eggers (henninge) wrote : | # |
| Jelmer Vernooij (jelmer) wrote : | # |
Thanks, I've fixed those issues at least.
| Gavin Panella (allenap) wrote : | # |
Looking at the diff I saw a problem; getSeriesByStatus() calls distro.getSeries() with no arguments, but arguments are required. Weird. Then I realised that SeriesByStatusTests was never being run because it hadn't been added to test_suite(). Sadly, but not unexpectedly, it doesn't pass :) I'm sure it's not much work to sort out though.
review:
Needs Fixing
review:
Approve
(code)
| Gavin Panella (allenap) wrote : | # |
Ah, I see Tom's reviewed it. Sorry for not getting to this sooner Jelmer.
review:
Abstain

Just a quick look before I turn to your other proposal ;-)
- Please use storm for queries, not SQLobject (DistroSeries. selectBy is not storm).
- Please test None explicitely, as per our style guide.
No review yet, so somebody else can pick it up later, as I won't be around too long.