Commit Graph

5278 Commits

Author SHA1 Message Date
Chad Smith 07c62876d0 examples: fix invalid user-data example since we now validate schema 2022-09-01 13:12:53 -06:00
Dan Bungert cada41d7b9
Merge pull request #1396 from dbungert/no-double-jsonschema
snapcraft: remove dupe jsonschema
2022-09-01 12:37:22 -06:00
Dan Bungert 2929bb481b
Merge pull request #1386 from dbungert/lp-1983036-edit-part-wipe
filesystem: fix wipe on v2 edit_partition
2022-08-30 15:34:33 -06:00
Dan Bungert 96636fe3ff filesystem: fix add_partition wipe value 2022-08-30 12:47:55 -06:00
Dan Bungert 48d90d8b15 filesystem: fstype compare against orig fstype 2022-08-30 12:47:42 -06:00
Dan Bungert 02d2d44bae filesystem: edit require wipe on fstype change 2022-08-30 12:47:42 -06:00
Dan Bungert 590eb3a40c filesystem: edit_partition comment fixup 2022-08-30 12:47:42 -06:00
Dan Bungert aa0e6f34c7 filesystem: extend test for the unwipe case
Add test for the case where a user marks a partition with data as one to
be formatted, then later undoes that operation.
2022-08-30 12:47:42 -06:00
Dan Bungert 25f4ac0bc2 filesystem: fix wipe on v2 edit_partition 2022-08-30 12:47:42 -06:00
Dan Bungert 943ea53fbc
Merge pull request #1402 from dbungert/terminology
fix some easier cases of impolite language
2022-08-29 18:00:35 -06:00
Dan Bungert 1cbcbb7e3c
Merge pull request #1403 from dbungert/yaml-normalize
Yaml normalize
2022-08-29 17:35:23 -06:00
Michael Hudson-Doyle 60953951fe
Merge pull request #1394 from CarlosNihelton/style-help-gray
Defaults help text style to gray
2022-08-30 11:34:42 +12:00
Dan Bungert 80d6c7c09d snapcraft: normalize 2022-08-29 13:54:51 -06:00
Dan Bungert b9f75059be scripts: add yaml-normalize.py 2022-08-29 13:54:51 -06:00
Dan Bungert d73772258d fix some easier cases of impolite language 2022-08-29 12:30:39 -06:00
Carlos Nihelton 68b92f1022
Merge pull request #1400 from CarlosNihelton/optional-controller
Sets WslSetupOptions as an optional controller
2022-08-29 14:00:07 -03:00
Carlos Nihelton 6d51deedb6
Assign style if a str is passed
Otherwise assign self.help as passed.

Co-authored-by: Dan Bungert <danielbungert@gmail.com>
2022-08-29 13:55:07 -03:00
Carlos Nihelton c08ebef9df
Removes the controller name from the required set
INSTALL_MODEL_NAMES
2022-08-29 12:15:52 -03:00
Carlos Nihelton 86d19c6259
Sets WslSetupOptions as an optional controller
We have strong defaults, so the clients should only need to POST if
the desired options are not the default ones.
2022-08-29 12:15:29 -03:00
Dan Bungert 1bf562c85a
Merge pull request #1390 from CarlosNihelton/langpack-flag
[WSL] Enables users to skip installing language packs
2022-08-26 17:17:43 -06:00
Dan Bungert fe4946cc13
Merge pull request #1395 from blackboxsw/cloud-init/desktop-disable-cloud-init
cloudinit: disable cloud-init after final install completes
2022-08-26 17:17:07 -06:00
Carlos Nihelton bdefbd69aa
Clarifies the language tuple
With a comment showing one example situation
and changing the name 'native' to 'display_name'
2022-08-26 16:59:06 -03:00
Carlos Nihelton b5a69e33a6
Avoid using the '_' throwaway variable
by logging the language tuple directly.
2022-08-26 16:13:08 -03:00
Carlos Nihelton 23fbbf87ee
Documents the language tuple 2022-08-26 16:12:06 -03:00
Carlos Nihelton 69934729da
Removes forgotten log statement. 2022-08-26 16:09:02 -03:00
Carlos Nihelton 60c5127be0
Merge pull request #1399 from dbungert/runtests-trap-kill
runtests: use trap to ensure backgroun proc killed
2022-08-26 14:39:51 -03:00
Dan Bungert 58ab8c5e12 runtests: use trap to ensure backgroun proc killed 2022-08-26 10:52:05 -06:00
Dan Bungert 8bd0ea11ad
Merge pull request #1392 from ogayot/speed-up-integration-testing
integration: speed up check for listening interfaces in system_setup
2022-08-26 10:50:41 -06:00
Dan Bungert 5e776e3ae1
Merge pull request #1397 from dbungert/more-kname-fun
filesystem: fix kname for os prober
2022-08-26 08:10:49 -06:00
Dan Bungert 4ebaa6fc75
Merge pull request #1398 from jpnurmi/has-network-log
Log NetworkModel.has_network changes
2022-08-26 07:46:34 -06:00
J-P Nurmi 05ca22b320 Log NetworkModel.has_network changes 2022-08-26 15:06:15 +02:00
Chad Smith e14c9f5680 cloudinit: disable cloud-init after final install completes
On Kinetic and later, emit /etc/cloud/cloud-init.disable via
write_files deferred cloud-config in order to disable
cloud-init in the installed target Desktop and Server after
final reboot.

Do not disable cloud-init in post-install on stable releases
22.04 and 20.04.
2022-08-26 02:16:40 +00:00
Dan Bungert 70db2a6414 filesystem: fix kname for os prober 2022-08-25 17:01:33 -06:00
Dan Bungert a6ad70f153 snapcraft: remove dupe jsonschema 2022-08-25 12:08:21 -06:00
Dan Bungert d3275c3e90
Merge pull request #1393 from CarlosNihelton/fix-gray-contrast
Makes our gray ligther to increase contrast.
2022-08-24 08:44:45 -06:00
Carlos Nihelton eb722fef0b
Defaults help text style to gray
Per
https://github.com/canonical/ubuntu-desktop-installer/issues/1073#issuecomment-1224493840.
Custom styles can still be applied.
2022-08-24 11:24:24 -03:00
Carlos Nihelton 5763f33813
Makes our gray ligther to increase contrast.
Per Design's recommendation in:
https://github.com/canonical/ubuntu-desktop-installer/issues/1073#issuecomment-1225569053
2022-08-24 10:16:59 -03:00
Carlos Nihelton 912b9dd416
Sets the help colors to gray
Per Design's recommendation:
See https://github.com/canonical/ubuntu-desktop-installer/issues/1073#issuecomment-1224493840
2022-08-24 09:07:30 -03:00
Olivier Gayot d182b3bd69 integration: speed up check for listening interfaces in system_setup
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-08-23 18:38:33 +02:00
Olivier Gayot d8a566dc35
Merge pull request #1391 from ogayot/disable-ubuntu-pro
ubuntu-pro: disable in prod until magic-attach is avail. in focal
2022-08-23 18:07:58 +02:00
Carlos Nihelton 1fab813d8a
DEENG-378 Uses the cached native lang descript...
...tion to format the checkbox caption
2022-08-23 11:30:12 -03:00
Carlos Nihelton 7502b48147
Caches the native language description
To be reused in other parts of the client UI
2022-08-23 10:45:35 -03:00
Carlos Nihelton 1d9b7449d3
Fixes linting warnings 2022-08-23 10:45:34 -03:00
Carlos Nihelton 20b60d6f98
Connects the new controllers to server and client.
Higher level constructs are now aware of the new endpoint.
2022-08-23 10:45:34 -03:00
Carlos Nihelton fdc43496f5
Implements client and server ...
... for WSL Setup Options

Both controllers and UI
2022-08-23 10:45:34 -03:00
Carlos Nihelton 6dd157dac7
Adding WSLSetupOptions API endpoint
Intended to receive options that affect the setup process.
and won't be written to /etc/wsl.conf
Options relative to that conf file are handled by WslConfBase and
WslConfAdvanced.
Currently only the option for skip installing language packs is
available.
2022-08-23 10:45:29 -03:00
Olivier Gayot f6a00b1214 ubuntu-pro: disable in prod until magic-attach is avail. in focal
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-08-23 14:03:41 +02:00
Olivier Gayot f4efde9dba Merge pull request #1387 from ogayot/FR-2161
Updates for Ubuntu-Pro with magic-attach
2022-08-23 13:48:59 +02:00
Dan Bungert 27be0d47e2
Merge pull request #1388 from jpnurmi/desktop-controller
Add keyboard/input-source
2022-08-22 13:00:21 -06:00
Olivier Gayot 7b24485b7d ubuntu-pro: store number of main/universe packages and end support date in vars
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-08-19 10:56:00 +02:00