Merge lp:~rockstar/launchpad/recipe-polish into lp:launchpad
Proposed by
Paul Hummer
on 2010-05-07
| Status: | Merged |
|---|---|
| Approved by: | Māris Fogels on 2010-05-07 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 10843 |
| Proposed branch: | lp:~rockstar/launchpad/recipe-polish |
| Merge into: | lp:launchpad |
| Diff against target: |
67 lines (+12/-9) 2 files modified
lib/lp/code/browser/sourcepackagerecipe.py (+4/-1) lib/lp/code/browser/tests/test_sourcepackagerecipe.py (+8/-8) |
| To merge this branch: | bzr merge lp:~rockstar/launchpad/recipe-polish |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Māris Fogels (community) | 2010-05-07 | Approve on 2010-05-07 | |
|
Review via email:
|
|||
Description of the Change
This branch just fixes an issue with showing distroserieses in the recipe
add/edit forms that aren't part of a supported distro. Basically, we can't
build against a distroseries for a distro that doesn't have an archive
available for it. It's a simple branch (simpler than I was originally
working...)
To post a comment you must log in.

Looks good to me. r=mars.
<mars> rockstar, why did you nuke all of that test output around line 49 of the diff? I don't see anything in your code that would suggest its removal.
<rockstar> mars, they were distroseries that have distributions that have no archives.
<rockstar> mars, basically, this branch prevents someone trying to request a recipe build for lenny (Debian)
<rockstar> ...because we don't support any distro but Ubuntu.
<mars> oh! So your fix works, because it proved that the tests themselves had invalid distros in there
<rockstar> mars, yup.
<mars> rockstar, ok. Do you need a test for the explicit exclusion of a distro?
<mars> rockstar, a unit test or something?
<rockstar> mars, no, I don't think so.
<rockstar> The test coverage is being accomplished properly with what we have now.
<mars> ok