Merge lp://qastaging/~juliank/ubuntu-release-upgrader/double-check-source-release into lp://qastaging/ubuntu-release-upgrader

Proposed by Julian Andres Klode
Status: Merged
Merged at revision: 3109
Proposed branch: lp://qastaging/~juliank/ubuntu-release-upgrader/double-check-source-release
Merge into: lp://qastaging/ubuntu-release-upgrader
Diff against target: 122 lines (+93/-0)
3 files modified
DistUpgrade/DistUpgradeController.py (+11/-0)
debian/changelog (+7/-0)
tests/test_sources_list.py (+75/-0)
To merge this branch: bzr merge lp://qastaging/~juliank/ubuntu-release-upgrader/double-check-source-release
Reviewer Review Type Date Requested Status
Ubuntu Core Development Team Pending
Review via email: mp+337258@code.qastaging.launchpad.net

Description of the change

Check that a sources.list entry for the "from" distribution exists
before attempting to upgrade (LP: #1725359)

To post a comment you must log in.
3100. By Julian Andres Klode

Also check that e.type == "deb" when validating fromDist

3101. By Julian Andres Klode

Add test cases for double checking source release

3102. By Julian Andres Klode

Fixup test case to correctly mock get_distro

3103. By Julian Andres Klode

Actually fix up docstrings for the new tests

Revision history for this message
Brian Murray (brian-murray) wrote :

I've added a comment to the bug report regarding fixing this a different way.

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