From Fedora Project Wiki

Revision as of 00:25, 12 August 2024 by Amoloney (talk | contribs)

fedora-repoquery tool

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

Detailed Description

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

Feedback

A copr repo has been available for some time.

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 uses conventional repoquery options and can show repo timestamps, and also tells you by default in which specific repo a partcular package lives.


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) [done]
    • build package for Rawhide and current releases [done]
    • 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
  • fedora-repoquery 41 podman


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