Commit Graph

2845 Commits

Author SHA1 Message Date
Michael Hudson-Doyle b547850791 wait for snap update check to complete before interpreting answers 2019-12-20 11:25:33 +13:00
Michael Hudson-Doyle ae9dd41e44
Merge pull request #614 from mwhudson/reporting
structured reporting
2019-12-20 10:57:54 +13:00
Michael Hudson-Doyle 903a8b66ec feed curtin events into context system too 2019-12-20 09:47:38 +13:00
Michael Hudson-Doyle 643e53a583 start reporting install progress events via context 2019-12-20 09:47:38 +13:00
Michael Hudson-Doyle 95a36eff56 use context stuff for fetching the ssh keys 2019-12-20 09:47:38 +13:00
Michael Hudson-Doyle 8fe1bffea1 use context stuff for the snaplist snapd requests 2019-12-20 09:47:38 +13:00
Michael Hudson-Doyle dacd77f2be use context stuff for the refresh snapd requests 2019-12-20 09:47:38 +13:00
Michael Hudson-Doyle eb3851bc16 use context stuff for the geoip lookup 2019-12-20 09:47:38 +13:00
Michael Hudson-Doyle fac0432b24 use context stuff for the block probing 2019-12-20 09:47:38 +13:00
Michael Hudson-Doyle 1d181a794b use context stuff for the error controller 2019-12-20 09:47:38 +13:00
Michael Hudson-Doyle 45478b68a4 add a way to change the default level of a context's children 2019-12-20 09:47:38 +13:00
Michael Hudson-Doyle a91dff2b14 add a way to log a dialog open/close, use it for network dialogs 2019-12-20 09:47:38 +13:00
Michael Hudson-Doyle 4be25fc78f log applying network config via context 2019-12-20 09:47:36 +13:00
Michael Hudson-Doyle 1f1937b03f report progress through screens via context 2019-12-20 09:46:26 +13:00
Michael Hudson-Doyle fa39f10651 fix answers 2019-12-20 09:46:26 +13:00
Michael Hudson-Doyle 1277eaf74e add a ReportingController for subiquity
this feeds events into curtin's reporting framework
2019-12-20 09:46:26 +13:00
Michael Hudson-Doyle 5961b68b7d introduce a Context object for logging start/stop events 2019-12-20 09:46:26 +13:00
Michael Hudson-Doyle e718a4391d
Merge pull request #616 from mwhudson/network-timeout-fix
fix case where NIC does not get DHCP address
2019-12-19 16:19:17 +13:00
Michael Hudson-Doyle 0c268f6c22 fix case where NIC does not get DHCP address 2019-12-19 16:06:56 +13:00
Michael Hudson-Doyle b024f284c1
Merge pull request #615 from mwhudson/snaplist-skip-oops
missed a signal in #613
2019-12-18 11:29:51 +13:00
Michael Hudson-Doyle 8888bd932b missed a signal in #613 2019-12-18 11:29:05 +13:00
Dimitri John Ledkov 904c0e3179
Merge pull request #613 from mwhudson/model-events
stop using urwid signals to coordinate installation
2019-12-17 02:11:32 +00:00
Michael Hudson-Doyle ca1635a1f9 a bit of refactoring 2019-12-17 15:05:17 +13:00
Michael Hudson-Doyle 016b7a4d46 use asyncio.Event()s to indicate when config is done
stop using urwid signals to indicate to installprogress when
a particular piece of config is done and instead call .set() on
an Event that installprogress can wait on.
2019-12-17 14:55:20 +13:00
Michael Hudson-Doyle 2e59d11ad3 add subiquity-specific NetworkController 2019-12-17 14:50:56 +13:00
Michael Hudson-Doyle 997296ec18
Merge pull request #612 from mwhudson/curtin-master-for-now
move to current curtin master, including fix for installing kernels o…
2019-12-17 12:59:27 +13:00
Dimitri John Ledkov dce0f10c10 Merge guided method & disk selection into one screen. (#588)
Merge guided method & disk selection into one screen.
2019-12-17 12:59:03 +13:00
Michael Hudson-Doyle 9e81562e1f move to current curtin master, including fix for installing kernels on !amd64 2019-12-17 12:58:25 +13:00
Michael Hudson-Doyle c7fcc3de67
Merge pull request #611 from mwhudson/mis-indent
indent a "raise" properly
2019-12-17 11:29:33 +13:00
Michael Hudson-Doyle 29c9f0878b indent a "raise" properly 2019-12-17 11:28:42 +13:00
Dimitri John Ledkov 8f88daeb64 Upload subiquity snapshot to unbreak console-conf on core20. 2019-12-16 20:49:39 +00:00
Dimitri John Ledkov ea8d463fbb
Merge pull request #605 from mwhudson/more-asyncio-snaplist
make the snaplist code more async
2019-12-16 19:40:44 +00:00
Dimitri John Ledkov 4bcb0e5fd1
Merge pull request #609 from mwhudson/less-signalling
stop some pointless use of urwid signals
2019-12-16 19:38:45 +00:00
Dimitri John Ledkov 889d4bba23
Merge pull request #610 from mwhudson/remove-cruft
remove ancient model and view code
2019-12-16 19:30:15 +00:00
Michael Hudson-Doyle f02c86175f remove ancient model and view code
Old bcache, iscsi and ceph code from 2015. If we want to look at it
again we can just dig it out of git...
2019-12-17 07:59:30 +13:00
Dimitri John Ledkov 42343d665f
Merge pull request #601 from mwhudson/more-async-refresh
make the refresh view code use asyncio apis
2019-12-16 12:33:22 +00:00
Dimitri John Ledkov c067e5e741
Merge pull request #606 from mwhudson/prober-fail-lower
push debug_flag block probe crashing into Prober
2019-12-16 12:27:16 +00:00
Michael Hudson-Doyle 28d1c917c9
Merge pull request #607 from mwhudson/fix-screens-cmd-line
make --screen command line option do something again
2019-12-16 23:38:20 +13:00
Michael Hudson-Doyle af7b485e43
Merge pull request #608 from mwhudson/fix-filesystem-early
fix getting to the filesystem screen very early
2019-12-16 23:27:04 +13:00
Michael Hudson-Doyle cf16d6c3b9 fix getting to the filesystem screen very early 2019-12-16 23:17:50 +13:00
Michael Hudson-Doyle 33af65bde1 make --screen command line option do something again 2019-12-16 23:17:21 +13:00
Michael Hudson-Doyle 324dddac94 push debug_flag block probe crashing into Prober 2019-12-16 23:15:48 +13:00
Michael Hudson-Doyle 01e5261b3f kill off other top level signals 2019-12-16 23:09:17 +13:00
Michael Hudson-Doyle 2765e6a773 replace next-screen/prev-screen signals with method calls 2019-12-16 23:02:03 +13:00
Michael Hudson-Doyle 4c92e2dd53 make the snaplist code more async 2019-12-16 22:49:14 +13:00
Michael Hudson-Doyle 7e7ca080f6
Merge pull request #604 from mwhudson/tab-cycling-oddity
fix tab-cycling between header and body
2019-12-16 21:37:20 +13:00
Michael Hudson-Doyle 7b697a1978
Merge pull request #602 from mwhudson/selector-non-text
allow Selector to have non-text entries
2019-12-16 21:36:45 +13:00
Michael Hudson-Doyle 8ae0a72184
Merge pull request #603 from mwhudson/simplify-subform
simplify SubForm stuff a bit
2019-12-16 21:33:19 +13:00
Michael Hudson-Doyle b41560fc4c fix tab-cycling between header and body 2019-12-16 21:32:25 +13:00
Michael Hudson-Doyle 9736825e32 simplify SubForm stuff a bit 2019-12-16 21:21:57 +13:00