Skip to content

dnf: Please add GetGroups and GetCategories support #1

Open

Description

@hughsie
No description provided.

Activity

  1. self-assigned this
    on Sep 10, 2014
  2. Conan-Kudo commented on Nov 11, 2015

    @Conan-Kudo
    Member

    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.

  3. ximion commented on Nov 11, 2015

    @ximion
    Member

    All it needs is for someone to polish PR #49 so it can be merged, as far as I can see.

  4. Conan-Kudo commented on Nov 11, 2015

    @Conan-Kudo
    Member

    @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).

  5. Conan-Kudo commented on Feb 2, 2016

    @Conan-Kudo
    Member

    @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.

  6. Conan-Kudo commented on Feb 2, 2016

    @Conan-Kudo
    Member

    @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.

  7. hughsie commented on Feb 2, 2016

    @hughsie
    CollaboratorAuthor

    PR #49 needs the comments addressing before merging.

  8. sidt4 commented on Aug 27, 2025

    @sidt4
    Contributor

    hif backend is superseded by the dnf.

    If this is still relevant to dnf backend, we can update the issue title. Else we can close this.

  9. changed the title [-]hif: Please add GetGroups and GetCategories support[/-] [+]dnf: Please add GetGroups and GetCategories support[/+] on Aug 27, 2025
  10. ximion commented on Aug 28, 2025

    @ximion
    Member

    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.

  11. Conan-Kudo commented on Jan 5, 2026

    @Conan-Kudo
    Member

    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.

  12. ximion commented on Jan 28, 2026

    @ximion
    Member

    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...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions