Usage

Usage

Task-oriented guides. Build the quickstart first, then pick the guide that matches your project.

First steps

  • Quickstart - Mount your sources and an output directory, run the image, and collect the RPMs it produces.
  • Iterating on a package - Keep one container alive between builds so tito provisioning, package downloads, and the package manager cache are reused.

Build paths

  • Building from a spec file - The default path, which resolves BuildRequires, fetches remote sources, and publishes every subpackage the spec defines.
  • Building a tito project - Let tito derive the version and changelog from git, with rpmbuilder provisioning tito at runtime.
  • Strict two-stage tito builds - Generate an SRPM with tito, then rebuild it in a clean container so only declared BuildRequires can be satisfied.
  • Rebuilding from an SRPM - Compile binary RPMs from existing .src.rpm files without the original sources or spec tree.

Repositories and environment

Operating

  • Debugging a build - Get an interactive shell, trace the entrypoint with DEBUG, lint the artifacts, and read the common failures.
  • GitHub Actions integration - Build RPMs in CI with the reusable workflow for matrix builds or the composite action for a single step.

Before publishing

Connections

Local graph

Linked from