dnf/SOURCES/0014-Documentation-API-notes-for-cacheonly.patch

27 lines
873 B
Diff
Raw Permalink Normal View History

2022-03-29 19:17:33 +00:00
From f8025df597685a0bd0c347b1a60c280f03bdca6f Mon Sep 17 00:00:00 2001
From: Jaroslav Rohel <jrohel@redhat.com>
Date: Fri, 5 Nov 2021 08:52:56 +0100
Subject: [PATCH] Documentation: API notes for cacheonly
---
doc/conf_ref.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/conf_ref.rst b/doc/conf_ref.rst
2022-09-27 20:00:30 +00:00
index 83b14ecd..75bcdf75 100644
2022-03-29 19:17:33 +00:00
--- a/doc/conf_ref.rst
+++ b/doc/conf_ref.rst
@@ -129,6 +129,9 @@ configuration file by your distribution to override the DNF defaults.
If set to ``True`` DNF will run entirely from system cache, will not update
the cache and will use it even in case it is expired. Default is ``False``.
+ API Notes: Must be set before repository objects are created. Plugins must set
+ this in the pre_config hook. Later changes are ignored.
+
.. _check_config_file_age-label:
``check_config_file_age``
2022-09-27 20:00:30 +00:00
--
2.35.1
2022-03-29 19:17:33 +00:00