From Fedora Project Wiki

fedora-repoquery tool

This is a proposed Change for Fedora Linux.
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.

Summary

fedora-repoquery is a small commandline tool for doing repoqueries of Fedora, EPEL, eln, and Centos Stream package repositories. It wraps dnf repoquery separating the cached repo data under separate repo names for faster cached querying. Repoqueries are frequently used by Fedora developers and users, so a more powerful tool like this is generally useful.

Owner


Current status

  • Targeted release: Fedora Linux 41
  • Last updated: 2024-07-17
  • [Announced]
  • [<will be assigned by the Wrangler> Discussion thread]
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

fedora-repoquery (fdrq for short) has been in development for a while, and with the 0.6 release now should be polished enough now to be included in Fedora for broader usage. See the readme file for usage examples.

I am aware of fedrq which is somewhat similar to fedora-repoquery, but has a different design and emphasis. The biggest difference being that fedora-repoquery supports easily querying different OS release versions, and also tells you by default in which specific repo a partcular package lives.

Feedback

A copr repo has been available for some time.

Benefit to Fedora

fedora-repoquery is a useful tool for users and developers to query different Fedora, EPEL and Centos Stream versions.

Scope

  • Proposal owners:
    • get package review approved (bugzilla review)
    • build package for Rawhide and current releases
    • fix any bugs or issues reported by community
  • Other developers:
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with the Fedora Strategy:

Upgrade/compatibility impact

Early Testing (Optional)

https://copr.fedorainfracloud.org/coprs/petersen/fedora-repoquery/

How To Test

  • sudo dnf install fedora-repoquery
  • fedora-repoquery --help
  • fdrq 41 fedora-repoquery


User Experience

Users will have the benefit of a flexible repoquery tool with which they can check versions of packages etc in different release versions of Fedora, EPEL, Centos Stream, and eln.

Dependencies

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No


Documentation

https://github.com/juhp/fedora-repoquery#readme

Release Notes