Revisions of python-kiwi
Marcus Schäfer (marcus.schaefer)
committed
(revision 534)
Marcus Schäfer (marcus.schaefer)
committed
(revision 533)
- Drop PDF build of the documentation The kiwi.pdf file as provided in the kiwi-man-pages package was never really used by our users but comes with a huge dependency chain to LaTex. We provide the documentation online as well as converted to DocBook from where all other formats could be derived. Thus there is no need for us to produce an extra PDF document which is imho never consulted. Along with this change there is also a new meta package called kiwi-devel which should make it easier for people to pull in packages for kiwi development. This was formerly done by the helper/install_devel_packages script which was pretty much outdated. I expect there is more attention on the package than on a custom script in some helper directory. Having a kiwi-devel also simplifies the contribution chapter which was not really user friendly regarding the needed development dependencies
Marcus Schäfer (marcus.schaefer)
committed
(revision 532)
- Update documentation Several examples still pointed to Leap 15.3 repos, but we are at Leap 15.5. Thus this commit shifts towards Leap 15.5 - Remove destructor from BootLoaderInstallGrub2 With MountManager as context manager the BootLoaderInstallGrub2 class doesn't need a destructor anymore. This is related to Issue #2412 - Remove obsolete destructor from BootImageDracut With MountManager as context manager the BootImageDracut class doesn't need a destructor anymore. This is related to Issue #2412
Marcus Schäfer (marcus.schaefer)
committed
(revision 531)
- Move Raid Luks and Integrity to context manager Change the RaidDevice, LuksDevice and IntegrityDevice classes to context manager: with RaidDevice(...) as raid: raid.some_member() with LuksDevice(...) as luks: luks.some_member() with IntegrityDevice(...) as integrity: integrity.some_member() In the context of the disk builder an ExitStack is used to handle the new context manager based classes This is related to Issue #2412 - Fix error message regarding ovftool For ova support kiwi still uses the proprietary ovftool from VMware. The error message if the tool could not be found was broken and the link to the VMware page was also outdated. - Only pass appropriate bootloader arguments When constructing a BootLoaderConfig instance only pass arguments appropriate to the selected bootloader. It does not hurt but it is bad style and unnecessary data and code points if e.g grub relevant information is passed when we actually setup systemd-boot
Marcus Schäfer (marcus.schaefer)
committed
(revision 530)
- Fix crypto LUKS integration test The integration test build also encrypts /boot which requires grub to open the LUKS pool using cryptomount. grub does not support the argonID salted password hashes. Thus the integration test description configures pbkdf2 instead - Use ExitStack for MountManagers - Fix reading of os-release file If the /etc/os-release file contains comments or spaces python's csv reader will throw an exception. Thus this data must be ripped out prior reading - Move Disk to context manager Change the Disk class to be a context manager. All code using Disk was updated to the following with statement: with Disk(...) as disk: disk.some_member() This is related to Issue #2412
Marcus Schäfer (marcus.schaefer)
committed
(revision 529)
- Allow to use Literal for all python versions
Marcus Schäfer (marcus.schaefer)
committed
(revision 528)
- Better error message on module import
Marcus Schäfer (marcus.schaefer)
committed
(revision 527)
- Fixed test-image-rpi for TW No need to pull in zypper plugin that does not resolve on TW - Fix invalid escape sequence - Add missing assert call to install_test - Correct type hint of mbrid parameter - Convert BootLoaderConfigBase into an abstract base class - Convert BootLoaderConfig to free function The class serves really no purpose except for creating another namespace. This function now allows us to have more stricter type checking.
Marcus Schäfer (marcus.schaefer)
committed
(revision 526)
Marcus Schäfer (marcus.schaefer)
committed
(revision 525)
- Update documentation drop documentation for isolinux in API and user docs - better function name - Drop support for syslinux/isolinux SYSLINUX has been abandoned for several years now, and it does not even work with modern versions of the filesystems supported in kiwi. This commit drops it and Fixes #2433 - Update build tests Delete use of syslinux/isolinux
Marcus Schäfer (marcus.schaefer)
committed
(revision 524)
- Move BootLoaderConfig to context manager Change the BootLoaderConfig class to be a context manager. All code using BootLoaderConfig was updated to the following with statement: with BootLoaderConfig.new(...) as bootloader_config: bootloader_config.some_member() This is related to Issue #2412 - [docs] make copyright year dynamic - Silence Shellcheck warning SC2004 It causes false positives in array expressions, e.g. device_array[${device_index}] (see: https://www.shellcheck.net/wiki/SC2004) - Quote shell variables to prevent word splitting this fixes shellcheck warning SC2086 https://www.shellcheck.net/wiki/SC2086
Marcus Schäfer (marcus.schaefer)
committed
(revision 523)
- Add type hints & doc to VolumeManagerBase & VolumeManagerBtrfs Also add additional tests for test coverage of typing edge cases - Correct invalid escape sequence \/ is not a valid escape sequence, it just needs to be forwarded to the shell - DiskBuilder: use ExitStack to unmount partitions - FileSystemBase & VolumeManagerBase: return a MountManager from sync_data This allows us to unmount the filesystems via the returned context manager - Don't catch all exceptions in MountManager.umount - Implement a context manager interface for MountManager
Marcus Schäfer (marcus.schaefer)
committed
(revision 522)
- more syntactical sugar - syntactical sugar
Marcus Schäfer (marcus.schaefer)
committed
(revision 521)
- refactor BootLoaderConfig refactor the BootLoaderConfig class to be prepared for the move into context manager - Update Debian distro for integration tests We require python >= 3.9
Marcus Schäfer (marcus.schaefer)
committed
(revision 520)
- Consolidate more code into methods Code that is expected to be called several times due to the later context manager cascades is put into methods
Marcus Schäfer (marcus.schaefer)
committed
(revision 519)
- Fix import of typing extensions
Marcus Schäfer (marcus.schaefer)
committed
(revision 518)
- Refactor disk builder for use with context manager In preparation to further context manager related changes in VolumeManager, LuksDevice, RaidDevice and more the disk builder code which uses these classes needs to be refactored beforehand to allow switching to context manager based cascading of the storage device classes. This commit does the refactoring and is related to Issue #2412
Marcus Schäfer (marcus.schaefer)
committed
(revision 517)
- Follow up fix for drop of hybrid boot snippets The following is left over code from the drop of the hybrid boot templates.
Marcus Schäfer (marcus.schaefer)
committed
(revision 516)
- Drop hybrid boot snippets from the GRUB 2 configuration template Sometime between GRUB 2.04 and GRUB 2.06, it became no longer necessary to use "linuxefi"+"initrdefi" for UEFI boot. The standard "linux"+"initrd" stanzas work for both legacy BIOS boot and modern UEFI boot. Some distributions no longer support "linuxefi"+"initrdefi" at all anymore, so let's just use "linux"+"initrd" for everything now. - Don't create default entry for sd-boot loader.conf - Type cleanup, no use of Any type in disk builder Use proper Union declaration for system variable and add consistency layer into Filesystem/VolumeManager classes to meet the type declaration as well as to simplify further refactoring on these classes - Compat entry name for kernel-install in sd-boot systemd-boot tools like kernel-install expect a certain entry naming policy. This commit adapts kiwi to adapt to this policy. The name for the default entry is constructed out of the ID information from /etc/os-release followed by the name of the kernel as it is represented by the directory name in /lib/modules/... This Fixes #2417 - Drop SLE integration tests The kiwi version for SLE is maintained in the git repos * https://github.com/SUSE/kiwi_sle15 * https://github.com/SUSE/kiwi_sle12 and has its own set of QA integration tests in the internal build service.
Marcus Schäfer (marcus.schaefer)
committed
(revision 515)
Displaying revisions 61 - 80 of 594