Merge lp:~lukas-kde/unity8/wizardSystemUpdate into lp:unity8
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Michał Sawicz on 2016-07-29 | ||||
| Approved revision: | 2555 | ||||
| Merged at revision: | 2590 | ||||
| Proposed branch: | lp:~lukas-kde/unity8/wizardSystemUpdate | ||||
| Merge into: | lp:unity8 | ||||
| Diff against target: |
835 lines (+477/-29) 17 files modified
plugins/Ubuntu/SystemImage/CMakeLists.txt (+5/-0) plugins/Ubuntu/SystemImage/SystemImage.cpp (+127/-5) plugins/Ubuntu/SystemImage/SystemImage.h (+52/-2) plugins/Ubuntu/SystemImage/plugin.cpp (+3/-9) plugins/Ubuntu/SystemImage/plugin.h (+1/-1) plugins/Wizard/PageList.cpp (+16/-1) plugins/Wizard/System.cpp (+9/-1) plugins/Wizard/System.h (+5/-1) qml/Wizard/Page.qml (+1/-1) qml/Wizard/Pages/30-wifi.qml (+8/-4) qml/Wizard/Pages/77-system-update.qml (+156/-0) tests/mocks/Ubuntu/SystemImage/MockSystemImage.cpp (+24/-1) tests/mocks/Ubuntu/SystemImage/MockSystemImage.h (+22/-2) tests/mocks/Wizard/MockSystem.cpp (+8/-0) tests/mocks/Wizard/MockSystem.h (+4/-0) tests/plugins/Wizard/tst_pagelist.cpp (+30/-1) tests/qmltests/Wizard/tst_Wizard.qml (+6/-0) |
||||
| To merge this branch: | bzr merge lp:~lukas-kde/unity8/wizardSystemUpdate | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michał Sawicz | 2016-07-15 | Approve on 2016-07-29 | |
| Unity8 CI Bot | continuous-integration | Needs Fixing on 2016-07-28 | |
| Daniel d'Andrada (community) | Abstain on 2016-07-28 | ||
|
Review via email:
|
|||
Commit Message
Implement an optional system update feature during OOBE wizard
Description of the Change
Implement a new page with the possibility to invoke a system update during the course of the OOBE wizard
Extends the SystemImage plugin with methods to talk to the respective DBUS daemon that performs the background check and download of the update. If the update is downloaded by the time the user arrives to the 77-system-
The Wizard plugin adds a feature to skip until the last page, to greet the user with "Welcome to Ubuntu" slide on the next boot after a system update had been installed.
Checklist:
* Are there any related MPs required for this MP to build/function as expected? Please list.
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
* If you changed the UI, has there been a design review?
Yes, reviewed by Paty and Grazina
| Michał Sawicz (saviq) wrote : | # |
Do we want all the qDebugs? Should we maybe use something category-based instead of exclamation marks? ;)
Do we want a test for the system update page?
- 2552. By Lukáš Tinkl on 2016-07-28
-
merge trunk
- 2553. By Lukáš Tinkl on 2016-07-28
-
address review comments
| Lukáš Tinkl (lukas-kde) wrote : | # |
Replies inline, fixed what I could
| Michał Sawicz (saviq) wrote : | # |
Poke about a few remaining comments (note in previous diff - click "Show diff comments" or select the previous "Preview Diff" below).
| Daniel d'Andrada (dandrader) wrote : | # |
"""
+ qDebug() << "!!! Rebooting:" << status;
"""
Still need to either remove them or use categorized logging (disabled by default, probably).
- 2554. By Lukáš Tinkl on 2016-07-28
-
convert to categorized logging
| Lukáš Tinkl (lukas-kde) wrote : | # |
> """
> + qDebug() << "!!! Rebooting:" << status;
> """
>
> Still need to either remove them or use categorized logging (disabled by
> default, probably).
Converted to categorized logging
| Daniel d'Andrada (dandrader) wrote : | # |
> > """
> > + qDebug() << "!!! Rebooting:" << status;
> > """
> >
> > Still need to either remove them or use categorized logging (disabled by
> > default, probably).
>
> Converted to categorized logging
Thanks!
| Lukáš Tinkl (lukas-kde) wrote : | # |
Replies inline
- 2555. By Lukáš Tinkl on 2016-07-28
-
simplify the layout, as per Saviq's suggestion
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2552
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2555
https:/
Executed test runs:
SUCCESS: https:/
UNSTABLE: https:/
UNSTABLE: https:/
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Michał Sawicz (saviq) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
Y
* Did CI run pass? If not, please explain why.
Unrelated failures - flaky and/or bug #1607686 on yakkety
- 2556. By Lukáš Tinkl on 2016-08-03
-
partially revert the string change
causing endless loops / freezes in QtQuick
- 2557. By Lukáš Tinkl on 2016-08-08
-
merge trunk

FAILED: Continuous integration, rev:2551 /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/1783/ /unity8- jenkins. ubuntu. com/job/ build/2337 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= vivid+overlay, testname= qmluitests. sh/1248 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= xenial+ overlay, testname= qmluitests. sh/1248 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= yakkety, testname= qmluitests. sh/1248 /unity8- jenkins. ubuntu. com/job/ build-0- fetch/2365 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 2255 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial+ overlay/ 2255 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= yakkety/ 2255 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 2247 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 2247/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 2247 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 2247/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= yakkety/ 2247 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= yakkety/ 2247/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 2247 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 2247/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 2247 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 2247/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= yakkety/ 2247 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= yakkety/ 2247/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 2247 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 2247/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 2247 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 2247/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= yakkety/ 2247 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= yakkety/ 2247/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/1783/ rebuild
https:/