8097 Commits (6221c6497a73e4a16afc4a3c7412b8adf7f5c0b5)
 

Author SHA1 Message Date
Adriaan de Groot 6221c6497a [shellprocess] Allow customizing the name of the job 4 years ago
Adriaan de Groot 21598ef4b3 [libcalamaresui] Update progress message only if it is non-empty
This improves the situation for jobs that do not provide
a status: their blank status does not overwrite the status
bar, and since (previous commit) the description or name
is used to start the job if the status is empty, at least
**something** is displayed.

SEE #1528
4 years ago
Adriaan de Groot 86fd014bbd [libcalamares] Fallback from status -> description -> name for progress 4 years ago
Adriaan de Groot 2f83d85e29 [libcalamares] Explain process failure in debug log a bit better 4 years ago
Adriaan de Groot 9c457f9449 [shellprocess] Improve documentation and examples 4 years ago
Adriaan de Groot a955791766 Apply coding style globally again 4 years ago
Adriaan de Groot cff24bdd79 Changes: mention partiton PRs from GP 4 years ago
Adriaan de Groot 1df4239c02
Merge pull request #1436 from gportay/osprober-strip-extra-file-after-at-sign
[partition] Strip extra file after the at sign
4 years ago
Adriaan de Groot 6aa8ba119e
Merge pull request #1415 from gportay/partition-table-type-settings
[partition] Partition table type settings
4 years ago
Gaël PORTAY 2b1e516ec1 [partition] Strip extra file after the at sign
- os-proper may return an extra file after the device:
  /dev/sda1:Ubuntu 19.10 (19.10):Ubuntu:linux
  /dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
4 years ago
Gaël PORTAY 2bbbb68838 [partition] Add setting for requiredPartitionTableType 4 years ago
Gaël PORTAY 70f8beb931 [partition] Add setting for defaultPartitionTableType 4 years ago
Adriaan de Groot 9486ee6fbf
Merge pull request #1524 from gportay/partition-message-user-if-no-option-available
[partition] Message user if no option available
4 years ago
Adriaan de Groot 464da39f60 Changes: post-release housekeeping 4 years ago
Adriaan de Groot 9ce08beead [libcalamares] Fix build
- The API definitions are just the symbols to define; these
  are variously added through add_definitions() (needs -D)
  or target_add_definitions() (doesn't).
4 years ago
Adriaan de Groot 40aa0fcaba CMake: add a helper module for finding KPMcore
I think we had this (kind of) module a long time ago and it was
removed for over-complicating things; re-introduce one now that
KPMcore is used in 3 different places and all would benefit
from consistent API handling / defines.
4 years ago
Adriaan de Groot db537535ee [partition] Support KPMCore 3.3 in tests 4 years ago
Adriaan de Groot f28d28a455 [partition] Ignore KPMCore 4 beta versions 4 years ago
Adriaan de Groot 58d0e4b491 Changes: mention 1-cpu problem 4 years ago
Adriaan de Groot f8e375cc9d Changes: pre-release housekeeping 4 years ago
Adriaan de Groot ffece5ffb9 Changes: Credits and documentation for changes this cycle 4 years ago
Adriaan de Groot 88b1d36009 Merge branch 'issues-1166' into calamares
FIXES #1166
4 years ago
Adriaan de Groot 26e8a6bcb5 Changes: explain the swapfile settings (and how limited they are) 4 years ago
Adriaan de Groot faa496be4a
Merge pull request #1522 from kadler15/issue-1521
[preservefiles] Fix global storage JSON dump
4 years ago
Adriaan de Groot 3e94570849
Merge pull request #1525 from tintou/calamares
[partition] Add tests for Layout-constrained partionning
4 years ago
Corentin Noël a7bd1040c5 [partition] Add tests for Layout-constrained partionning 4 years ago
Adriaan de Groot 77e2701365 [partition] Coding style
- various clang-format versions battle for supremacy
4 years ago
Adriaan de Groot b4cbf73e2d Merge branch 'calamares' into issues-1166 4 years ago
Adriaan de Groot 0b3a6baeea [fstab] If swap is "file" then create it here
- handle swapfiles when writing /etc/fstab in the target system
  - special-case mountpoint
  - since swapfiles are not a partition, take the setting out
    of partitionChoices
- create the physical swapfile as well (there's no other place
  where it would make sense)
4 years ago
Adriaan de Groot 029c3f1c74 [partition] Write the install choices to Global Storage 4 years ago
Adriaan de Groot 92a874dae7 [partition] move the swap-choice to Config 4 years ago
Corentin Noël 08138f5a41 [partition] Reduce direct dependency of PartUtils on PartitionCoreModule 4 years ago
Adriaan de Groot 063482339f Merge branch 'unpack-progress' into calamares 4 years ago
Adriaan de Groot 7125012a35 Changes: document unpackfs 4 years ago
Adriaan de Groot 672e27564e [unpackfs] Also report progress every half-second, if possible
This still won't help if there's one really huge file that takes
several seconds to write, but if there's a bunch of files together
that is less than a file_chunk_count but take more than a half-
second to write, update anyway
4 years ago
Adriaan de Groot 57fa51ecd9 [unpackfs] Simplify progress reporting more
If there's thousands of files in a squashfs (e.g. 400000 like on
some ArcoLinux ISOs) then progress would be reported every
4000 files, which can take quite some time to write. Reduce
file_chunk_count to at most 500, so that progress is reported
more often even if that wouldn't lead to a visible change
in the percentage progress: instead we **do** get a change
in files-transferred numbers.

- The total weight is only needed by the UnpackOperation,
  not by each entry.
- Use a chunk size of 107 so that the number-complete seems busy:
  the whole larger-or-smaller chunk size doesn't really matter.
- The progress-report was missing the weight of the current
  module, so would report way too low if weight > 1. This affects
  ArcoLinux configurations where one entry is huge and one is a
  single file, so weights 50 and 1 are appropriate.
4 years ago
Adriaan de Groot bc591f9bc1 [unpackfs] Re-vamp progress reporting
- simplify calculation of progress
4 years ago
Adriaan de Groot 8173b68a71 [unpackfs] Debug-log the weights of the modules 4 years ago
Adriaan de Groot 632445a431 [unpackfs] Give entries a weight
When there are multiple entries, the overall weight of the
module is divided between the entries: currently each entry
takes an equal amount of space in the overall progress.

When there are multiple entries which take wildly different
amounts of time (e.g. a squash-fs and a single file) then
the progress overall looks weird: the squash-fs gets half
of this module's weight, and the single file does too.
With the new *weight* key for entries, that division can
be tweaked so that progress looks more "even".
4 years ago
Adriaan de Groot 44f8a7ae47 [libcalamares] Reduce chattiness again of job progress 4 years ago
Calamares CI 2a795843e2 i18n: [python] Automatic merge of Transifex translations 4 years ago
Calamares CI 540a1c05b7 i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Gaël PORTAY 79740c77a3 [partition] Message user if no option available 4 years ago
Kris Adler e92927cff9 [preservefiles] Fix global storage JSON dump
fixes calamares/calamares#1521
4 years ago
Adriaan de Groot ddf3b2d399 Merge branch 'debug-job-progress' into calamares
This makes things fairly chatty, especially again during
rsync, so will be dialed back before release.
4 years ago
Adriaan de Groot ae09537bea
Merge pull request #1519 from tintou/calamares
[partition] Fix regression in partition size assignment
4 years ago
Adriaan de Groot 6e30a7b8f6 [partition] Move is-manual-partitioning-allowed to the Config object 4 years ago
Adriaan de Groot f79fbd4105 [partition] Add swap choice to config object 4 years ago
Adriaan de Groot 0f4fe6294c [partition] Migrate type for SwapChoice to Config object 4 years ago
Adriaan de Groot 881661e94b [partition] Migrate InstallChoice to the Config object 4 years ago