Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Add support for retrieving Group property from Package #7

Open
Conan-Kudo opened this issue Sep 1, 2016 · 1 comment
Open

Comments

@Conan-Kudo
Copy link
Member

Conan-Kudo commented Sep 1, 2016

As of hawkey 0.6.3-1, it has been possible to access the "Group" tag information of a package through the Package class. This became available in Fedora with hawkey-0.6.3-2.

In Mageia, we are working on developing applications around dnfdaemon, though unlike Fedora, we actually use RPM Groups. Like SUSE, we use them for visually categorizing packages when being presented through our installer (DrakInstall) or our GUI package management frontend (currently rpmdrake).

We're working on a new tool, dnfdragora, which we're planning on rebasing from the raw DNF API to dnfdaemon. In order for us to fully move over from the raw DNF API to dnfdaemon, we need the ability to retrieve that property so that we can sort packages into their component sections.

While it is not currently mentioned in the DNF API documentation, it is accessible the same way the rest of the properties are (through the Package class), as evidenced by the commit that added it to hawkey.

I'd greatly appreciate it if it was possible to retrieve that information along with the rest of the package properties for populating the GUI via the dnfdaemon API.

@anaselli
Copy link
Contributor

Retrieving in some way a list of groups the package belongs to would be good as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants