In the ideal case, a Packit-created sidetag should be removed by Bodhi after submitting an update from it. However, that doesn't necessarily have to happen for various reasons and we don't want useless sidetags to be piling up and wasting resources.
TODO:
[ ] in periodic intervals go through all side tags in sidetags table
[ ] if a sidetag doesn't contain any builds (koji list-tagged) or if it was created more than N weeks ago, remove it both from Koji (KojiHelper.remove_sidetag()) and from the sidetags table
In the ideal case, a Packit-created sidetag should be removed by Bodhi after submitting an update from it. However, that doesn't necessarily have to happen for various reasons and we don't want useless sidetags to be piling up and wasting resources.
TODO:
sidetags
tablekoji list-tagged
) or if it was created more than N weeks ago, remove it both from Koji (KojiHelper.remove_sidetag()
) and from thesidetags
table