#4393 Removing a package from a group doesn't work
Closed: Fixed by mikem. Opened by dcavalca.

In https://pagure.io/centos-infra/issue/1673#comment-972721 we're trying to remove buildsys-macros-el10s from the build and srpm-build groups in CBS. This unfortunately doesn't seem to be possible -- there's no remove-group-pkg and using remove-group doesn't work either. What's the right way to do this?


There is a longer discussion here
https://pagure.io/koji/issue/3199

In most cases, using block-group-pkg is preferred.

That said, in your case the entry is directly in the tag, so it would be reasonable to use the remove call directly. As noted in the linked issue, you could do that with something like

koji -p cbs call  groupPackageListRemove hyperscale10s-packages-asahi-el10s-build build buildsys-macros-el10s

Metadata Update from @mikem:
- Custom field Size adjusted to None

@mikem , @tkopecek :

Applied:

cbs call groupPackageListRemove hyperscale10s-packages-asahi-el10s-build build buildsys-macros-el10s
None
cbs call groupPackageListRemove hyperscale10s-packages-asahi-el10s-build srpm-build buildsys-macros-el10s
None

but still wondering why that isn't documented for cli as it's confusing ?
Do you think (based on other RFE open for more than 3 years now) that we should be using block-group-pkg instead ?

Metadata Update from @mikem:
- Issue set to the milestone: 1.36

Metadata Update from @mikem:
- Issue tagged with: testing-custom

Metadata Update from @mfilip:
- Issue tagged with: testing-done

Commit 311dfde7 fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/4393

Please continue any further discussion there.

Metadata
Related Pull Requests