Merge lp:~jpds/launchpad/fix_116279 into lp:launchpad
Proposed by
Jonathan Davies
on 2010-01-23
| Status: | Work in progress |
|---|---|
| Proposed branch: | lp:~jpds/launchpad/fix_116279 |
| Merge into: | lp:launchpad |
| Diff against target: |
12 lines (+2/-0) 1 file modified
lib/lp/registry/browser/distributionmirror.py (+2/-0) |
| To merge this branch: | bzr merge lp:~jpds/launchpad/fix_116279 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Henning Eggers (community) | code | 2010-01-23 | Needs Fixing on 2010-01-25 |
|
Review via email:
|
|||
Commit Message
On CD image mirror pages, list Ubuntu first and then derivatives.
To post a comment you must log in.
| Jonathan Davies (jpds) wrote : | # |
| Henning Eggers (henninge) wrote : | # |
Thanks for this fix but looking at it I am missing a few things.
1. Did you have a pre-imp chat with some-one from the Launchpad team, preferrably the registry team? I am not sure this solution is ideal because Ubuntu will only be on top until someone comes up with "Zulubuntu" ... ;-)
2. Aren't any tests affected by the change? That would be surprising.
3. In any case, you'd need a test to verify that the order is now as expected.
Cheers,
Henning
review:
Needs Fixing
(code)
Unmerged revisions
- 10096. By Jonathan Davies on 2009-12-31
-
Sort CD image mirror flavours and then reverse the listing so that Ubuntu comes
first.

= Summary =
On our CD image mirror pages, list the derivatives last and place Ubuntu first. Because these aren't in the DB, we have to and .sort() and then .reverse() them as they are read from the .manifest file.