Commit Graph

2863 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 992e131b5f squash all exceptions when cancelling the task in SingleInstanceTask
otherwise restarting a failed task just raises the exception from the previous
failure
2019-12-13 10:05:23 +13:00
Michael Hudson-Doyle 4e1afd60a4 do not always stop networkd 2019-12-13 10:04:57 +13:00
Michael Hudson-Doyle b155d3eff0 have apply_config task exit as soon as all dhcp NICs have an address 2019-12-13 10:04:31 +13:00
Michael Hudson-Doyle 08e081415d move async_helpers to subiquitycore 2019-12-13 10:04:02 +13:00
Michael Hudson-Doyle 5a7abd99b7 only run network answers once 2019-12-13 10:03:46 +13:00
Michael Hudson-Doyle eb228ab7f3 introduce a helper for a restartable task
(there are going to be a few of these)
2019-12-13 10:03:32 +13:00
Michael Hudson-Doyle 2d1bd0011d a little refactoring 2019-12-13 09:40:15 +13:00
Michael Hudson-Doyle a260bebc0b rip out TaskSequence 2019-12-13 09:39:48 +13:00
Michael Hudson-Doyle 19f8f91d29 asyncify network controller 2019-12-13 09:39:13 +13:00
Michael Hudson-Doyle efed69ff7c some asyncifying of network 2019-12-13 09:37:36 +13:00
Michael Hudson-Doyle b65a8177a3
Merge pull request #591 from mwhudson/asyncio-installation
asyncioify installation
2019-12-13 09:14:13 +13:00
Michael Hudson-Doyle 9d0d68c679
Merge pull request #592 from mwhudson/form-tweaks
Form tweaks
2019-12-13 09:12:35 +13:00
Steve Langasek 857a28fdcd releasing package subiquity version 19.12.1.1 2019-12-12 11:16:25 -08:00
Steve Langasek 2390e0f616 Drop crufty .deb packages from the source package build. LP: #1855727. 2019-12-12 11:16:17 -08:00
Michael Hudson-Doyle 4c84bb6494 add a form field that has another form as its widget 2019-12-12 23:20:12 +13:00
Michael Hudson-Doyle 05c4fa4403 add a way for a form field not to have space for help 2019-12-12 23:19:46 +13:00
Michael Hudson-Doyle d8746ce75e add a way for a form field to not have a caption 2019-12-12 23:19:09 +13:00
Michael Hudson-Doyle 5a6e2fd62b
Merge pull request #584 from mwhudson/more-error-report-things
More error report things
2019-12-12 22:09:23 +13:00
Michael Hudson-Doyle f549883f80 tweak some log levels 2019-12-12 21:57:20 +13:00
Michael Hudson-Doyle d08cce4970 create an INFO level log file too, unconditionally include it in error reports 2019-12-12 21:49:44 +13:00
Michael Hudson-Doyle 7a447c7e38 record a couple of more things for error reports 2019-12-12 21:46:48 +13:00
Michael Hudson-Doyle 2d2c4e740a update DESIGN.md 2019-12-12 15:48:11 +13:00
Michael Hudson-Doyle c7797cd5dc slightly cuter way of handling auto rebooting 2019-12-12 15:46:34 +13:00
Michael Hudson-Doyle 00ab28aa78 fix handling of failed installations 2019-12-12 15:44:34 +13:00
Michael Hudson-Doyle 193243a498 refactor a little 2019-12-12 15:43:37 +13:00
Michael Hudson-Doyle 3d80f46225 asyncioify the installation 2019-12-12 15:19:22 +13:00
Michael Hudson-Doyle 6157306af7
Merge pull request #582 from xnox/snaplist-checkboxes
Switch snaplist checkbox from () to []
2019-12-12 11:13:53 +13:00
Michael Hudson-Doyle a6235131c2
Merge pull request #581 from mwhudson/controller-set
refactor how controllers are stored
2019-12-12 11:12:58 +13:00
Michael Hudson-Doyle ceb8296653
Merge pull request #590 from mwhudson/update-install_deps
have "make install_deps" install some recently added deps
2019-12-12 10:39:33 +13:00
Michael Hudson-Doyle 297d7c2060 add Application.select_screen
SubiquityUI will want to override this for autoinstally things
2019-12-12 10:38:04 +13:00
Michael Hudson-Doyle fb2f322544 tidy up next/prev_screen 2019-12-12 10:38:04 +13:00
Michael Hudson-Doyle 64378cdb95 refactor how controllers are stored a bit 2019-12-12 10:38:03 +13:00
Michael Hudson-Doyle 9322184af6 have "make install_deps" install some recently added deps 2019-12-12 10:26:57 +13:00
Michael Hudson-Doyle 9e0c0bf106
Merge pull request #589 from mwhudson/bump-probert
bump probert to get fix for device deletion crash
2019-12-12 09:34:13 +13:00
Michael Hudson-Doyle ff53d86bcc bump probert to get fix for device deletion crash 2019-12-12 09:21:30 +13:00
Michael Hudson-Doyle b3c013907b
Merge pull request #586 from mwhudson/restart-after-update
remove last-screen file before restarting subiquity
2019-12-12 09:19:54 +13:00
Michael Hudson-Doyle ecb49aa662
Merge pull request #587 from mwhudson/urwid-bugfix
get a fix from upstream urwid
2019-12-12 09:19:40 +13:00
Michael Hudson-Doyle 411a78ccb3 steal the fix for https://github.com/urwid/urwid/issues/235
the symptom of the bug fixed is that exceptions that crash the process
do not get reported sensibly.
2019-12-11 23:21:11 +13:00
Michael Hudson-Doyle 932f703c7a remove last-screen file before restarting subiquity
this fixes a crash loop when the users updates the subiquity snap
then hits an install failure and selects restart
2019-12-11 23:17:16 +13:00
Michael Hudson-Doyle f8a4b191ac
Merge pull request #579 from mwhudson/asyncio
switch to AsyncioEventLoop and start using asyncio APIs
2019-12-11 15:02:36 +13:00
Michael Hudson-Doyle cac9cba8ec asyncio.create_subprocess_exec does not support check=True 2019-12-11 15:02:18 +13:00
Michael Hudson-Doyle 7b2ee8a1a0 python 3.6 (i.e. bionic) compat 2019-12-11 15:02:18 +13:00
Michael Hudson-Doyle a3b9ba00ba use schedule_task in KeyboardController 2019-12-11 15:02:18 +13:00
Michael Hudson-Doyle e1531eaa6a update DESIGN.md 2019-12-11 15:02:13 +13:00
Michael Hudson-Doyle 67be814dc3 make a helpful async wrapper around snapd 2019-12-11 14:42:04 +13:00
Michael Hudson-Doyle 3ba3b04e09 make async helpers more global 2019-12-11 14:41:41 +13:00
Michael Hudson-Doyle 4bcb275801 convert snaplist controller to asyncio apis 2019-12-11 14:41:18 +13:00
Michael Hudson-Doyle 1aeb1308ec convert refresh controller to asyncio apis 2019-12-11 14:40:54 +13:00
Michael Hudson-Doyle 372ceed689 some helpers 2019-12-11 14:40:31 +13:00
Michael Hudson-Doyle 6d514de5f8 use asyncio apis to load error reports at startup 2019-12-11 14:40:09 +13:00