Packit-as-a-Service is a GitHub App that helps you continuously ensure that your project work in Fedora OS.

Easy to use

Using Packit Service is very straightforward: add one config file to your repository together with the RPM spec file and you’re good to go.

Packit Service validates your pull requests by building your software in Fedora OS. Once the builds are done, Packit lets you know how to install the RPMs inside your environment so you can try the changes before merging them.

Packit is also available as a CLI tool, so you can always try things locally on your own.

Integrating Packit-as-a-Service into your project or organization from GitHub Marketplace

  1. Navigate to the “Packit-as-a-Service” GitHub application.
  2. Under “Pricing and setup”, click “Install it for free”.
  3. Click “Complete order and begin installation”.
  4. Install the “Packit-as-a-Service” to repositories of your choice.

Once installed, you will see the “Packit-as-a-Service” GitHub application in your project settings. In the left sidebar, click “Integration & services” and you will see the application displayed there.

In order to continue, please head to the main Packit guide.

How to check Packit Service works in your project?

Currently, Packit Service is able only to build your changes and provide them as RPMs. Once you create a pull request, Packit Service builds the code from the pull request in COPR repository and reports back COPR build status to the pull request.

An example of Packit Service pull request:

Packit service pull request

How to re-trigger Packit Service actions in your pull request?

Packit Service is able to schedule new builds based on a pull request comment:

/packit copr-build

So whenever you run into a flake or feel like you want to retrigger, just type that comment into the PR and enjoy some fine, fresh builds.

Only project collaborators can re-trigger.

How to propose a new downstream update?

Packit Service is able to propose updates of new upstream releases using this comment in an issue:

/packit propose-update

If you want to propose the latest release into Fedora repositories, create an issue and add that comment into this issue and Packit service triggers and pushes it directly into Fedora dist-git repositories.

If all jobs (propose_downstream), defined in packit.yaml file, finished successfully, then the issue is automatically closed.

Only project collaborators can propose a new update.