Adriaan de Groot
48dec91606
CI: fix-up txpull
...
- canonicalize the files fetched from TX after import
5 years ago
Adriaan de Groot
6eb52c2989
CI: fix-up txpush
...
- need to force-push the translation tag (since there's only one,
and it moves through history whenever TX is pushed)
- xmllint canonicalization removes the DOCTYPE, so hack in
a pipeline stage that re-inserts it.
5 years ago
Adriaan de Groot
397440539f
CI: explanations after txcheck fails
5 years ago
Adriaan de Groot
fa466b447c
CI: Canonicalize XML first
...
- Do XML processing / canonicalisation in txpush only
- Run the *HEAD* version of txpush in both worktrees
5 years ago
Adriaan de Groot
64b56664de
CI: use explicit encoding in XML tidy
5 years ago
Adriaan de Groot
053fa28b19
CI: improve TX consistency
...
- txpush
- don't try to push TX for the timezone list
- xmllint --format the .ts files to avoid inconsistency between
TX tool versions
- txcheck
- xmllint --format
- hard-code the list of files, it's not worth the hassle
- don't apply XML cleanups to POT files
- strip linenumbers from POT files for diffing
5 years ago
Adriaan de Groot
5dad5dae02
i18n: support Tumbleweed versioned-lupdate executables
5 years ago
Adriaan de Groot
5ac57fe294
i18n: don't translate TZ via Transifex
...
- This is about 600 place-names, and the vast majority is not
translatable and would only pollute the Transifex DB.
- Instead, rely on git and PRs to update these specific translations.
5 years ago
Adriaan de Groot
39cc13cb25
[shellprocess] Tidy code
...
- resolve TODO, use a unique_ptr to hang onto the command-list
- sort the #includes, use correct quoting
5 years ago
Adriaan de Groot
71a73ee1a1
[libcalamares] PythonJob created with InstanceKey
5 years ago
Adriaan de Groot
d86b6bddeb
CI: when pushing TX, also push the tag
5 years ago
Adriaan de Groot
86770111b5
Changes: Document changed job weights
5 years ago
Adriaan de Groot
96946a8447
Merge branch 'fix-unpackfs-progress'
...
This is an ugly hack, using Bill Auger's support for Job weights.
The unpackfs job is arbitrarily awarded a weight of 12. That makes it
(in a Netrunner install) use progress from 12% to 40% or so, overall,
as all the files are unpacked.
Also fixes bug reported by Kevin Kofler that unpackfs was only reporting
progress when it hit an exact multiple of 100 (instead of over 100).
SEE #1176
5 years ago
Adriaan de Groot
9976e92659
[libcalamares] Enlarge unpackfs to 12x
5 years ago
Adriaan de Groot
d4b24894cb
[libcalamares] Weigh unpackfs extra heavy
...
- This is a gross hack, which hard-codes unpackfs as much-heavier
than other Python modules.
5 years ago
Adriaan de Groot
0c9188ee83
[libcalamares] Document JobWeight
5 years ago
Adriaan de Groot
b0b9073b40
CMake: fix boost.python detection on FreeBSD
5 years ago
Adriaan de Groot
0bdc5b18f4
Merge branch 'no-config'
...
FIXES #1301
FIXES #1302
5 years ago
Adriaan de Groot
c555369766
Changes: document new *noconfig* behavior
5 years ago
Adriaan de Groot
cdd2b9cc79
Modules: set noconfig:true on Python modules
...
- hwclock, initramfs, localecfg and networkcfg don't have any
config file to work with, so set that explicitly in the module.desc
5 years ago
Adriaan de Groot
8d47751cb2
[libcalamares] Beautify debug output for InstanceKey
5 years ago
Adriaan de Groot
83ffbd5126
[libcalamaresui] Only load config file if there is one
...
- finally, no more warnings for modules that are NO_CONFIG
(or noconfig: true) and don't have a config file.
5 years ago
Adriaan de Groot
f366e3840f
[libcalamaresui] Chase stronger typing of ModuleDescriptor
5 years ago
Adriaan de Groot
5ad73681c2
CMake: actually write the NO_CONFIG setting
5 years ago
Adriaan de Groot
00deeec8c8
[libcalamaresui] Use InstanceKey instead of strings
...
- Replace return type of Module::instanceKey() by the structured
ModuleSystem::InstanceKey type
- Chase API breakage
5 years ago
Adriaan de Groot
b5d0acdf81
[luksbootkeyfile] Set NO_CONFIG
5 years ago
Adriaan de Groot
40f64f0c11
[hostinfo] Set NO_CONFIG and remove unused configuration methods
5 years ago
Adriaan de Groot
fd058302b8
[dracutlukscfg] set NO_CONFIG and coding style
5 years ago
Adriaan de Groot
6530c889f0
Merge remote-tracking branch 'origin/use-idkey' into no-config
...
- Join to a single branch that does a bunch of tidying
in the type-strictness of module interfaces.
5 years ago
Adriaan de Groot
155db29ccf
[libcalamares] Add a ModuleSystem::Descriptor
...
- this is currently just an alias for QVariantMap, which is
the type already in use.
- future plan is to tighten this up and have an actual
Descriptor class that carries only the information
actually needed for the module descriptor.
5 years ago
Adriaan de Groot
974d795390
[libcalamares] Shuffle module-loading logic
...
- group ifs by the state of thisModule
5 years ago
Adriaan de Groot
58931d99fa
[libcalamaresui] Support noconfig setting
...
- look up the descriptor and use its noconfig value
- return empty QString if noconfig is set; this does not
apply to custom instances
5 years ago
Adriaan de Groot
649eb94d24
[libcalamaresui] Type-alias for module descriptors
5 years ago
Adriaan de Groot
8fbe676280
[libcalamaresui] Refactor finding config file name
...
- check for broken custom instances earlier in the loop
- make free function for finding the config file name
5 years ago
Adriaan de Groot
a403f1e851
CI: allow plain clang-format (Tumbleweed)
5 years ago
Adriaan de Groot
d1f162f92a
Docs: describe *noconfig* module option
5 years ago
Adriaan de Groot
10d1c4cf5b
[unpackfs] Improve progress reporting
...
- don't rely on exactly 100 files being copied (thanks to Kevin Kofler)
5 years ago
Adriaan de Groot
fbb452f9bf
CMake: add support for NO_CONFIG
...
- A C++ module should set NO_CONFIG to flag that it doesn't have a
config file (this is an error if it secretly **does** have one)
5 years ago
Adriaan de Groot
fed0c46612
[libcalamaresui] Change return type of loadedInstanceKeys()
...
- Replace stringlist with a stronger-typed list of InstanceKey objects
- Move smashing-that-to-stringlist into consumers of the list
(just one, the debug window)
5 years ago
Adriaan de Groot
ed4127f661
[libcalamaresui] Shuffle the module interface
...
- introduce NamedEnum lookup tables for interface and type
- drop "final" and "virtual" from methods that don't make
sense as virtual
- shuffle declaration order so the virtual API for modules
sits together
5 years ago
Adriaan de Groot
f89c137c90
[libcalamaresui] Migrate module to using InstanceKey
...
- Trying to get away from untyped strings with special meaning.
- The "split identifier" branch tried the same thing, but
was duplicating the existing InstanceKey.h work.
5 years ago
Adriaan de Groot
a7e1a1f9fc
[libcalamaresui] Refactor Module::initFrom()
...
- generic initFrom() also sets the instance id
- subclass-specific initFrom() now pure virtual in base
- chase changes in subclasses
5 years ago
Adriaan de Groot
c482990bc5
CMake: fix find-boost
5 years ago
Adriaan de Groot
1bc8a28eac
CMake: Calamares doesn't want -p in automoc
...
FIXES #1286
5 years ago
Adriaan de Groot
1a8926181e
[locale] Warnings-- (initialization-order)
5 years ago
Adriaan de Groot
2dff2d9d70
[libcalamares] TZRegion is hard to copy
...
- delete the copy and move constructors
- adjust tests (which were just interested in simple tr() behavior) to use TZZone instead
5 years ago
Adriaan de Groot
5fbd0169ca
[libcalamares] Reduce clang warnings (only-inline-virtual, unused parameters)
5 years ago
Adriaan de Groot
1b62b2f66c
[libcalamares] Reduce warnings (extra ;, empty statement ..)
5 years ago
Adriaan de Groot
b4c0ebe8ab
[calamares] Use screen and window sizes, not position
5 years ago
Adriaan de Groot
fcb0109b7b
[calamares] Refactor center-placement
...
- Just move it to its own function where it can have more documentation
- Tested on multi-screen setups
SEE #1293
5 years ago