Shrinivas Vishnu Kumbhar
9b57f402da
[keyboard] Use US-English for India
2021-09-23 11:07:43 +02:00
Adriaan de Groot
cf6c930df5
Merge remote-tracking branch 'origin/calamares' into work-3.3
2021-09-22 11:51:14 +02:00
Adriaan de Groot
8f65a644a9
[libcalamares] Rename cPointerSetter
...
This class doesn't really set a pointer -- it is a scoped assignment
through a pointer, which **can** set a value on destruction (when
it leaves scope). Rename it.
While here, extend the API so that it can do an assignment to the
underlying object **now**, while also doing a scoped assignment
later when it leaves scope. This makes some code a bit easier
to read ("in this scope, X is now <v> and then it becomes <v'>")
2021-09-22 11:29:52 +02:00
Adriaan de Groot
bba5b21873
[libcalamares] Remove cBoolSetter
...
This class was used only once, and is confusing because
the assignment happens always, but to the opposite value
as what was visible. It can be replaced with other
scoped assignment, instead.
Removes the tests for it, too.
2021-09-22 11:29:52 +02:00
Adriaan de Groot
b0149c2712
[libcalamares] Log the Python language-search process just once
...
- log the list of search paths once
- log the found-language as if from Python
- warn always if none are found
2021-09-22 11:29:52 +02:00
Calamares CI
7bdccd0ea7
i18n: [python] Automatic merge of Transifex translations
2021-09-21 15:25:51 +02:00
Calamares CI
cce8b73554
i18n: [calamares] Automatic merge of Transifex translations
2021-09-21 15:25:51 +02:00
Adriaan de Groot
744979a095
Merge branch 'issue-1603' into calamares
...
FIXES #1603
2021-09-22 01:45:36 +02:00
Adriaan de Groot
db26df311d
[libcalamares] Reduce log-spam in emergencies
...
- when an emergency strikes, log the modules that are skipped
with a Once, but if an emergency module runs, refresh that
Once so that the function header is printed again -- to
distinguish JobQueue debugging from the logging from the
emergency module.
2021-09-22 01:44:00 +02:00
Adriaan de Groot
9be9431970
[libcalamares] Give Logger::Once more flexibility
2021-09-22 01:41:28 +02:00
Adriaan de Groot
049bccbdd8
[libcalamares] Cut down log-spam from KPMManager
2021-09-22 01:28:40 +02:00
Adriaan de Groot
cf1128b719
[partition] Cut down log-spam while checking for resize
2021-09-22 01:27:33 +02:00
Adriaan de Groot
857aaa6ca4
[partition] Cut down log spam about /etc/fstab
2021-09-22 01:15:37 +02:00
Adriaan de Groot
39915db988
[libcalamares] Reduce log spam when running commands
2021-09-22 00:58:31 +02:00
Adriaan de Groot
54385b7606
[libcalamares] Cut down config-file-loading log spam
2021-09-21 16:53:09 +02:00
Adriaan de Groot
87e7233292
Merge branch 'issue-1788' into calamares
...
This is in response to the issue, and cleans up a bunch of code,
but does not actually resolve the issue (because I can't quite
tell what the issue should be).
SEE #1788
2021-09-21 15:21:52 +02:00
Adriaan de Groot
cb92e49363
[initcpiocfg] Document this module
2021-09-21 15:16:08 +02:00
Adriaan de Groot
a4c714238f
[initcpio] Refactor file-writing
...
- iterate over the lines of the source file, rather
than over indexes, and make clear that the hooks, modules and files
lines are replaced, rather than merged.
- this calls write() more often, but it's only a few lines
2021-09-21 13:39:29 +02:00
Adriaan de Groot
12cd9dd5b2
[initcpiocfg] Refactor
...
- Read the host /etc/mkinitcpio.cfg in one function rather
than hiding it inside the writer
2021-09-21 13:18:01 +02:00
Adriaan de Groot
60e495bd8c
[initcpiocfg] Refactor, improve testability
...
- don't chain directly from modify_mkinitcpio_conf() to the
function that writes the file write_mkinitcpio_lines();
split into "figure out what needs to be written" and calling
that writing-function, so that we can test / check / log
if needed between the two.
2021-09-21 13:13:21 +02:00
Adriaan de Groot
118e18ac60
[initcpiocfg] Code-shuffle
...
- put the system-information and -detection functions at top
and the "do the actual work" things below
- don't mix the boolean do-we-use-this flags with the
lists of files and modules which are the important
parts of modify_mkinitcpio_conf
2021-09-21 13:03:13 +02:00
Adriaan de Groot
7c3c7c4ff7
[initcpiocfg] Use booleans for boolean values
...
(as previous) Use False/True rather than ""/"yes" for
keeping track of does-the-system-use-lvm2.
2021-09-21 12:54:18 +02:00
Adriaan de Groot
7f7dc04e8d
[initcpiocfg] Use bools for boolean values
...
Having "" and "yes" as values is a bit shell-script-ish.
Use a regular boolean value instead; simplify code
while we're at it.
2021-09-21 12:52:16 +02:00
Adriaan de Groot
45daebd989
[initcpiocfg] Refactor CPU-characteristics determination
...
The code is still over-wrought, but the API for cpuinfo
now exposes the interesting thing (is it Intel?) in
a useful -- more readable -- way.
2021-09-21 12:42:58 +02:00
Adriaan de Groot
ee4da8fcc7
Merge branch 'issue-1786' into calamares
...
FIXES #1786
2021-09-21 12:20:12 +02:00
Adriaan de Groot
9f803905cb
Changes: post-release housekeeping
2021-09-21 12:13:25 +02:00
Adriaan de Groot
1d812f88ce
[luksbootkeyfile] Bump timeout for adding LUKS keyfile
2021-09-21 12:12:07 +02:00
Adriaan de Groot
ada13c19fd
[libcalamares] Simplify filling the entropy buffer
2021-09-21 12:02:26 +02:00
Adriaan de Groot
a393ffe126
[luksbootkeyfile] Don't dd in the target to get entropy
2021-09-21 11:58:22 +02:00
demmm
9c1e635804
[keyboardq] fix xml files, xml id has to be first
2021-09-17 15:01:27 +02:00
Adriaan de Groot
593c1ca0e2
i18n: update languages list
2021-09-17 13:12:49 +02:00
Calamares CI
8ebd69f4cf
i18n: [calamares] Automatic merge of Transifex translations
2021-09-17 12:58:10 +02:00
demmm
5a83b036b8
CHANGES: update the keyboardq improvements
2021-09-17 12:40:55 +02:00
Adriaan de Groot
8f1ec4e34a
Changes: mention keyboardq improvements
2021-09-17 11:53:44 +02:00
Adriaan de Groot
4e63390e17
Changes: pre-release housekeeping
2021-09-17 11:52:16 +02:00
demmm
65b9bb0d6b
[keyboardq] set proper SPDX headers
...
rename wrongly named shift.license
2021-09-16 15:01:37 +02:00
Adriaan de Groot
e1df2a2450
Changes: document Python work and other deps-updates
2021-09-16 14:15:12 +02:00
Vitor Lopes
bd3f89fb57
[grubcfg] tidy code + pep8
2021-09-16 14:11:46 +02:00
Vitor Lopes
f9dc932f62
[initcpiocfg] fix english in human-visible string
2021-09-16 14:11:29 +02:00
Vitor Lopes
4b08aebe7f
[initcpiocfg] Use F strings, python3.6 only
2021-09-16 14:11:29 +02:00
Vitor Lopes
1fe27effe5
[initcpiocfg] rework swap_uuid statement and filesystem hook
2021-09-16 14:11:21 +02:00
Vitor Lopes
453e760709
[initcpiocfg] use format instead of %
2021-09-16 14:11:11 +02:00
Vitor Lopes
0ad9242ab7
[initcpiocfg] mkinitcpio.conf might not understand single quotes
2021-09-16 14:11:01 +02:00
Vitor Lopes
5da736466c
[initcpiocfg] rework is_intel_cpu
2021-09-16 14:10:56 +02:00
Vitor Lopes
df256b608a
[initcpiocfg] code tidy up
2021-09-16 14:10:45 +02:00
Adriaan de Groot
1f5bdef96e
CMake: bump Python requirements
...
- Python 3.6 for f-string support
- Boost 1.67 because it has consistent library naming and some CMake support
2021-09-16 13:50:51 +02:00
Adriaan de Groot
261c3587a5
[calamares] Use DBus activation instead of KDSAG
2021-09-16 13:48:56 +02:00
Adriaan de Groot
a6ba3dfce0
[license] Adjust to Qt 5.15 deprecations
2021-09-16 12:08:14 +02:00
Adriaan de Groot
1bd5628256
[libcalamaresui] Redundant call, not available in Qt 5.15 anyway
2021-09-16 12:04:50 +02:00
Adriaan de Groot
714605ebaa
[libcalamaresui] Missing header, needed in Qt 5.15
2021-09-16 12:04:29 +02:00