rpm-software-management / libdnf

Package management library.
GNU Lesser General Public License v2.1
184 stars 139 forks source link

Support for RPM Groups and related functionality #63

Closed Conan-Kudo closed 8 years ago

Conan-Kudo commented 9 years ago

While Fedora has dropped usage of the RPM Groups, most distributions have not. In my case, I've been diligently working on implementing DNF and libhif for Mageia. However, Mageia does not use comps, and uses its own RPM Groups to sort packages for RPMDrake and other tools.

Unfortunately, DNF and libhif do not currently support the Group tag. Would you please add it?

I did make a PR to add the functionality to pull in the Group tag in hawkey, but that's about as far as I got.

It'd also be great if it was supported in the PackageKit Hif backend (so that tools like Apper, Muon Discover, etc. work with Groups).

I'm sure for Fedora, it would make sense for it to expose the comps data instead, so you may want to set it up to retrieve comps as groups if comps data is defined, otherwise use group data. Or maybe a compile time switch to flip the behavior?

hughsie commented 9 years ago

FWIW, this would be trivial to merge in after the hawkey stuff has been merged in. If you do a pull request against wip/hughsie/mega-merge I'll even do it now.

Richard.

Conan-Kudo commented 9 years ago

@hughsie Okay, done.

ignatenkobrain commented 8 years ago

PR was merged, so closing this issue.