Bug 1045078
Summary: | [rfe] repoquery | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Monreal <michael.monreal> |
Component: | dnf-plugins-core | Assignee: | Ales Kozumplik <akozumpl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | low | ||
Version: | 20 | CC: | akozumpl, jzeleny, packaging-team-maint, pingou, pmatilai, pnemade, pspacek, rholy |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | dnf-plugins-core-0.1.0-2.fc20 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-17 23:26:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michael Monreal
2013-12-19 14:57:59 UTC
Hello, thanks for the report. Since we haven't yet started to provide repoquery at all yet I'll change this bug to general repoquery RFE. Might be a good chance to sanitize things as well by having dnf/hawkey provide some of the things repoquery needs to avoid having to wrap every single package object within another one within repoquery. Doesn't matter when you're querying a handful of packages, but for queries of thousands of packages its slow and causes memory-use to blow through the roof :) I dont remember the details offhand though, been a while I've looked at repoquery... I don't know what exactly is planned here, will this also include the ability to list buildrequires for a package such as possible with "yum-builddep"? That would be the final thing I currently miss in dnf. builddeps are planned, but not as a part of this bug. check out the bug 905697. Looks like Tim has already started on this: https://github.com/timlau/dnf-utils/blob/master/plugins/query.py Let's start from merging this int plugins-core and taking it from there. Repoquery has been added as a plugin command by 4524d56 and other patches upstream. dnf-plugins-core-0.1.0-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.0-1.fc20 (In reply to Fedora Update System from comment #7) > dnf-plugins-core-0.1.0-1.fc20 has been submitted as an update for Fedora 20. > https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.0-1.fc20 Seems like it was not included in this build? Package dnf-plugins-core-0.1.0-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.1.0-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-7072/dnf-plugins-core-0.1.0-1.fc20 then log in and leave karma (feedback). dnf-plugins-core-0.1.0-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.0-2.fc20 (In reply to Fedora Update System from comment #10) > dnf-plugins-core-0.1.0-2.fc20 This seems to work now, however the functionality I was looking for ("repoquery --list $package" as mentioned in the initial post) is not implemented. I think that DNF is a good chance to make "rpm -q" and "repoquery" compatible. It would be nice to use the same exit codes as RPM. $ rpm -q --whatprovides blahblah returns 1 instead of 0 dnf-plugins-core-0.1.0-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |