From 466e924e6f9eee007cd959bdcbb2ca0a42f816e2 Mon Sep 17 00:00:00 2001 From: Andrew Hills Date: Wed, 4 Jun 2025 16:48:54 -0400 Subject: [PATCH] Crossreference `koji_cache` from the Koji cache page Signed-off-by: Andrew Hills (cherry picked from commit 33bb36814903fe2990f1a48e21a7c456d0c16a9e) --- doc/configuration.rst | 2 ++ doc/koji.rst | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/configuration.rst b/doc/configuration.rst index 6fc4e03f..23d8524a 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -1007,6 +1007,8 @@ Example to track decisions. +.. _koji-settings: + Koji Settings ============= diff --git a/doc/koji.rst b/doc/koji.rst index 411da9fc..dc87c1af 100644 --- a/doc/koji.rst +++ b/doc/koji.rst @@ -28,7 +28,8 @@ It is possible now to run a compose from a Koji tag without direct access to Koji storage. Pungi can download the packages over HTTP protocol, store them in a local -cache, and consume them from there. +cache, and consume them from there. To enable this behavior, set the +:ref:`koji_cache ` option in the compose configuration. The local cache has similar structure to what is on the Koji volume. @@ -43,7 +44,8 @@ If it doesn't exist, it will be downloaded from Koji (by replacing the Koji URL https://kojipkgs.fedoraproject.org/packages/foo/1/1.fc38/data/signed/abcdef/noarch/foo-1-1.fc38.noarch.rpm Local path /mnt/compose/cache/packages/foo/1/1.fc38/data/signed/abcdef/noarch/foo-1-1.fc38.noarch.rpm -The packages can be hardlinked from this cache directory. +The packages can be hard- or softlinked from this cache directory +(``/mnt/compose/cache`` in the example). Cleanup