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: 1. Packit as a tool - a standalone CLI tool which you can install from Fedora repositories and use easily. 2. Packit service - A service offering built on top of packit tool. Our expectation is that you would add packit service into your Github repository and it would start handling things automatically: opening pull requests on dist-git, building packages, creating updates, ...
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
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 --enablerepo=updates-testing packit
Or
$ 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:
$ 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. ...
Package name | Contacts | Link to packit configuration file |
---|---|---|
rebase-helper | @nforro | .packit.yaml |
pykickstart | @dcantrell @larskarlitski | packit.yaml |
packit | .packit.yaml | |
colin | .packit.yaml | |
conu | .packit.yaml | |
sen | @TomasTomecek | .packit.yaml |
ogr | @lachmanfrantisek | .packit.yaml |
rear | @gdha | PR2145 |
Package name | Contacts | Links (Bugzillas, PRs, etc.) |
---|---|---|
anaconda | @jkonecny12 | BZ1697339 |
standard-test-roles | PR325 |