From 0cac97c16f900847290a3186a1ed812548b90de8 Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Mar 05 2025 21:39:13 +0000 Subject: [PATCH 1/2] feat: add how to mockbuild using a side tag Ref: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/AHN7TMK4MKEX4DWJOSV2DXAAVYIQ5SSY/ --- diff --git a/modules/ROOT/pages/Package_Update_Guide.adoc b/modules/ROOT/pages/Package_Update_Guide.adoc index de65dfe..c75b331 100644 --- a/modules/ROOT/pages/Package_Update_Guide.adoc +++ b/modules/ROOT/pages/Package_Update_Guide.adoc @@ -217,6 +217,15 @@ that the respective build is available in the build root for subsequent builds. Including `--request` is important since Koji switched to on-demand repo generation. It asks Koji to re-generate the repo immediately if the build is not currently in it. +It is sometimes useful to test mockbuilds using a side tag. +You can do this using the following command, where `` +is your side tag: + +[subs="attributes+"] +---- +$ fedpkg mockbuild --addrepo=https://kojipkgs.fedoraproject.org/repos//latest/$basearch/ +---- + [#bodhi_update_for_builds_in_a_side_tag] ==== Bodhi update for builds in a side tag From e5efa4f3aeab81de6d10c623180764aea89c3c63 Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Mar 06 2025 10:29:41 +0000 Subject: [PATCH 2/2] fix: add `--` to command Since it needs to be passed to mock itself. --- diff --git a/modules/ROOT/pages/Package_Update_Guide.adoc b/modules/ROOT/pages/Package_Update_Guide.adoc index c75b331..c0fe667 100644 --- a/modules/ROOT/pages/Package_Update_Guide.adoc +++ b/modules/ROOT/pages/Package_Update_Guide.adoc @@ -223,7 +223,7 @@ is your side tag: [subs="attributes+"] ---- -$ fedpkg mockbuild --addrepo=https://kojipkgs.fedoraproject.org/repos//latest/$basearch/ +$ fedpkg mockbuild -- --addrepo=https://kojipkgs.fedoraproject.org/repos//latest/$basearch/ ---- [#bodhi_update_for_builds_in_a_side_tag]