KarmicUpdatesOnShutdown
2958
Comment: typos
|
2753
remove dead section
|
Deletions are marked like this. | Additions are marked like this. |
Line 48: | Line 48: |
== BoF agenda and discussion == Use this section to take notes during the BoF; if you keep it in the approved spec, use it for summarising what was discussed and note any options that were rejected. |
Launchpad Entry: foundations-karmic-update-on-shutdown
Created: MichaelVogt
Contributors:
Packages affected: update-manager, fusa-applet, gnome-panel, unattended-upgrades
Summary
Frequently, when updates become available, a user will not immediately install them, wishing to avoid being distracted from their current task. By the time they are undistracted, however, they may wish to shutdown their computer. Giving the user the option of installing available updates at shutdown would be very useful in these situations.
Release Note
Ubuntu supports installing updates on shutdown to minimize distraction.
Rationale
Shutdown speed is often not critical, so it's a good time to optional offer to install updates before the final powerdown.
User stories
Kate has finished her office work for the day. She clicks on shutdown with updates and leaves while the computer is installing the updates unattended before powering down.
Design
When the user clicks on shutdown with updates we run update-manager in a special mode. This mode will make the update-manager download/install window a fullscreen window and will run a update in unattended-mode (the code should be merged from unattended-upgrades). Special care must be taken about packages that wait for input (e.g. on the terminal). Those need to be killed. If anything goes wrong during the upgrade, the user needs to be notified on the next restart. Packages that result in conffile questions should be defered (use the logic from unattended-upgrades).
Implementation
We need to integrate into the shutdown functionality (possibly as a new shutdown option?). Update-manager needs to be modified to get some of the smartness of unattended-upgrades and to get a --fullscreen and a --unattended option.
UI Changes
The exact way to present this shutdown option needs to be discussed with the design team. If it should be default (and the other shutdown called fast shutdown) or if there is a new shutdown option.
Test/Demo Plan
It's important that we are able to test new features, and demonstrate them to users. Use this section to describe a short plan that anybody can follow that demonstrates the feature is working. This can then be used during testing, and to show off after release. Please add an entry to http://testcases.qa.ubuntu.com/Coverage/NewFeatures for tracking test coverage.
This need not be added or completed until the specification is nearing beta.
Unresolved issues
The exact UI is not yet finished, the design team is working on this currently.
FoundationsTeam/Specs/KarmicUpdatesOnShutdown (last edited 2009-11-30 02:21:21 by 99-156-85-10)