kiwi-el8/doc/source/api/kiwi.package_manager.rst
Marcus Schäfer ae6effd5de
Change package manager dnf to dnf4
With dnf5 there is a successor for dnf but there will also
be a transition period where there will be both, the former
dnf and the new dnf5 available. For a clear distinction
between the two we got the recommendation from the RedHat
team to support both in different namespaces. This commit
now implements a backward compatible change for kiwi which
includes the following modifications:

* XSL stylesheet for automatic schema transformation from

  <packagemanager>dnf</packagemanager> to
  <packagemanager>dnf4</packagemanager>

* Code copy of dnf API interface from

  PackageManagerDnf -> PackageManagerDnf4
  RepositoryDnf -> RepositoryDnf4

* Deprecation of former Dnf API interface

The code change here will force developers to adapt
their code if they used RepositoryDnf / PackageManagerDnf
classes in their python code. After this change developers
will be dropped into a raise condition which exits kiwi
at the time of the call. Related to Issue #2300
and Issue #2262
2023-06-12 17:44:06 +02:00

42 lines
807 B
ReStructuredText

kiwi.package_manager Package
============================
.. _db_kiwi_package_manager_submodules:
Submodules
----------
`kiwi.package_manager.base` Module
----------------------------------
.. automodule:: kiwi.package_manager.base
:members:
:undoc-members:
:show-inheritance:
`kiwi.package_manager.dnf4` Module
----------------------------------
.. automodule:: kiwi.package_manager.dnf4
:members:
:undoc-members:
:show-inheritance:
`kiwi.package_manager.zypper` Module
------------------------------------
.. automodule:: kiwi.package_manager.zypper
:members:
:undoc-members:
:show-inheritance:
.. _db_kiwi_package_manager_content:
Module Contents
---------------
.. automodule:: kiwi.package_manager
:members:
:undoc-members:
:show-inheritance: