Bug 1465399 - [RFE] repoquery should support a query Exclusivearch and ExcludeArch tag
Summary: [RFE] repoquery should support a query Exclusivearch and ExcludeArch tag
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1361617
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-27 11:59 UTC by Sergio Basto
Modified: 2017-06-27 12:01 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 1361617
Environment:
Last Closed: 2017-06-27 12:01:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sergio Basto 2017-06-27 11:59:32 UTC
+++ This bug was initially created as a clone of Bug #1361617 +++

Description of problem:
It would be nice to have an option for dnf repoquery, that would list all packages which require a given package during build.

--- Additional comment from Jaroslav Škarvada on 2016-07-29 15:20:58 WEST ---

I.e. alias for:
 dnf repoquery --disablerepo=\* --enablerepo=SRC --arch=src --whatrequires PKG

--- Additional comment from Jaroslav Škarvada on 2016-07-29 15:23:18 WEST ---

I could be called --whatbuildrequires, etc.

The above example is not straightforward and it is not easy to find it. At least it should be present in the dnf.plugin.repoquery manual page examples.

--- Additional comment from Igor Gnatenko on 2016-07-29 15:25:35 WEST ---

$ dnf repoquery --repo=fedora-rawhide --arch src --whatrequires PKG

in DNF 2.0, but agree that it should be documented.

--- Additional comment from Tomas Orsava on 2017-01-25 16:34:21 WET ---

Update, this works on dnf 1.1.10:

$ dnf repoquery --disablerepo=\* --enablerepo=rawhide-source --arch=src --whatrequires PKG

--- Additional comment from Sergio Monteiro Basto on 2017-03-18 19:43:43 WET ---

and about query Exclusivearch tag ?

Comment 1 Igor Gnatenko 2017-06-27 12:01:22 UTC
Please, open new bug instead of cloning.


Note You need to log in before you can comment on or make changes to this bug.