Commit Graph

10088 Commits

Author SHA1 Message Date
Calamares CI
7ccc5d08c8 i18n: [calamares] Automatic merge of Transifex translations 2022-04-11 16:22:50 +02:00
Adriaan de Groot
7f232f0994 Changes: pre-release housekeeping 2022-04-11 16:22:50 +02:00
Adriaan de Groot
30139107de
Merge pull request #1918 from vtriolet/fix-readtargetfile
[libcalamares] Fix file-reading from target system
2022-04-11 16:22:10 +02:00
Adriaan de Groot
9c58f49c49 Merge branch 'issue-1654' into calamares
FIXES #1654
2022-04-11 15:08:33 +02:00
Adriaan de Groot
3b02115f8e [users] Expand test to demo other template-keys 2022-04-11 15:03:48 +02:00
Adriaan de Groot
dad12a0e02 [users] Simplify test, fewer magic numbers 2022-04-11 14:55:05 +02:00
Adriaan de Groot
c28ba5ffb2 [users] Fix up test to match new strings written to /etc/hosts 2022-04-11 14:51:52 +02:00
Adriaan de Groot
9ca6d3c715 [users] Document new template setting for hostname 2022-04-11 14:26:29 +02:00
Adriaan de Groot
b95eb55994 [users] Add a template for hostname suggestion 2022-04-11 14:12:05 +02:00
Adriaan de Groot
1a8fc1feec [users] Settle on 'hostname' as a single word for camel-casing 2022-04-11 12:16:03 +02:00
Adriaan de Groot
92b1341730 [users] Document new hostname.location setting
- add to schema
- add to tests
- mention in CHANGES
2022-04-11 12:05:00 +02:00
Adriaan de Groot
3524d4a0d0 [users] Add "transient" for hostname-location 2022-04-11 11:47:47 +02:00
Adriaan de Groot
3b0aa69ad3 [users] Write 127.0.1.1 entry only if there is a hostname 2022-04-11 11:39:14 +02:00
Adriaan de Groot
9299bedd7e [users] Hostname is empty if it will not be set 2022-04-11 11:37:56 +02:00
Adriaan de Groot
a12c6de2ef [users] Don't set GS hostname if hostname.location is None 2022-04-11 11:29:23 +02:00
Adriaan de Groot
2f78a37426 [welcome] Use cDebug() for logging 2022-04-11 11:19:38 +02:00
Adriaan de Groot
c5c546d290 [users] Warnings-- about unreachable code 2022-04-11 11:13:45 +02:00
Adriaan de Groot
854c711ac6 [users] Untangle setting-hostname from writing-/etc/hosts
Exactly one kind of setting-hostname is done, and that's
entirely independent of writing /etc/hosts. Don't make it
a set of flags, use an enum and a bool.
2022-04-11 11:10:40 +02:00
Adriaan de Groot
6a6aa8867b [users] hostname.X takes precedence over legacy settings 2022-04-11 10:49:16 +02:00
Adriaan de Groot
b653b13002 [users] Hide hostname box when set to None
If the hostname will not be written, hide the input box.
While here, improve some naming in the designer file.
2022-04-11 10:42:00 +02:00
Adriaan de Groot
99bf5497ca [users] Document change to config, document TODO:3.3 2022-04-11 10:14:32 +02:00
vt
73462d9214 [libcalamares] Fix file-reading from target system
readTargetFile was not fully reading files because of an incorrect
EOF check. This could cause /etc/openswap.conf files to be
truncated and hibernation to fail on installed systems.
2022-04-10 19:36:38 -04:00
Adriaan de Groot
8a8ac4fe2b [users]: update config schema 2022-04-08 16:35:47 +02:00
Adriaan de Groot
4494a4b35a [users] Expand tests with some legacy-settings 2022-04-08 11:30:57 +02:00
Adriaan de Groot
04f38ea661 [users] Put hostname settings in a *hostname* key
Move settings into a structured setting for *hostname*, with suitable
sub-keys. Legacy settings remain supported, produce a warning.
2022-04-08 11:30:57 +02:00
Calamares CI
55dcd831bc i18n: [python] Automatic merge of Transifex translations 2022-04-07 21:52:51 +02:00
Calamares CI
94d5746268 i18n: [calamares] Automatic merge of Transifex translations 2022-04-07 21:52:50 +02:00
Adriaan de Groot
b52b54849a i18n: update language lists (-es_ES +oc) 2022-04-07 21:51:39 +02:00
Adriaan de Groot
345830794a i18n: remove some workarounds for deprecated language IDs 2022-04-07 21:49:36 +02:00
Adriaan de Groot
c70deed13a Merge branch 'cleanup-i18n' into calamares 2022-03-29 00:31:57 +02:00
Calamares CI
3381e3040c i18n: [python] Automatic merge of Transifex translations 2022-03-29 00:27:36 +02:00
Calamares CI
8deead2781 i18n: [desktop] Automatic merge of Transifex translations 2022-03-29 00:27:36 +02:00
Calamares CI
04a3ac5557 i18n: [calamares] Automatic merge of Transifex translations 2022-03-29 00:27:36 +02:00
Adriaan de Groot
5c2c60612b CMake: update language lists 2022-03-29 00:26:21 +02:00
Adriaan de Groot
14ef6577ae i18n: remove stale translation files 2022-03-29 00:24:39 +02:00
Adriaan de Groot
1f289bc93d i18n: english doesn't have TX sources for its TZ or KB translations 2022-03-29 00:21:51 +02:00
Adriaan de Groot
511631c6ae i18n: fix path to Python translations 2022-03-29 00:19:43 +02:00
Adriaan de Groot
93be40349b i18n: audit the python translations, too 2022-03-29 00:17:31 +02:00
Adriaan de Groot
a45f324ed8 i18n: audit the available translations when running txstats 2022-03-29 00:11:27 +02:00
Adriaan de Groot
9e4b2d14cb [libcalamares] Add a path parameter when creating descriptors
This allows us to print the path of a descriptor file in
error messages, which in turn makes it easier to find
problems with the descriptor files.
2022-03-28 12:29:47 +02:00
Adriaan de Groot
ec3282e15d [libcalamares] Allow checking a Once object for repeat messages 2022-03-28 12:28:07 +02:00
Calamares CI
9b769f0ae4 i18n: [python] Automatic merge of Transifex translations 2022-03-25 12:32:59 +01:00
Calamares CI
e51a47d072 i18n: [calamares] Automatic merge of Transifex translations 2022-03-25 12:32:58 +01:00
Adriaan de Groot
f64938cb3f [partition] Remove unnecessary methods
- _find and _each Doesn't need to be part of the class API
- Rename to *Transform() because that's more in-line with what it
  does, applying an operation to the tree.
2022-03-22 18:47:27 +01:00
Adriaan de Groot
9b0ef5fce5 [partition] Use unsigned sizes
Reduce warnings by using unsigned consistently; this fights
the KPMCore API (which uses signed sizes for, e.g. sectorSize)
a little, but states more clearly that a disk cannot have a
negative size.
2022-03-22 15:23:24 +01:00
Adriaan de Groot
8ce92d450c [partition] Warnings-- for int / double / size_t confusions 2022-03-22 15:23:24 +01:00
Adriaan de Groot
982f9c8458 [partition] Hide implementation function 2022-03-22 15:23:24 +01:00
Adriaan de Groot
f888cb87d1 [libcalamares] Start deprecating signed sizes 2022-03-22 15:23:24 +01:00
Adriaan de Groot
97031ea3e6 [libcalamares] The amount of memory in the system cannot be negative 2022-03-22 15:23:24 +01:00
Adriaan de Groot
a303efb174 [users] Warnings--
Remove unreachable code.
2022-03-22 13:12:23 +01:00