6671 Commits (4299ea1d4f3785031e83ca2e7f5e570442fb9de5)

Author SHA1 Message Date
Jerrod Frost 4299ea1d4f
Add Luet PackageManager support
Sabayon is being rebuilt into MocaccinoOS with a new packagemanager.
5 years ago
Adriaan de Groot 231fa815c1 [partition] Forgotten ) 5 years ago
Adriaan de Groot 117418fe60 [partition] Fix partitioning summary
- the %4 is left-over from the feature-summary string,
- replace it with ""; don't change the source string
  because that will break translations right now.
5 years ago
Adriaan de Groot 788c84dc41 [netinstall] SPDX-tag the syntax-error file 5 years ago
Adriaan de Groot 1af8796b2b [libcalamares] Refactor translations-for-a-test CMake code
- turn the translations-QRC phase into a function, just in
  case other tests need translations as well.
- This CMake code might work as the base of translation-wrangling for
  plugins (externally).
5 years ago
Adriaan de Groot cfbe722350 [libcalamares] Test the translated string with real translations
- introduce a bogus translation context, load translations,
  and check that the context-enabled translator does its job.
5 years ago
Adriaan de Groot 0143aa5515 [libcalamares] Make the branding-loading messages follow same format as the others 5 years ago
Adriaan de Groot d72e42f7ba [libcalamares] Extend (configuration) translated string with context
Make it possible to pass in a context for strings not-from-config
maps, to allow programmatically set, but translatable, strings.
5 years ago
Adriaan de Groot 2a9205ebd9 Merge branch 'issue-1673' into calamares
FIXES #1673
5 years ago
Adriaan de Groot 165e559866 [netinstall] Extend tests with mixed fallbacks
- insert bad or empty URLs in between successful loads,
  check tail end of loading process.
5 years ago
Adriaan de Groot 21d24eeb8d [netinstall] Add tests for fallback loading
- first success that has data is kept
5 years ago
Adriaan de Groot 4dd6ecd54e [netinstall] Edge cases of zero, or unset, groups urls
- consumers may wait for loadingDone(), so always emit that
  even if no URL list is set.
5 years ago
Adriaan de Groot 9569105575 [netinstall] Extend tests with YAML syntax error and no-files-at-all 5 years ago
Adriaan de Groot 850825f70f [netinstall] Leave the last status on the queue
- Reaching the end means there's no data, but leave the last load result
  (presumably bad-something) around rather than overwriting.
5 years ago
Adriaan de Groot bd2fb552b5 [netinstall] let queue finish properly
- if the queue is emptied, there was no usable data; set
  failure to NoData rather than BadData.
- FetchNextUnless::done() is done only if the parameter is true (that
  is, it's done!); otherwise should continue.
5 years ago
Adriaan de Groot 3e26ae5ad6 Merge branch 'release-3.2.39.x' into calamares 5 years ago
Adriaan de Groot cf0119ed4a [initcpiocfg][plymouthcfg] Consistent find-plymouth code
- drop the debugging line because that has already been
  logged by the call to `runCommand()` that backs
  `target_env_call()`.
- use the same (top-level) function rather than having a
  function and elsewhere a very-similar method.
5 years ago
Adriaan de Groot af12583122
Merge branch 'calamares' into calamares 5 years ago
Adriaan de Groot 67effe4214 [netinstall] check in test that loading did not time out 5 years ago
Adriaan de Groot bd118bb457 [netinstall] Massage test data
- hidden groups aren't counted at all
- count() at top-level of the model counts groups
5 years ago
Adriaan de Groot dfedc0fb21 [netinstall] Extend tests
- add an "empty" groups file
- run an event loop to give the loader the opportunity to load
5 years ago
Adriaan de Groot a21665011f [netinstall] The status is ready (done) when the queue is done
- Don't signal ready every time data is sent to the model, since
  if the model ends up empty, loading will continue with the next
  fallback entry.
5 years ago
Adriaan de Groot 294d07db7b [netinstall] When starting to load YAML data, set appropriate status
- if a list is required, then we don't have data yet and should complain;
  otherwise we're OK even if no data is ever added.
5 years ago
Adriaan de Groot 5af37b0be3 [netinstall] Stub of tests for fallback-loading 5 years ago
Adriaan de Groot 3c398bd15e [netinstall] Only wrap-up if the packages list is OK
Avoid situation where the YAML is ok but doesn't contain
a list of netinstall packages, so the packages list (the model)
is still empty.

FIXES #1673
5 years ago
Erik Dubois 9651cc0cd7
Update main.py 5 years ago
Johannes Kamprad 44ec9d14a6
Update main.py
adding sway to desktop_environments
5 years ago
Adriaan de Groot 3f1d12ccd8 [users] One more capitalization fix for autologin
FIXES #1672
5 years ago
Adriaan de Groot 2b8309eb04 [users] Add tests for autologin settings
- four possibilities for old and new keys
- 6e is the check for not-actually-set, to track defaults
5 years ago
Adriaan de Groot adb9f37cca [locale] Set *locale* GS key when needed
The code path for setting the locale / language automatically
emits currentLanguageStatusChanged(), but the code that updates
GS connects to currentLanguageCodeChaged(). This was altered in
the 3.2.28 release cycle. Since then, automcatic locale selection
wasn't setting *locale* in GS, so that a click-through kind of
locale selection would not set it; then the packages module
has no *locale* setting for localization packages.

The combination of status and code signals (machine- and human-
readable) is ok. Introduce a setter to the language that does
the necessary signalling, so that setting the language automatically
also DTRT.

FIXES #1671
5 years ago
Adriaan de Groot ea61ac4386 [locale] Set *locale* GS key when needed
The code path for setting the locale / language automatically
emits currentLanguageStatusChanged(), but the code that updates
GS connects to currentLanguageCodeChaged(). This was altered in
the 3.2.28 release cycle. Since then, automcatic locale selection
wasn't setting *locale* in GS, so that a click-through kind of
locale selection would not set it; then the packages module
has no *locale* setting for localization packages.

The combination of status and code signals (machine- and human-
readable) is ok. Introduce a setter to the language that does
the necessary signalling, so that setting the language automatically
also DTRT.

FIXES #1671
5 years ago
Adriaan de Groot db51e813fb Merge branch 'release-3.2.39.2' into calamares 5 years ago
Adriaan de Groot 8a413866a1 [calamares] Make --version print extended versioning information 5 years ago
Adriaan de Groot 21f52f9dc1 [calamares] Remove overly-spaced debug (SubEntry does the right thing) 5 years ago
Adriaan de Groot 18b805d43f [keyboard] Set initial values for model, layout, variant
When loading the lists, no initial string-value was being
set for the model, layout and variant; the configuration
could pass right through and pick up empty strings instead.
If the user does not change the model, the UI would show
"pc105" but the internal setting would still be empty.

FIXES #1668
5 years ago
Adriaan de Groot b191f39bdf [keyboard] Simplify config-loading
The machinery in `setConfigurationMap()` was just duplicating
checks already in place in the `getString()` and `getBool()`
methods, and there's no special need for efficiency here,
so prefer the more readable and short code.

("efficiency" here means "we're saving one method call in
case the configuration is not set")
5 years ago
Adriaan de Groot 8949b079e1 [users] Fix autologin-setting from config file
SEE #1668
5 years ago
Adriaan de Groot 9d4c2bf1c7 [displaymanager] Fix mismatch in spelling of "autologinUser"
In 4ffa79d4cf, the spelling
was changed to consistently be "autoLoginUser" in the *users*
module, but that changed the Global Storage key as well,
and the *displaymanager* module wasn't changed to follow.
5 years ago
Erik Dubois d19c3b5458 Update main.py
Typo
5 years ago
Erik Dubois f8494f27d5 displaymanager from arcolinux 5 years ago
Adriaan de Groot bf7b41f548 [libcalamares] Document the Once class for logging 5 years ago
Adriaan de Groot 0ec77f5d85 [partition] Warnings-- (uninitialized value) 5 years ago
Adriaan de Groot df1d7dea61 [partition] Warnings--
Avoid the extra indirection through the otherwise-unused
prettyGptType(const QString&), construct table of names
only on first call to avoid static-initialization order
(though that's not important here).
5 years ago
Adriaan de Groot 0ccd55e33f [libcalamares] Warn (python only) about unknown GS keys
This makes it easier to spot problems where key-names are mis-spelled
in Python (or other modules change a name and it's not applied
to consumers)
5 years ago
Adriaan de Groot b04d59ba2e [libcalamares] More variant->python translations
- There's still 49 enumeration values not handled, leading to
  an annoying Clang warning, but there's just no **point**
  in listing them all: that's what 'default' is for.
5 years ago
Adriaan de Groot 42d00ffe38 [displaymanager] Fix mismatch in spelling of "autologinUser"
In 4ffa79d4cf, the spelling
was changed to consistently be "autoLoginUser" in the *users*
module, but that changed the Global Storage key as well,
and the *displaymanager* module wasn't changed to follow.
5 years ago
Adriaan de Groot 94bd17ecf5
Merge pull request #1664 from erikdubois/patch-1
[displaymanager] Update main.py
5 years ago
Adriaan de Groot b95b3dbc78 Merge branch 'ff-fslabel' into calamares
Fix build with newer KPMCore (still builds on Netrunner 19).
5 years ago
Adriaan de Groot 22dbe60bb9 [partition] Use operations-API (available in all supported KPMCore versions) 5 years ago
Adriaan de Groot 47c167c043 [partition] KPMCore removed some headers 5 years ago