Skip to main content

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.

builds.sr.ht status

copr build status (stable)

copr build status (dev)

fedrq on sr.ht

fedrq on git.sr.ht

fedrq on lists.sr.ht

fedrq on todo.sr.ht

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 UNLICENSEed
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fedrq-0.1.0.tar.gz (41.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fedrq-0.1.0-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file fedrq-0.1.0.tar.gz.

File metadata

  • Download URL: fedrq-0.1.0.tar.gz
  • Upload date:
  • Size: 41.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for fedrq-0.1.0.tar.gz
Algorithm Hash digest
SHA256 21d83e4bfc1a5efa1f4c4bf910f0721f417a7aa3e09e29874efcc8c88388ed4d
MD5 d8a932b5c5250237357e425841f36873
BLAKE2b-256 08efe4ecec5c719552dd293936cc664baf8849bbff8b1be41d4bd4774124ebb7

See more details on using hashes here.

File details

Details for the file fedrq-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fedrq-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for fedrq-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0449759b1accca45f6ce540b8c58805b496f21608b277cb2a38b35ec401904a
MD5 5ad6f56d03a27f1cf796cd71741dcf0b
BLAKE2b-256 00708837b08be2e14c6fb67d16b838d1c0b0e40c249040c92cf920f2089ca175

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page