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 seeks to provide 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 and has no released version.

Documentaion

WIP. See fedrq --help and fedrq(1) (source).

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.0.2.tar.gz (34.9 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.0.2-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fedrq-0.0.2.tar.gz
Algorithm Hash digest
SHA256 67bdbcf385d196e169ebf10b4293d18bbdda3651aff6e3aca9e0687887bf9a0d
MD5 e42565f97229c01fa0640fbb46a4c7d3
BLAKE2b-256 649003c1581b435d2a278f01e0aa4be5395c186d9eb6f5dc6ec265e45459840d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fedrq-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 29.5 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.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa65956bcb9d86c3a31a5df7594c705aa65737f487807c184b475073267587b8
MD5 426d6f13adfae1951d068ec7f8540f87
BLAKE2b-256 b32d82b1abe3d18d6c645ea9adb09585cf88adda18add239849ad3a4525a9e08

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