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

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. A new build is submitted after each commit to main. 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.1.tar.gz (34.7 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.1-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fedrq-0.0.1.tar.gz
  • Upload date:
  • Size: 34.7 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.1.tar.gz
Algorithm Hash digest
SHA256 8443e7e0b07c45a7139d49d8b4dc1412a1dd72b9d4035584679a0b80099409ee
MD5 e0ea33f89e6368f84d6dc3a05927c596
BLAKE2b-256 c3660cd2ce9f88fbf38fe77616667dcac04cd9059158734dba15f2a6cda32bdb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fedrq-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 923e0e9296e85e25adf9123a50bf01ff6e063335c763f14a5eb5d5a77a81be3b
MD5 020ec2d8f1a7d005a10150f0b8afde54
BLAKE2b-256 956ac0a1f8b178b7dc0dcfc87370b5fe4c369989dfc3318523edc216cace668b

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