Merge lp://staging/~andrewsomething/bzr-builddeb/lp876888 into lp://staging/bzr-builddeb

Proposed by Andrew Starr-Bochicchio
Status: Merged
Approved by: James Westby
Approved revision: 639
Merged at revision: 639
Proposed branch: lp://staging/~andrewsomething/bzr-builddeb/lp876888
Merge into: lp://staging/bzr-builddeb
Diff against target: 48 lines (+7/-7)
2 files modified
debian/control (+2/-2)
util.py (+5/-5)
To merge this branch: bzr merge lp://staging/~andrewsomething/bzr-builddeb/lp876888
Reviewer Review Type Date Requested Status
James Westby Approve
Review via email: mp+80698@code.staging.launchpad.net

Description of the change

Use python-distro-info to get list of all Debain and Ubuntu releases.

I would have liked to have gotten rid of the suite_to_distribution function and just use python-distro-info directly, but it doesn't seem to understand '-proposed', '-updates', '-security', '-backports', ect.

>>> UbuntuDistroInfo().valid('natty-updates')
False
>>> UbuntuDistroInfo().valid('natty')
True

This at least makes it so new Ubuntu releases don't have to be manually added every six months.

All tests for util.py pass, but there are some seemingly unrelated failures.

To post a comment you must log in.
Revision history for this message
James Westby (james-w) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches