fedrq is a tool to query the Fedora and EPEL repositories
Project description
fedrq
⚠️ This project is a work in progress. ⚠️
A tool for querying the Fedora and EPEL repositories
fedrq makes it easy to query any branch of Fedora or EPEL. It uses the dnf
Python bindings and does not shell out to dnf repoquery
. It allows querying
for reverse dependencies, packages that contain a certain Provide or file,
subpackages of an SRPM, and package metadata.
The tool doesn't seek to replace every feature of dnf repoquery. It provides a
more user friendly interface than dnf repoquery
for certain common tasks.
Installation
fedrq has a copr repository at gotmax23/fedrq that contains released versions. Development snapshots are available at gotmax23/fedrq-dev. The RPM specfile is in the repository root.
The package can also be installed from source with pip
or any other PEP 517
frontend. The following additional system packages are required:
- python3-dnf
- fedora-repos-rawhide
Note that fedrq can only be installed for the system python interpreter.
fedrq cannot be installed in a venv unless it has --system-site-packages
,
as it needs to find dnf.
fedrq check-config --dump
requires tomli-w
.
The RPM package weakly depends on python3-tomli-w
.
Versioning
This project is in alpha. fedrq.cli.*
is internal to this module. A stable
API for fedrq.repoquery
and fedrq.config
may be provided down the line. The
CLI interface is also subject to small changes.
Documentaion
See fedrq(1) (source) for the CLI interface and fedrq(5) (source) for the config file format.
Contributing
Development, issue reporting, and project discussion happen on the mailing list (~gotmax23/fedrq@lists.sr.ht).
See CONTRIBUTING.md.
Credits
Thank you to the dnf maintainers. This tool is inspired by dnf repoquery
and
uses the dnf
python bindings.
License
This project follows the REUSE specification. In general:
- Code is licensed under GPL-2.0-or-later. This is the same license as dnf.
- Configuration and repo files in fedrq/data/ are
UNLICENSE
ed - fedrq.spec is licensed under MIT to match Fedora
SPDX-License-Identifier: GPL-2.0-or-later AND Unlicense AND MIT
The RPM and Python package metadata doesn't have the AND MIT
portion, as they don't contain the specfile.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.