Merge lp:~jamesodhunt/snappy/show-upgrade-details into lp:~snappy-dev/snappy/snappy-moved-to-github
Status: | Work in progress |
---|---|
Proposed branch: | lp:~jamesodhunt/snappy/show-upgrade-details |
Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
Diff against target: |
114 lines (+76/-0) 1 file modified
snappy/systemimage.go (+76/-0) |
To merge this branch: | bzr merge lp:~jamesodhunt/snappy/show-upgrade-details |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Vogt (community) | Needs Fixing | ||
Review via email: mp+249053@code.launchpad.net |
Description of the change
There will be a follow-on MP to perform additional checks in the upgrader, but given the issues we've had in this area, I think there is value in adding this basic runtime safety check.
* snappy/
- showUpgradeDeta
(displayed if SNAPPY_DEBUG=1).
- checkUpgrade(): Basic test run unconditionally to ensure the upgrade
revision applied is as expected.
Unmerged revisions
- 154. By James Hunt
-
* snappy/
systemimage. go:
- showUpgradeDetails(): Display basic debug showing planned upgrade details
(displayed if SNAPPY_DEBUG=1).
- checkUpgrade(): Basic test run unconditionally to ensure the upgrade
revision applied is as expected.
Thanks for this branch.
I added some inline comments. I also get a test failure when I run this branch.