Adriaan de Groot
4db4e983e3
[partition] Don't format tables of attributes in source
2021-11-16 14:04:00 +01:00
Adriaan de Groot
3aac4dea67
[partition] Remove logging-of-a-pointer during device detection
2021-11-16 13:52:10 +01:00
Adriaan de Groot
3dd02edc78
[libcalamares] Document how to interpret percents
...
- use 0..1 in floats for percentages (I suppose you could
call that a perunage, but that would be weird).
2021-11-15 23:16:58 +01:00
Adriaan de Groot
d5bef9efb5
Python: document which exception is thrown on process failure
2021-11-15 21:48:17 +01:00
Adriaan de Groot
5f7b221e11
[displaymanager] Fix greetd commands
...
- since default_desktop_environment isn't a string, need
to pick the string -- the command -- out of the object first.
2021-11-15 13:38:46 +01:00
Adriaan de Groot
16a029abd2
[displaymanager] Adjust tests to match real runtime
...
- the default_desktop_environment isn't a string, but an
object; it is unusual for it to be used in set_autologin
2021-11-15 13:37:23 +01:00
Adriaan de Groot
f3e85efd41
[displaymanager] Add tests that run parts of the DM code
...
- load and set autologin for greetd (this was used to shake out
code bugs in load/save)
- load and set autologin for sddm
2021-11-15 13:00:40 +01:00
Adriaan de Groot
2c186132cd
[displaymanager] Add support for greetd
...
- Includes post-PR code-fixes
CLOSES #1814
2021-11-15 12:30:19 +01:00
Adriaan de Groot
ce6aec158a
[displaymanager] Fix config loading-and-saving
...
- toml.dump() takes a file-like object
- toml.loads() takes a whole string to parse, (e.g. the TOML data),
not a pathname, so change to toml.load() which takes a file-like
object.
2021-11-15 12:23:17 +01:00
Adriaan de Groot
54fd81a87e
[displaymanager] Handle case where config file doesn't exist or has no key
...
- If the config file doesn't exist, the dictionary is empty
- If it **does** exist, it might not have key 'default_session' in it
Either case should avoid a KeyError by using get() (or setdefault,
in this context). Subsequent use of os.path.exists() is strange,
since the value is a **group** (e.g. a dictionary) in the config
file. Just check if it exists, and then fill something in.
2021-11-15 12:21:27 +01:00
Adriaan de Groot
11424195ef
[displaymanager] Missing method call
...
- Add `()` to call the config_path() method, because we need a path
to pass to os.path.exists().
2021-11-15 12:20:54 +01:00
Adriaan de Groot
fad2f6ea88
[displaymanager] Add simple test
2021-11-15 11:52:24 +01:00
Adriaan de Groot
58cf9ffeeb
[displaymanager] Import toml only for the DMs that actually need it
2021-11-15 11:43:47 +01:00
Adriaan de Groot
85f36c77b1
[displaymanager] Import configparser only for the DMs that actually need it
2021-11-15 11:42:25 +01:00
Adriaan de Groot
138db1c817
Merge branch 'feat/greetd-support' of git://github.com/boredland/calamares into boredland-feat/greetd-support
2021-11-15 11:40:18 +01:00
Adriaan de Groot
126838fe1d
Changes: post-release housekeeping
2021-11-15 11:27:20 +01:00
Adriaan de Groot
f0958535df
CI: Update release instructions
2021-11-15 11:14:31 +01:00
Adriaan de Groot
d7865a5bcd
Merge pull request #1824 from dalto8/spacecache
...
[fstab] Remove space_cache from btrfs mount options
2021-11-15 11:09:05 +01:00
Adriaan de Groot
dd2e14853c
i18n: Update language lists
2021-11-15 11:03:41 +01:00
Calamares CI
b0436bf050
i18n: [calamares] Automatic merge of Transifex translations
2021-11-15 10:58:51 +01:00
dalto
daa5731acf
[fstab] Improve comment about space_cache
2021-11-12 09:29:04 -06:00
dalto
9ef520f862
Add comment describing the situation with space_cache on btrfs
2021-11-12 08:58:43 -06:00
dalto
0bef2a91a1
[fstab] Remove space_cache from btrfs mount options
2021-11-10 17:16:09 -06:00
Adriaan de Groot
4fb8993a38
[finishedq] Add sample QML for mobile usage
...
This has a countdown-timer that automatically restarts;
the rest of the settings follow the finishedq.conf values.
FIXES #1601
2021-11-09 23:08:40 +01:00
Adriaan de Groot
8639c9a79f
[partition] Fix up tests
2021-11-09 16:37:25 +01:00
Adriaan de Groot
7291656f19
CI: add new Python API to the linter's library, too
2021-11-09 16:26:31 +01:00
Adriaan de Groot
cd0785164b
[partition] Fix compatibility with Qt 5.12
2021-11-09 15:57:20 +01:00
Calamares CI
24306efddb
i18n: [calamares] Automatic merge of Transifex translations
2021-11-07 23:23:25 +01:00
Adriaan de Groot
737ec690b6
Changes: pre-release housekeeping
2021-11-09 15:29:23 +01:00
Adriaan de Groot
fa1b47a357
Merge branch 'pacman-progress-reporting' into calamares
...
This gives at **least** a proof-of-concept for progress
during package-installation. It's up to the package-manager
or distro to write better progress reporting.
FIXES #1582
2021-11-09 15:25:28 +01:00
Adriaan de Groot
2a86e86817
[packages] Make package-installation messages slightly less scary.
...
From a test with XeroLinux, at some point it says 'reinstalling linux...'
which is a message from pacman about the package called 'linux'.
2021-11-09 15:25:06 +01:00
Adriaan de Groot
e4b44b5f85
[packages] Look for other progress indicators
...
- the (n/m) lines are output of specific steps, not actual package-
installation. So look for "<action> <packagename> ..." lines instead.
This means we keep some state around, and need extra machinery to
report those lines rather than the generic progress reporting
that reports on groups.
2021-11-09 14:42:12 +01:00
Adriaan de Groot
4821f450f3
[packages] Report progress by scanning pacman output
...
- during install and remove, check for (n/m) output lines which
report progress of the pacman actions and turn those into progress
reports for the *packages* module.
2021-11-09 13:07:29 +01:00
Adriaan de Groot
575654941f
[partition] Move required partition table type to Config
...
- remove from GS
- remove duplication across Config and ChoicePage
- improve translations (presumably "msdos or gpt" is the most
complicated it will get)
FIXES #1735
2021-11-09 12:25:47 +01:00
Adriaan de Groot
f62198e250
Changes: document who-what for this release
2021-11-09 11:32:06 +01:00
Adriaan de Groot
be217c6a47
Merge pull request #1823 from calamares/boot-partition
...
[partition] offer /boot also when other EFI partition was specified
2021-11-09 11:24:53 +01:00
Philip Müller
0486e48c4e
[partition] offer /boot also when other EFI partition was specified
...
- it still makes sense to offer /boot in EFI
- example: /boot ext4, /boot/efi vfat
- this partly reverts 60f8a7c5fb
2021-11-09 01:51:49 +01:00
Adriaan de Groot
ead641c344
[summary] Prefer a step's widget over text
...
- the partition module makes a nice descriptive widget,
which includes the text it **also** has for the summary;
(the text is intended for the QML summary).
- In general, if a module has a widget for the summary, assume
that that is the **whole** summary and use it instead of text.
This resolves duplicate summaries -- showing the text of the
partitioning-step, followed by its widget -- introduced in July.
2021-11-08 14:44:12 +01:00
Adriaan de Groot
6130a9c51f
[unpackfs] Re-jig process-return-value in Python
...
- make the installation work,
- special case because rsync can return error 23 (which throws, from
inside the Python API) which still means "it was ok".
2021-11-05 16:52:18 +01:00
Adriaan de Groot
c79bb3cd10
[unpacks] PARTIAL conversion to newer API with callback
2021-11-05 16:33:10 +01:00
Adriaan de Groot
b9691c339e
S also docs
2021-11-05 16:32:40 +01:00
Adriaan de Groot
5e6d292235
FIXUP
2021-11-05 16:31:47 +01:00
Adriaan de Groot
faf1d68d32
[libcalamares] Tidy up processing of process output
...
- force C locale on processes
- split trailing output if output per-line-processing is active
2021-11-05 16:26:45 +01:00
Calamares CI
e8c11003e3
i18n: [calamares] Automatic merge of Transifex translations
2021-11-04 12:03:17 +01:00
Adriaan de Groot
94039c19bb
[unpackfs] Use callback instead of building giant string in memory
...
SEE #1740
By processing each line in turn (and just counting is) rather
than collecting all of the lines of output from the tools,
we end up with lower memory usage.
2021-11-03 16:09:11 +01:00
Adriaan de Groot
e8209089c6
Merge branch 'issue-1740' into calamares
...
FIXES #1740
2021-11-03 15:49:03 +01:00
Adriaan de Groot
fe582fb94d
Docs: document the Python APIs for modules
2021-11-03 15:48:26 +01:00
Adriaan de Groot
74d65d8338
Docs: touch-ups and typos
2021-11-03 13:51:17 +01:00
Adriaan de Groot
2800128a8d
[libcalamares] Expand the output-processing API
...
- support host and target runs
- add stdin and timeout values
- allow automatic output to list
2021-11-03 13:45:15 +01:00
Adriaan de Groot
3120abbce8
[libcalamares] Introduce host_env_process_output, too
...
- run commands consistently, with optional output-processing,
in host or target;
- raises exception on error, like the check_* functions.
2021-11-03 12:23:39 +01:00