Commit Graph

3797 Commits

Author SHA1 Message Date
Michael Hudson-Doyle a8b9a42c21
Merge pull request #863 from MarcusTomlinson/main
Ignore .subiquity directory
2020-11-11 09:49:37 +13:00
Marcus Tomlinson 30089ba86a Ignore .subiquity directory 2020-11-10 17:48:17 +00:00
Dimitri John Ledkov f958015e2c
Merge pull request #855 from mwhudson/lp-1887669
have dependencies/reverse_dependencies consider the relationship betw…
2020-11-09 16:26:37 +00:00
Dimitri John Ledkov 0992e54fb5
Merge pull request #862 from MarcusTomlinson/main
Fix make install_deps and make unit/check
2020-11-09 16:25:54 +00:00
Dimitri John Ledkov 997235886d
Merge pull request #861 from mwhudson/fix-console_conf
trivial fixes for console_conf breakage
2020-11-09 16:22:08 +00:00
Marcus Tomlinson 927c324e0a Fix make install_deps and make unit/check 2020-11-09 12:40:39 +00:00
Michael Hudson-Doyle 00cfee002f trivial fixes for console_conf breakage 2020-11-06 09:54:30 +13:00
Michael Hudson-Doyle 7381df63d5
Merge pull request #859 from mwhudson/lp-1896497
use -report_el_torito as_mkisofs option of xorriso to find command to repack ISO
2020-11-04 15:30:26 +13:00
Michael Hudson-Doyle e42aef6aa8
Merge pull request #854 from mwhudson/client-server-6
fully implement client server model
2020-11-04 15:30:17 +13:00
Michael Hudson-Doyle 6fe600987c pin yarl to 1.5.1 when building the snap too 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle bc81cee393 write some documentation 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 449ad839aa update integration tests 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 303c0d75d6 move reboot controller (the last one!) to new world 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 4367f8f97c move snaplist controller to new world 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 4ab676d984 move ssh controller to new world 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle bd69f2a746 move identity controller to new world 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 4adae88563 move filesystem controller to new world
this cheats a bit and has an instance of FilesystemModel in both the server and the client
2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 50896cc214 add second showing of refresh screen 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 6609114201 move mirror controller to new world 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle c264884c0c move proxy controller to new world 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 7f41803418 move network controller to new world 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle e9071a00ca move zdev controller to new world 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 45a85c554e move keyboard controller to new world 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle aac00dad6c move refresh controller to new world 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 7faa1634ff move controllers with no api presence to server 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 3367b41cf1 split welcome controller into locale (server) and welcome (client) 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 3c30e14313 split installprogress controller into install (server) and progress (client) 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle 92252f8119 split subiquity.controller into client and server versions 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle aad036d925 split subiquity.core into subiquity.client.client and subiquity.server.server 2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle d7a070962b fix shell quoting 2020-11-04 09:30:52 +13:00
Dimitri John Ledkov a70d301cfd
Merge pull request #858 from anonymouse64/feature/uc-snap-routine-console-conf-start
bin/console-conf-wrapper: start snapd console-conf routine after user interacts
2020-11-03 10:31:42 +00:00
Ian Johnson ab27c235b0
bin/console-conf-wrapper: only run if available
Otherwise on a system without support for `snap routine console-conf-start`, console-conf will never actually run. 

Thanks to @xnox for the suggestion.

Co-authored-by: Dimitri John Ledkov <19779+xnox@users.noreply.github.com>
2020-11-02 09:40:22 -06:00
Michael Hudson-Doyle 8987ab792c use -report_el_torito as_mkisofs option of xorriso to find command to repack ISO 2020-10-28 16:32:24 +13:00
Ian Johnson 7cc528ac6d bin/console-conf-wrapper: start snapd console-conf routine after user interacts
After the user has pressed enter to being using console-conf, we should invoke
the snapd routine for console-conf, which currently does the following:
* Unconditionally delays refreshes for 20 minutes from when first invoked.
* Blocks waiting for all pending refreshes to complete, including if those
  involve a reboot.

This is the first step towards a more integrated user story where console-conf
is a part of the first-boot process, and at least will minimize user confusion
where console-conf proceeds asking about network configuration and then just
hangs when snapd starts a refresh as soon as network is available.

The snap routine console-conf-start command was merged to snapd with 
https://github.com/snapcore/snapd/pull/9418 and will be first available in snapd
2.48.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2020-10-27 15:09:49 -05:00
Michael Hudson-Doyle 2b141380e8
Merge pull request #857 from xnox/fix-serial-crash
welcome: fix crash on serial ip addresses
2020-10-21 11:46:19 +13:00
Dimitri John Ledkov a8a8656818
welcome: fix crash on serial ip addresses
LP: #1900707
2020-10-20 14:52:48 +01:00
Dimitri John Ledkov 42b4aec401
Merge pull request #856 from xnox/bump-probert
Bump probert to fixed json output commit
2020-10-20 12:56:58 +01:00
Dimitri John Ledkov 89df170814
Bump probert to fixed json output commit 2020-10-20 12:50:19 +01:00
Michael Hudson-Doyle be02b57791 have dependencies/reverse_dependencies consider the relationship between dasd and disk 2020-10-16 12:29:10 +13:00
Michael Hudson-Doyle 426e55e13f normalize subiquity/controllers/__init__.py 2020-10-12 14:11:02 +13:00
Michael Hudson-Doyle 68f23ffb5a
Merge pull request #853 from mwhudson/network-prep
prepare network code for upcoming client server split
2020-10-12 13:31:32 +13:00
Michael Hudson-Doyle 93b8998af6 split NetworkController into non-ui and ui-focused classes 2020-10-12 12:05:56 +13:00
Michael Hudson-Doyle d6f3f83622 run network answers in run_answers 2020-10-12 11:58:08 +13:00
Michael Hudson-Doyle 287b4492e8 start to factor out bits of networkcontroller that touch the view 2020-10-12 11:47:48 +13:00
Michael Hudson-Doyle 798a9da563 have answers code wait for nic creation/deletion to take effect
the UI will not be quite so synchronous in the client/server world
2020-10-12 11:25:50 +13:00
Michael Hudson-Doyle 8dc31a3c6b change network answers processing to not reference model directly 2020-10-12 11:22:08 +13:00
Michael Hudson-Doyle f89b9e692a asyncioify "fine grained action" handling a bit 2020-10-12 11:16:38 +13:00
Michael Hudson-Doyle 399e711b28
Merge pull request #852 from mwhudson/more-journal
feed progress view via journal
2020-10-09 14:55:59 +13:00
Michael Hudson-Doyle 4364a7ad1a feed progress view via journal
this means curtin events go through the journal twice, but that has to happen
when client and server get split
2020-10-09 14:48:38 +13:00
Michael Hudson-Doyle b3fade946a
Merge pull request #851 from mwhudson/installprogress-tweak
Installprogress tweak
2020-10-09 14:45:33 +13:00