You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dnf: Please add GetGroups and GetCategories support #1
Please add support for this with RPM Group tag. This is needed for Mageia to use the Hif backend because we don't use comps, we use our own RPM Groups to sort packages in GUI and CLI tools. So we need searching capabilities too.
I contributed rpm-software-management/libdnf#65 to add basic support for pulling the Group information, it just needs to be hooked up in libhif and in the Hif backend.
@ximion That uses comps, which Mageia doesn't use. comps is pretty much Fedora-only. Though it would definitely make sense to support comps for Fedora, as they use it in place of RPM Groups now (probably because back when comps was created, there wasn't weak dependencies and other nice things to make metapackages not suck).
@hughsie It would be greatly appreciated if this was implemented as part of the rebase to the libhif git master. While Mageia prefers RPM Group tag for organizational purposes in PackageKit, Unity Linux (another distribution I'm working with) wants to use Comps groups (as the distribution plans to use Anaconda for the installer).
I know that you've somewhat disagreed with the idea, but #49 does already exist, showing that it is quite desired. We've talked off and on about this on IRC, and I've noted that support for comps/groups is really what holds Mageia back from moving to the hif backend for PackageKit. We've had users complain about the urpmi backend, and it would be incredible if we could offer a fully functional PackageKit UX using the hif backend. There are some considerations for Mageia's rpmdrake manatools fork (rpmdragora) to be rewritten to use PackageKit, so we definitely need this functionality.
@hughsie There also appears to be comps support in libsolv itself (I'm not sure why it's not enabled in Fedora's libsolv builds), so perhaps libhif can use that functionality and PK-hif can use it to expose comps/groups as groups/categories in PackageKit GUIs such as Apper.
We should close everything that is specifically for hif, but this seems to affect the dnf backend as well. I will leave this up to @Conan-Kudo as he's maintaining the DNF backend and can make better judgement calls than me. I will only close the obvious cases.
It's something I will think about how to address once the dnf5 backend is merged. The new backend and new API from libdnf5 will hopefully open doors here.
I legit wonder whether we should deprecate at least categories for a future version of PackageKit - possibly even groups, since AppStream exists now (although I do see a use for groups in package-centric GUIs...).
Activity
Conan-Kudo commentedon Nov 11, 2015
Please add support for this with RPM Group tag. This is needed for Mageia to use the Hif backend because we don't use comps, we use our own RPM Groups to sort packages in GUI and CLI tools. So we need searching capabilities too.
I contributed rpm-software-management/libdnf#65 to add basic support for pulling the Group information, it just needs to be hooked up in libhif and in the Hif backend.
See rpm-software-management/libdnf#63 for the libhif counterpart to this bug.
ximion commentedon Nov 11, 2015
All it needs is for someone to polish PR #49 so it can be merged, as far as I can see.
Conan-Kudo commentedon Nov 11, 2015
@ximion That uses comps, which Mageia doesn't use. comps is pretty much Fedora-only. Though it would definitely make sense to support comps for Fedora, as they use it in place of RPM Groups now (probably because back when comps was created, there wasn't weak dependencies and other nice things to make metapackages not suck).
Conan-Kudo commentedon Feb 2, 2016
@hughsie It would be greatly appreciated if this was implemented as part of the rebase to the libhif git master. While Mageia prefers RPM Group tag for organizational purposes in PackageKit, Unity Linux (another distribution I'm working with) wants to use Comps groups (as the distribution plans to use Anaconda for the installer).
I know that you've somewhat disagreed with the idea, but #49 does already exist, showing that it is quite desired. We've talked off and on about this on IRC, and I've noted that support for comps/groups is really what holds Mageia back from moving to the hif backend for PackageKit. We've had users complain about the urpmi backend, and it would be incredible if we could offer a fully functional PackageKit UX using the hif backend. There are some considerations for Mageia's rpmdrake manatools fork (rpmdragora) to be rewritten to use PackageKit, so we definitely need this functionality.
Conan-Kudo commentedon Feb 2, 2016
@hughsie There also appears to be comps support in libsolv itself (I'm not sure why it's not enabled in Fedora's libsolv builds), so perhaps libhif can use that functionality and PK-hif can use it to expose comps/groups as groups/categories in PackageKit GUIs such as Apper.
hughsie commentedon Feb 2, 2016
PR #49 needs the comments addressing before merging.
modified: ts/build/packages/terminal/build/install
modified: ts/build/packages/xfwm4/build/extra/etc/xfwm4.functions
pk-client: Fix a leak when cancelling a client task
pk-client: Fix a leak when cancelling a client task
sidt4 commentedon Aug 27, 2025
hifbackend is superseded by thednf.If this is still relevant to
dnfbackend, we can update the issue title. Else we can close this.[-]hif: Please add GetGroups and GetCategories support[/-][+]dnf: Please add GetGroups and GetCategories support[/+]ximion commentedon Aug 28, 2025
We should close everything that is specifically for hif, but this seems to affect the dnf backend as well. I will leave this up to @Conan-Kudo as he's maintaining the DNF backend and can make better judgement calls than me. I will only close the obvious cases.
Conan-Kudo commentedon Jan 5, 2026
It's something I will think about how to address once the dnf5 backend is merged. The new backend and new API from libdnf5 will hopefully open doors here.
ximion commentedon Jan 28, 2026
I legit wonder whether we should deprecate at least categories for a future version of PackageKit - possibly even groups, since AppStream exists now (although I do see a use for groups in package-centric GUIs...).