Tooling for working with Fedora's dist-git and artifact build including RPMs, containers, modules.
  • Python 99.8%
  • Dockerfile 0.2%
Find a file
Ondřej Nosek 0443f116f6 Web documentation at Readthedocs.io
Replacement for https://docs.pagure.org/fedpkg/

Signed-off-by: Ondřej Nosek <onosek@redhat.com>
2026-06-23 00:39:31 +02:00
conf/etc/rpkg Add lookaside_http_version config option 2026-04-29 05:31:43 +02:00
doc Web documentation at Readthedocs.io 2026-06-23 00:39:31 +02:00
fedpkg request_unretirement: split branches into koji_tags and distgit_branches 2026-06-04 02:47:25 +02:00
test request_unretirement: split branches into koji_tags and distgit_branches 2026-06-04 02:47:25 +02:00
.gitignore Pytest replaces nosetests 2020-09-03 02:38:29 +02:00
.readthedocs.yaml Web documentation at Readthedocs.io 2026-06-23 00:39:31 +02:00
CHANGELOG.rst Web documentation at Readthedocs.io 2026-06-23 00:39:31 +02:00
CONTRIBUTING.md Web documentation at Readthedocs.io 2026-06-23 00:39:31 +02:00
COPYING License file without physical address 2026-02-23 10:09:00 +00:00
git-changelog More specific regex to detect bugs in changelog 2020-06-25 07:46:44 +02:00
jenkins_test.dockerfile Use ruff code checker instead of bandit 2025-11-26 02:13:19 +01:00
Jenkinsfile Post-migration steps 2026-06-10 02:46:32 +02:00
Makefile Add py313 environment as that's current 2024-08-20 02:35:37 +02:00
MANIFEST.in Remove Python 2.7 support 2024-05-28 19:50:03 +02:00
pyproject.toml Post-migration steps 2026-06-10 02:46:32 +02:00
README.rst Post-migration steps 2026-06-10 02:46:32 +02:00
requirements.txt Drop all usage of six 2024-08-20 03:33:34 +02:00
setup.cfg Switch to %pyproject_* macros 2025-06-25 04:14:51 +02:00
setup.py Post-migration steps 2026-06-10 02:46:32 +02:00
tests-requirements.txt 1.45 Release 2024-06-26 06:55:04 +02:00
tox.ini Use ruff code checker instead of bandit 2025-11-26 02:13:19 +01:00

Introduction
============

This is the fedpkg project, which mostly is a subclass of the rpkg project.

fedpkg works with Python 3.6, 3.9, 3.12, 3.13 and 3.14

License
=======

Unless otherwise specified, all files are licensed under GPLv2+.

Installation
============

Install from distribution packages
----------------------------------

fedpkg is available in Fedora and EPEL repositories. It can be installed with
package manager command. There is Python 3 package for Fedora and EPEL8 and EPEL9.

Install in a Fedora system::

    sudo dnf install fedpkg

Install in EPEL8::

    sudo dnf install fedpkg
Contribution
============

You are welcome to write patches to fix or improve rpkg. All code should work
with Python 3. Before you create a PR to propose your changes,
make sure

Sign-off commit
---------------

Make sure to sign-off your commits by ``git commit -s``. This serves as a
confirmation that you have the right to submit your changes. See `Developer
Certificate of Origin`_ for details.

.. _Developer Certificate of Origin: https://developercertificate.org/

Run Tests
---------

Before make a pull request, ensure local changes pass all test cases.

Before run tests, install these packages::

    sudo dnf install python36 python37 git make gcc rpm-build \
    libcurl-devel krb5-devel openssl-devel

To run tests simply, ``make test``.

By default, target ``test`` runs tests with all supported Python versions.
However, if you look into ``Makefile``, there is still a target ``tox`` that
allows developer to run tests with test environments one by one.

Links
=====

* Documentation: https://docs.fedoraproject.org/en-US/package-maintainers/Package_Maintenance_Guide/
* Upstream GIT: https://forge.fedoraproject.org/packaging/fedpkg
* Issue tracker: https://forge.fedoraproject.org/packaging/fedpkg/issues
* Jenkins testing pipeline.: https://jenkins-fedora-infra.apps.ocp.cloud.ci.centos.org/job/fedpkg-pipeline/