diff --git a/docs/koji/deletetag.md b/docs/koji/deletetag.md index 36f3b57b6a1aa8f09803cc90e96c836c6309f076..17ea1d539f6f135e71ebdf4b6131571873f5435a 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.