Skip to content

Commit

Permalink
doc: Add filelists related entries to API and configuration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-kolarik committed Nov 7, 2023
1 parent 9188ba1 commit 938d3bf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api_cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ When packaging your custom command, we recommend you to define a virtual provide

If ``True``, also the repository metadata containing changelogs for packages will be downloaded. Defaults to ``False``.

.. attribute:: filelists

If ``True``, also the repository metadata containing filelists for packages will be downloaded. Defaults to ``False``.

.. attribute:: success_exit_status

The return status of the DNF command on success. Defaults to ``0``.
Expand Down
16 changes: 16 additions & 0 deletions doc/conf_ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,22 @@ configuration file by your distribution to override the DNF defaults.

Command-line option: :ref:`--obsoletes <obsoletes_option-label>`

.. _optional_metadata_types-label:

``optional_metadata_types``
:ref:`list <list-label>`

List of metadata types to be loaded in addition to ``primary``, ``modules``, ``comps``, ``updateinfo`` and ``presto``,
which are loaded always.

Note that the list can be extended by individual commands, using demands, to explicitly request
loading specific metadata type.

Currently only ``filelists`` value is supported. Default is ``filelists``.

..
# TODO(jkolarik): Change the default to an empty list when the system-wide change proposal is accepted
.. _persistdir-label:

``persistdir``
Expand Down

0 comments on commit 938d3bf

Please sign in to comment.