Michael Hudson-Doyle
7096501a6d
reduce answers-related boilerplate
2019-08-15 13:34:10 +12:00
Michael Hudson-Doyle
81b9c883f3
do not copy so many things from app to controller in Controller.__init__
2019-08-15 13:34:09 +12:00
Michael Hudson-Doyle
98908e91b2
get rid of silly common dictionary that was passed around a bit everywhere
2019-08-15 13:33:38 +12:00
Michael Hudson-Doyle
8b2a59bf2e
Merge pull request #521 from mwhudson/optional-real-name
...
allow real name to be empty
2019-08-15 11:35:03 +12:00
Michael Hudson-Doyle
0dd5666720
user username as realname if none is provided
2019-08-15 11:26:54 +12:00
Dimitri John Ledkov
8ada8b6d29
Merge pull request #522 from xnox/fixup-write-login-details
...
consoleconf: Fixup write_login_details_standalone
2019-08-14 21:38:50 +01:00
Dimitri John Ledkov
968fe145e6
consoleconf: Fixup write_login_details_standalone
...
Port to use prober API, stop using removed APIs.
2019-08-14 14:04:29 +01:00
Michael Hudson-Doyle
b2dc484bc3
allow real name to be empty
...
for https://bugs.launchpad.net/subiquity/+bug/1786381
2019-08-13 23:24:02 +12:00
Michael Hudson-Doyle
673f0d80da
Merge pull request #520 from mwhudson/indent-probe-data.json
...
pretty print the probe data when we dump it to /var/log/installer/block
2019-08-12 11:20:27 +12:00
Michael Hudson-Doyle
420ebfcda4
pretty print the probe data when we dump it to /var/log/installer/block
2019-08-12 10:37:50 +12:00
Michael Hudson-Doyle
2a5fdb2184
Merge pull request #519 from mwhudson/blockdev-fallback
...
the probe_types argument of probert.storage.Storage.probe takes a set, not a list
2019-08-09 15:17:38 +12:00
Michael Hudson-Doyle
8097ad62bf
the probe_types argument of probert.storage.Storage.probe takes a set, not a list
...
This means my careful code to do rich probing of block devices and fall
back to simple probing doesn't work! Oh well, at least the fix is
trivial.
Seen in the logs from this bug report:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1839529
2019-08-09 14:37:22 +12:00
Michael Hudson-Doyle
66defaa5ad
Merge pull request #518 from xnox/unbreak-console-conf
...
Unbreak console conf
2019-08-09 14:04:34 +12:00
Dimitri John Ledkov
dfab5563c1
console_conf: unbreak LoginView
2019-08-08 15:02:39 +01:00
Dimitri John Ledkov
962fd3ebd3
NetDev: bring back actual_global_ip_addresses used by console_conf.
2019-08-08 15:02:39 +01:00
Dimitri John Ledkov
e755bf4b5f
console_conf/subiquity: split identitymodel, as it is not the same at all.
2019-08-08 15:02:39 +01:00
Dimitri John Ledkov
290c26d244
consoleconf: rewrite identity page.
2019-08-07 21:35:35 +01:00
Dimitri John Ledkov
a4c7e36408
consoleconf: fix welcome header/excerpt
2019-08-07 21:26:14 +01:00
Dimitri John Ledkov
dcb3458810
Introduce (currently unused) click/script arguments to console-conf
...
This prevents crash on startup.
2019-08-07 20:13:29 +01:00
Dimitri John Ledkov
b1151b6c1c
Move python3-attr to subiquitycore package, as it is used by console-conf too.
2019-08-07 17:29:23 +01:00
Dimitri John Ledkov
14b81f53d5
Allow starting subiquity/console-conf without translations.
2019-08-07 15:59:16 +01:00
Dimitri John Ledkov
b11965c72c
Revert "Trick pkgstriptranslations into creating translations tarball with .pot/po but not stripping any .mo translations from the subiquitycore package (by using blacklist section) and ship empty /usr/share/locale directory in the console-conf package. Otherwise, console-conf fails to start on core20 as it needs _a_ translation. However, not sure if one can use translations in console-conf at all."
...
This reverts commit 3c1f8e1d27
.
Because base tarballs dpkg exclude translations anyway, so this will
not work.
2019-08-07 15:58:16 +01:00
Dimitri John Ledkov
d64c634b21
Merge pull request #517 from xnox/gettext-fallback
...
Allow starting subiquity/console-conf without translations.
2019-08-07 15:57:57 +01:00
Dimitri John Ledkov
be50b59dcd
Allow starting subiquity/console-conf without translations.
...
Set fallback=True on gettext.translation() call such that it returns
NullTranslation object. This means subiquity/console-conf can start,
even if .mo files are not build in the tree, or are outright missing.
2019-08-07 12:40:10 +01:00
Dimitri John Ledkov
3c1f8e1d27
Trick pkgstriptranslations into creating translations tarball with .pot/po but not stripping any .mo translations from the subiquitycore package (by using blacklist section) and ship empty /usr/share/locale directory in the console-conf package. Otherwise, console-conf fails to start on core20 as it needs _a_ translation. However, not sure if one can use translations in console-conf at all.
2019-08-07 12:29:51 +01:00
Dimitri John Ledkov
bb1a01893b
releasing package subiquity version 19.08.1
2019-08-06 13:37:32 +01:00
Dimitri John Ledkov
822c21462f
Fix up debian packaging:
...
* Fix up debian packaging:
- generate .rtupdate in all the required packages
- install .egg-info directory for scripts to work
2019-08-06 13:36:40 +01:00
Michael Hudson-Doyle
65b0536921
add a missing semicolon
2019-08-06 13:49:13 +12:00
Michael Hudson-Doyle
b4cf5ed406
make sure unattended-upgrades always runs
...
for https://bugs.launchpad.net/subiquity/+bug/1838520
2019-08-05 14:43:41 +12:00
Michael Hudson-Doyle
c1e515aea1
Merge pull request #514 from mwhudson/lp-1838126
...
write the new, not old, keyboard setting to the config file :/
2019-07-30 21:58:16 +12:00
Michael Hudson-Doyle
fa0b72ecd8
stop testing on cosmic (forever) and eoan (for now)
2019-07-30 21:28:03 +12:00
Michael Hudson-Doyle
c45bf78dc8
write the new, not old, keyboard setting to the config file :/
...
for https://bugs.launchpad.net/subiquity/+bug/1838126
2019-07-30 21:28:03 +12:00
Michael Hudson-Doyle
59d882273d
Merge pull request #513 from mwhudson/lp-1837822
...
assume a default route on a down link has gone away
2019-07-25 19:59:01 +12:00
Michael Hudson-Doyle
6849aeae46
Merge pull request #512 from mwhudson/lp-1837820
...
fixes for editing existing ESPs
2019-07-25 19:58:52 +12:00
Michael Hudson-Doyle
6bbe02774f
assume a default route on a down link has gone away
...
it seems netlink routing table messages are more of a notifications of
changes being explicitly made vs notifications of all changes to
routing.
for https://bugs.launchpad.net/subiquity/+bug/1837822
2019-07-25 17:37:41 +12:00
Michael Hudson-Doyle
6084178401
fixes for editing existing ESPs
...
for https://bugs.launchpad.net/subiquity/+bug/1837820
2019-07-25 14:31:39 +12:00
Michael Hudson-Doyle
d1fb9c8d78
Merge pull request #510 from mwhudson/warn-silly-fs-reuse
...
Warn on suspicious filesystem reuse
2019-07-24 13:59:40 +12:00
Michael Hudson-Doyle
0bba727341
Merge pull request #511 from mwhudson/fs-summary-existing
...
display new/existing-ness of fs and volume in filesystem summary
2019-07-24 13:59:25 +12:00
Michael Hudson-Doyle
56a6ab9735
bump urwid version in requirements.txt (only used for tests)
2019-07-24 13:43:07 +12:00
Michael Hudson-Doyle
8b46c1b929
display new/existing-ness of fs and volume in filesystem summary
...
for https://bugs.launchpad.net/subiquity/+bug/1837215
2019-07-24 13:30:59 +12:00
Michael Hudson-Doyle
dd00155a4d
add view tests
2019-07-24 13:19:37 +12:00
Michael Hudson-Doyle
94df386a6c
display a message when the user obstinately types in an unsuitable mount point
2019-07-24 13:03:04 +12:00
Michael Hudson-Doyle
e79a71fdea
disable unsuitable common mountpoints when not reformatting device
2019-07-24 11:46:05 +12:00
Michael Hudson-Doyle
619a92e252
always copy the options when creating a Selector
...
as I want to support mutating them after the fact
2019-07-24 11:27:29 +12:00
Michael Hudson-Doyle
4b4c951a81
Merge pull request #509 from mwhudson/lp-1837101
...
fix editing format of device with unusual filesystem
2019-07-19 16:18:38 +12:00
Michael Hudson-Doyle
aa58c9d539
fix editing format of device with unusual filesystem
...
As reported in https://bugs.launchpad.net/subiquity/+bug/1837101 .
There were two copies of some slighlty fiddly code and one had an extra line. Folded
both into a single function.
2019-07-19 11:54:49 +12:00
Michael Hudson-Doyle
28d59ec66d
Merge pull request #508 from mwhudson/update-probert
...
update to probert tip to get multipath, lvm, raid fixes
2019-07-18 14:01:21 +12:00
Michael Hudson-Doyle
492faf6263
update to probert tip to get multipath, lvm, raid fixes
2019-07-18 12:25:52 +12:00
Michael Hudson-Doyle
940899c259
Merge pull request #507 from mwhudson/back-to-curtin-ubuntu/devel
...
move travis to xenial, curtin back to ubuntu/devel
2019-07-18 12:21:18 +12:00
Michael Hudson-Doyle
588c933505
use the xenial travis build environment
2019-07-18 09:40:03 +12:00