diff --git a/dnf5.spec b/dnf5.spec index 1d845e20e..f11a387c1 100644 --- a/dnf5.spec +++ b/dnf5.spec @@ -333,8 +333,7 @@ It supports RPM packages, modulemd modules, and comps groups & environments. %{_mandir}/man7/dnf*-filtering.7.* %{_mandir}/man7/dnf*-forcearch.7.* %{_mandir}/man7/dnf*-installroot.7.* -# TODO(jkolarik): modularity is not ready yet -# %%{_mandir}/man7/dnf*-modularity.7.* + %%{_mandir}/man7/dnf*-modularity.7.* %{_mandir}/man7/dnf*-specs.7.* %{_mandir}/man5/dnf*.conf.5.* %{_mandir}/man5/dnf*.conf-todo.5.* diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index dba8dcd0f..90d728654 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -91,8 +91,7 @@ if(WITH_MAN) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/dnf5-filtering.7 DESTINATION share/man/man7) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/dnf5-forcearch.7 DESTINATION share/man/man7) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/dnf5-installroot.7 DESTINATION share/man/man7) - # TODO(jkolarik): modularity is not ready yet - # install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/dnf5-modularity.7 DESTINATION share/man/man7) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/dnf5-modularity.7 DESTINATION share/man/man7) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/dnf5-specs.7 DESTINATION share/man/man7) # plugin commands diff --git a/doc/misc/filtering.7.rst b/doc/misc/filtering.7.rst index e46c53a00..f9aa1d831 100644 --- a/doc/misc/filtering.7.rst +++ b/doc/misc/filtering.7.rst @@ -61,7 +61,7 @@ For details see :manpage:`dnf5-versionlock(8)`, :ref:`Versionlock command ` for details on how Modular Filtering works. With modularity, only RPM packages from ``active`` module streams are included in the available package set. RPM packages from ``inactive`` module streams, as well as non-modular packages with the same name or provides as a package from an ``active`` module stream, are filtered out. Modular filtering is not applied to packages added from the command line, installed packages, or packages from repositories with ``module_hotfixes=true`` in their ``.repo`` file. diff --git a/doc/misc/index.rst b/doc/misc/index.rst index a392058a2..90daf25bb 100644 --- a/doc/misc/index.rst +++ b/doc/misc/index.rst @@ -12,9 +12,5 @@ Miscellaneous filtering.7 forcearch.7 installroot.7 - specs.7 - -.. - - # TODO(jkolarik): Modularity is not ready yet modularity.7 + specs.7 diff --git a/doc/misc/modularity.7.rst b/doc/misc/modularity.7.rst index 808c9b382..a98293624 100644 --- a/doc/misc/modularity.7.rst +++ b/doc/misc/modularity.7.rst @@ -104,18 +104,18 @@ Non-modular RPMs must remain unavailable and must never get on the system. This happens when: -* user disables a repository via ``--disablerepo`` or uses ``--repoid`` +* user disables a repository via ``--disable-repo`` or uses ``--repo`` * user removes a .repo file from disk * repository is not available and has ``skip_if_unavailable=true`` -DNF keeps copies of the latest modulemd for every active stream +DNF5 keeps copies of the latest modulemd for every active stream and uses them if there's no modulemd available for the stream. This keeps package filtering working correctly. The copies are made any time a transaction is resolved and started. -That includes RPM transactions as well as any ``dnf module `` operations. +That includes RPM transactions as well as any ``dnf5 module `` operations. -When the fail-safe data is used, dnf show such modules as part of @modulefailsafe repository. +When the fail-safe data is used, DNF5 show such modules as part of @modulefailsafe repository. Orphaned modular packages @@ -123,6 +123,6 @@ Orphaned modular packages All packages that are built as a part of a module have ``%{modularitylabel}`` RPM header set. If such package becomes part of RPM transaction and cannot be associated with any available -modulemd, DNF prevents from getting it on the system (package is available, but cannot be +modulemd, DNF5 prevents from getting it on the system (package is available, but cannot be installed, upgraded, etc.). Packages from Hotfix repositories or Commandline repository are not affected by Fail-safe mechanisms.