Commit Graph

4276 Commits

Author SHA1 Message Date
Dan Bungert 69873d8ab2 storage/v2: test cleanup 2021-10-06 18:44:22 -06:00
Dan Bungert 7f22e91cb3 storage/v2: add api test 2021-10-06 18:44:22 -06:00
Dan Bungert e5286ad21a storage/v2: start adding v2 types 2021-10-06 18:44:22 -06:00
Dan Bungert f4e07e8aba storage/v2: reset 2021-10-06 18:44:22 -06:00
Dan Bungert f6c3eb8a43 storage/v2: delete_partition 2021-10-06 18:44:22 -06:00
Dan Bungert 010fdecd2c storage/v2: add guided equivalent 2021-10-06 18:44:22 -06:00
Dan Bungert 84b0df3f8f storage/v2: add/edit move args to request body 2021-10-06 18:21:01 -06:00
Dan Bungert 73b02e379b storage/v2: post to mark configured 2021-10-06 18:21:01 -06:00
Dan Bungert d6fc50b131 storage/v2: edit 2021-10-06 18:21:01 -06:00
Dan Bungert 4edff574d9 storage/v2: add_partition 2021-10-06 18:21:01 -06:00
Dan Bungert dcb8380a82 storage/v2: get, reset 2021-10-06 18:21:01 -06:00
Dan Bungert e7276d3fa8
Merge pull request #1069 from mwhudson/lp-1939176
only do x-override-status: confirm games for first request for a screen
2021-10-06 17:34:50 -06:00
Michael Hudson-Doyle eb35a2c69e use a ContextVar to know when a request is part of making a view
we can do this now that we are based on core20
2021-10-06 17:30:47 -06:00
Michael Hudson-Doyle 755436ea45 only do x-override-status: confirm games for first request for a screen
this uses a rather unsatisfactory way of identifying the first request for a screen.

for https://bugs.launchpad.net/subiquity/+bug/1939176
2021-10-06 17:30:47 -06:00
Patrick Wu c934268813 system_setup: changes and fixes
1. rebase with main and update autoinstall-system-setup.yml
2. provide a more unified indent style
3. update get_userandgroups() to the dropped one
4. fix the problematic os action
5. simply asignments
6. assign default_loader a default value
7. provide a type-to-file dict in wsl_conf
8. provide stderr info when providing error in creating user
9. update schema and example files
2021-10-06 22:13:15 +08:00
Patrick Wu 1a7274dbba system_setup: unify api names and simply WSLconfig class into function 2021-10-06 22:13:15 +08:00
Patrick Wu 5c0e64e78a system_setup: address the run_command fail issue 2021-10-06 22:13:15 +08:00
Patrick Wu 9fbff87fe1 system_setup: changes to the get-usersandgroups 2021-10-06 22:13:15 +08:00
Patrick Wu 32a62748c9 system_setup: initial redesign of generic config handler
Also have to change the logic for default loader
2021-10-06 22:13:15 +08:00
Patrick Wu f31e252436 system_setup: reduce code duplication in getting default value 2021-10-06 22:13:15 +08:00
Patrick Wu 225cb1bd37 system_setup: fixes for after rebasing
1. add extra logs
2. improve the answers file
3. await the self.configured in wslconf API
2021-10-06 22:13:15 +08:00
Patrick Wu 032412a938 system_setup: provide configuration calls 2021-10-06 22:13:15 +08:00
Patrick Wu a211689e08 system_setup: update client_variant to variant 2021-10-06 22:13:15 +08:00
Patrick Wu 0a0c53a61b system_setup: move all write file actions to configure controller
This completes 5. Move all “Commits/Write to file” in the configure controller.
2021-10-06 22:13:15 +08:00
Michael Hudson-Doyle d647c181f6
Merge pull request #1083 from dbungert/github-no-bionic
workflows: drop bionic
2021-10-06 13:59:38 +13:00
Dan Bungert 2886a491b9 workflows: drop bionic 2021-10-05 18:39:00 -06:00
Dan Bungert e14febd709
Merge pull request #1082 from dbungert/pytest-3
unittest: use pytest-3
2021-10-05 17:42:22 -06:00
Dan Bungert b757b0f972 unittest: use pytest-3
pytest-3 lets us set exclude directories, which is helpful with the
desired API testing to seperate them from 'unittest discover' so that we
can keep unit test runtime short.
2021-10-05 17:36:54 -06:00
Michael Hudson-Doyle 115e4cdf65
Merge pull request #1081 from dbungert/slimy-core20
slimy: python 3.8
2021-10-06 12:00:14 +13:00
Dan Bungert 64d190573d
Merge pull request #1077 from mwhudson/install-from-langpack-squashfs
install from squashfs with langpack preinstalled if present
2021-10-05 16:43:07 -06:00
Dan Bungert 8092b3405b slimy: python 3.8 2021-10-05 12:27:47 -06:00
Michael Hudson-Doyle e72022f0a1 install from squashfs with langpack preinstalled if present 2021-10-05 11:42:02 -06:00
Didier Roche f72d581692
Merge pull request #1080 from dbungert/ci-impish-workaround
workflows: avoid impish failing the rest of CI check
2021-10-05 18:33:03 +02:00
Dan Bungert 103f3876b8 workflows: fail-fast false to let other builds run
Use fail-fast: false to let the non-failing matrix builds continue to
run.  Right now impish is timing out early in the process and we can't
see the results for the others.

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-10-05 10:27:08 -06:00
Didier Roche 15f9e9201c
Merge pull request #1073 from canonical/wsl_oobe_deeng_41
DEENG-41 - Update TUI command line name and remove unneeded options.
2021-10-05 09:06:20 +02:00
Michael Hudson-Doyle 77af962ab3
Merge pull request #1040 from lambda-propaganda/patch-1
Fix advancing from snap list screen before snaps have loaded
2021-10-05 17:13:09 +13:00
Patrick Wu 2490befbd0 system_setup: remove unnecessary params in tui.py 2021-10-05 09:33:21 +08:00
Michael Hudson-Doyle 46f671d14d
Merge pull request #1072 from dbungert/core20-base
snapcraft: core20 base
2021-10-05 13:42:51 +13:00
Michael Hudson-Doyle ffa0d722da
Merge pull request #1071 from dbungert/source-configured
server: Source.configured needs await
2021-10-05 11:02:54 +13:00
Dan Bungert 5cbecaea35
Merge pull request #1075 from canonical/wsl-fix-autoinstall
Fix crash with autoinstall on non-systemd env
2021-10-04 07:20:03 -06:00
Jean-Baptiste Lallement 6cc8c6169b Fix crash with autoinstall on non-systemd env
On WSL and any system without systemd the server crashes becauses
the syslog id is always set (and never None) and systemd cat cannot
connect to the journal.
We cant set the id to None because the API expects a string, so the
check "is not None" is always true.

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-10-04 13:09:24 -07:00
Dan Bungert 2181b15a87 views/snaplist: set a default selected list 2021-10-03 18:26:08 -06:00
lambda-propaganda 6e99143396 Update snaplist.py
fix: done() is called before the snap has loaded causing Attribute error
2021-10-03 18:18:23 -06:00
Dan Bungert 636b4401d2
Merge pull request #1070 from mwhudson/lang-support
improve locale support
2021-10-03 17:10:39 -06:00
Dan Bungert be158a375f snapcraft: environment and package fixes
* adjust environment to set PYTHONPATH to pick up site-packages
* add more required packages
* add script for subiquity-server, and set PYTHONPATH there,
  so that the PYTHONPATH takes effect
2021-10-01 13:59:10 -06:00
Michael Hudson-Doyle 8de369ece2 snapcraft: change base to core20 2021-10-01 13:29:31 -06:00
Dan Bungert b35bf07e9d server: Source.configured needs await 2021-09-30 22:12:10 -06:00
Dan Bungert 1a3bcbc1c4
Merge pull request #1068 from mwhudson/lp-1935969
fixes around logical volume size
2021-09-30 18:21:24 -06:00
Dan Bungert 9dbc24b44c partitioning: add a constant for default alignment 2021-09-30 17:55:51 -06:00
Michael Hudson-Doyle b144f234ac install packages listed by check-language-support when locale_support == "langpack" 2021-09-30 12:09:57 +13:00