Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve docs regarding the keepcache option and download command #1474

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,9 @@ Changes to individual options
``disable_excludes``
* To disable all configuration file excludes, the ``*`` glob character is used now instead of the ``all`` to unify the behavior with query objects on the API.

``keepcache``
* The behavior has been slightly modified, see the :ref:`Caching <caching_packages_ref-label>` man page for more information.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would find it more helpful if we directly said what is the change.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, me too. Though I am not sure I'd come up with a concise and short description. Also, I am not entirely sure about the behavior of all use cases in dnf4, but I can try to examine...


``optional_metadata_types``
* Default value is now: ``comps,updateinfo``.
* Supported values are now extended to the following list: ``comps``, ``filelists``, ``other``, ``presto``, ``updateinfo``.
Expand Down
3 changes: 3 additions & 0 deletions doc/misc/caching.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ If the required metadata is not present in the system, it can result in differen
such as returning an empty query, error output for no match for an argument, or an error when
resolving a transaction.

.. _caching_packages_ref-label:

Caching Packages
================
Expand All @@ -130,6 +131,8 @@ When the keepcache option is set to ``True``, downloaded files are not tracked,
removed later, either manually or by executing the ``clean`` command, for example,
``dnf5 clean packages``.

Packages are always retained when downloaded using the ``download`` command.


Sharing Root Cache Among Users
==============================
Expand Down
Loading