From 6adb48c250b90c9daeaf86838ef766d3c985a3f2 Mon Sep 17 00:00:00 2001 From: Ulrich Schwickerath <ulrich.schwickerath@gmail.com> Date: Thu, 18 Mar 2021 08:26:44 +0100 Subject: [PATCH] document untagging --- docs/koji/deletetag.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/docs/koji/deletetag.md b/docs/koji/deletetag.md index 36f3b57..17ea1d5 100644 --- a/docs/koji/deletetag.md +++ b/docs/koji/deletetag.md @@ -18,18 +18,30 @@ Please update the clone of this repo on lxsoftadm01: [build@lxsoftadm01] git pull ``` ## Untag packages -If there are any packages using these tags, it is better to untag them before removing the tag from KOJI. +If there are any packages using these tags, it is better to untag them before removing the tag from KOJI. To get the full list of tags use: +```bash +koji list-tags $DIST-* +``` +where $DIST is to be replaced by the tag pattern to be removed. +For each of these tags, check if there are any corresponding builds, eg +```bash +koji list-tagged $DIST-testing +``` +Then untag each of the listed packages before proceeding with eg +```bash +koji untag $DIST-testing <package> +``` + ## Remove the tag from koji -From lxsoftadm01 remove all related tags from koji +From lxsoftadm01 remove all related tags from koji, eg ```bash -~ > ssh build@lxsoftadm01 koji remove-tag $DIST-testing koji remove-tag $DIST-build koji remove-tag $DIST-qa koji remove-tag $DIST-stable ``` -where ```$DIST``` is to be replaced by the tag to be removed. +where again ```$DIST``` is to be replaced by the tag to be removed. -- GitLab