Packit is a CLI tool that helps developers auto-package upstream projects into Fedora operating system. You can use packit to continously build your upstream project in Fedora. With packit you can create SRPMs, open pull requests in dist-git, submit koji builds and even create bodhi updates, effectively replacing the whole Fedora packaging workflow.
We are working on two things now:
For the run-down of the planned work, please see the task-list below.
This list contains workflows covered by packit tool and links to the documentation.
Configuration file for packit is described here.
TL;DR
specfile_path: packit.spec synced_files: - packit.spec upstream_package_name: packitos downstream_package_name: packit
User configuration file for packit is described here.
Packit is written in python 3 and is supported only on 3.6 and later.
When packit interacts with dist-git, it uses fedpkg
, we suggest installing it:
sudo dnf install -y fedpkg
On Fedora:
$ dnf install packit
You can also use our packit-releases
Copr repository
(contains also released versions of OGR):
$ dnf copr enable packit/packit-releases $ dnf install packit
Or from PyPI:
$ pip3 install --user packitos
(packit project on PyPI is NOT this packit project)
You can also install packit from master
branch, if you are brave enough:
You can use our packit-master
Copr repository
(contains master
version of OGR):
$ dnf copr enable packit/packit-master $ dnf install packit
Or
$ pip3 install --user git+https://github.com/packit-service/packit.git
You don't need need to install packit to try it out. You can run it directly from git (if you have all the dependencies installed):
$ python3 -m packit.cli.packit_base --help Usage: packit_base.py [OPTIONS] COMMAND [ARGS]... Options: -d, --debug -h, --help Show this message and exit. ...
For the up to date list of projects which are using packit, click here.
Created by Marián Mrva
- @surfer19