Learn more about these different git repos.
Other Git URLs
When build has a tag_listing entry for a tag, but is not in the package list for that tag, then the build will not show up when the tags content is queried. It's an unfortunate quirk of the Koji data model.
tag_listing
However, there's no reason we can't allow such builds to be untagged. The CLI includes a sanity check that errors if the build does not show up in a listTagged query. This prevents untagging such invisible builds, even though the underlying untagBuild call would have no problem.
listTagged
untagBuild
Probably the easiest thing to do here is to just skip the sanity check and instead catch and explain any errors from the untagBuild calls.
If we do want to preserve the sanity check, then we could use a queryHistory call instead. E.g. queryHistory(['tag_listing'], tag=args[0], package=pkg, active=True)
queryHistory
queryHistory(['tag_listing'], tag=args[0], package=pkg, active=True)
Metadata Update from @mikem: - Custom field Size adjusted to None
While we're here, it might be nice to make this command use multicall
A trivial workaround exists: just use koji call untagBuild $tag $nvr
koji call untagBuild $tag $nvr
Metadata Update from @tkopecek: - Issue set to the milestone: 1.28
Metadata Update from @tkopecek: - Issue set to the milestone: 1.29 (was: 1.28)
PR 3255
Metadata Update from @jcupova: - Issue tagged with: testing-ready
Metadata Update from @mfilip: - Issue tagged with: testing-done
Commit 4429b88 fixes this issue
Login to comment on this ticket.