Commit Graph

1910 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 488802fc8b update users of run_command (i thought there was more than this) 2018-05-18 13:11:15 +12:00
Michael Hudson-Doyle c6468982ae Thin the wrappers around subprocess functions
Some of this stuff is not needed with modern Python.

Breaks everything of course, updates to follow.
2018-05-18 13:00:43 +12:00
Michael Hudson-Doyle 0e921be3be
Merge pull request #332 from CanonicalLtd/mwhudson/run_in_bg-callback
run_in_bg tweaks
2018-05-18 12:39:10 +12:00
Michael Hudson-Doyle 35c08f1d6f up thread pool limit
otherwise we can only do one thing at once! many of the things
we do in the background do not really require an OS thread but oh well
2018-05-18 12:33:25 +12:00
Michael Hudson-Doyle ad9f10a9ac try to ensure that functions run in the background have "_bg_" in their name 2018-05-18 12:29:42 +12:00
Michael Hudson-Doyle 1efa265fc5 remove calls to set_alarm_in that were only there so that exceptions raised would be propagated 2018-05-18 12:25:47 +12:00
Michael Hudson-Doyle 03392a208d stop swallowing exceptions raised by the callback passed to run_in_bg
it is just more confusing that it is worth, especially when doing
development
2018-05-18 12:17:18 +12:00
Michael Hudson-Doyle bc017701f3
Merge pull request #331 from FooBarQuaxx/patch-2
set right name for log object
2018-05-18 10:54:53 +12:00
Med ad16727634
set right name for log object 2018-05-18 00:29:38 +02:00
Michael Hudson-Doyle 75fb67ba78
Merge pull request #330 from FooBarQuaxx/patch-1
install_deps target without confirmation
2018-05-18 10:27:57 +12:00
Med 34d25041c7
install_deps target without confirmation 2018-05-18 00:25:41 +02:00
Michael Hudson-Doyle cea99b4404 oops meant to delete this 2018-05-17 14:36:38 +12:00
Michael Hudson-Doyle b646a0e0fb set proxy in subiquity's environment too 2018-05-17 14:33:41 +12:00
Michael Hudson-Doyle 0b63e4141d do not attempt to configure global proxy
as it's too much of a mess. instead configure apt and snapd in the
target system to use the proxy.
2018-05-17 11:31:23 +12:00
Michael Hudson-Doyle 605dbdb7d1 write proxy config to installer and target /etc/environment
also emit a signal when proxy config is set
2018-05-15 13:14:32 +12:00
Michael Hudson-Doyle 13d7f13c42 fixes for stretchy where stretchy widget is selectable 2018-05-14 10:28:33 +12:00
Michael Hudson-Doyle 960f51ca91 remove view argument to Form.as_rows and friends 2018-05-07 10:57:35 +12:00
Michael Hudson-Doyle 30a4810f9a add an example config that has multiple nics & disks 2018-05-07 10:23:48 +12:00
Michael Hudson-Doyle 0a0af0842b fix stupid crash 2018-05-04 10:31:36 +12:00
Michael Hudson-Doyle 54c74d8c52
Merge pull request #327 from CanonicalLtd/mwhudson/down-netdevs-on-apply
down any nic that has changed config before applying it
2018-05-03 12:18:44 +12:00
Michael Hudson-Doyle fa8f8d32f5 down all network links that have changed config before applying it
this means that if you enter a broken config, it breaks as it should
2018-05-03 12:14:06 +12:00
Michael Hudson-Doyle 9cdc6e8472 update probert dep 2018-05-03 12:13:18 +12:00
Michael Hudson-Doyle 51fc221a02
Merge pull request #325 from Nornort/patch-1
Missing french translation?
2018-05-03 11:35:55 +12:00
Michael Hudson-Doyle 92457e5724
Merge pull request #324 from CanonicalLtd/mwhudson/click-helper
add --click, --script arguments to subiquity-tui
2018-05-03 11:35:35 +12:00
Michael Hudson-Doyle 40900cc335 specify an exact commit of probert to use 2018-05-03 10:07:54 +12:00
Michael Hudson-Doyle efcf7d4975 fix detection of and display of No disks available case
for https://bugs.launchpad.net/subiquity/+bug/1767295
2018-05-03 09:31:05 +12:00
Nornort 2be1fe3fa2 Enable french translation 2018-05-02 00:02:22 +02:00
Michael Hudson-Doyle 1ed27f1848
Merge pull request #322 from CanonicalLtd/mwhudson/no-create-user
stop creating the user in the live session
2018-05-01 13:01:08 +12:00
Michael Hudson-Doyle 5a6d0ac90f a docstring 2018-05-01 13:00:27 +12:00
Michael Hudson-Doyle acdd3bdec7 refactor a bit 2018-05-01 12:57:03 +12:00
Michael Hudson-Doyle 58d64eb419 over engineered way to delay command-line supplied script invocation
use this to allow click helper to wait for a button to appear
2018-05-01 12:49:39 +12:00
Michael Hudson-Doyle db4d8a537e add a way to specify actions to take in the UI on the command line
--script takes a little python snippet to run in a helpful namespace
--click is a wrapper around --script to click a button
2018-05-01 12:29:29 +12:00
Michael Hudson-Doyle 07438a1049 add support for Frames to find_with_pred in view_helpers 2018-05-01 12:17:53 +12:00
Michael Hudson-Doyle 6b5e94a20c
Merge pull request #323 from CanonicalLtd/mwhudson/fix-no-dhcp4-but-ipv6-address
fix rendering of nic info if dhcp failed but has addresses of other family
2018-04-30 20:47:32 +12:00
Michael Hudson-Doyle fe671d8d9b fix rendering of nic info if dhcp failed but has addresses of other family
This bug has been here forever! Oh well.
2018-04-27 14:56:30 +12:00
Michael Hudson-Doyle dc17fcae4f stop creating the user in the live session
there is no real reason to do this, and it lets me delete some code.

i also cleaned some other stuff up in the area
2018-04-27 14:16:37 +12:00
Michael Hudson-Doyle 259c3c71e9 improve validation of maas secret 2018-04-24 14:12:44 +12:00
Michael Hudson-Doyle 9a08d344e5 Merge branch 'maas-offline-v2' into master 2018-04-24 13:03:48 +12:00
Michael Hudson-Doyle 51fa6a541c harden things against very small drives
in particular, drives that report their size as 0B (LP: #1763349)
2018-04-24 13:00:14 +12:00
Michael Hudson-Doyle ed9427dbd3 make sure progress bar updates to 9 / 9 (LP: #1766299) 2018-04-24 12:37:24 +12:00
Michael Hudson-Doyle 8efd54670e add locales to build-packages for the kbdnames part to fix keyboard names for non english locales (LP: #1766105) 2018-04-24 10:08:43 +12:00
Michael Hudson-Doyle 189c545967 translation update, including finnish and ukrainian 2018-04-24 09:35:53 +12:00
Dimitri John Ledkov b98c37b5e2 Add comments and pointers to bugs. 2018-04-23 13:29:32 +01:00
Michael Hudson-Doyle 0f18f036bd disable hebrew translation for now 2018-04-23 20:01:57 +12:00
Dimitri John Ledkov 92df0e040b Start postgresql and finish maas region installation during curtin. 2018-04-20 03:02:59 +01:00
Michael Hudson-Doyle 050bf8f143
Merge pull request #320 from CanonicalLtd/maas-rename
Maas rename
2018-04-20 13:27:29 +12:00
Dimitri John Ledkov 342bc30373 Rename MAAS install options. 2018-04-20 02:25:52 +01:00
Dimitri John Ledkov f6c8200684 Offline MAAS installer
Compatible with latest livecd-rootfs changes.
Without any install option rename, this will be submitted separately.
2018-04-20 01:30:17 +01:00
Michael Hudson-Doyle 7d704f83f0 mark even more strings as translatable 2018-04-19 13:09:00 +12:00
Michael Hudson-Doyle febc40cd45 even more translatable strings in the fs view and some more flexibility wrt string lengths 2018-04-19 12:46:32 +12:00