koji-buildinfo
Display Koji build information
TLDR
Print basic information
Print basic information with changelog
Display help
SYNOPSIS
koji-buildinfo [options] <nvr|taskid>
PARAMETERS
--all
Display all available build information
--arch ARCH
Show info for specific architecture
--buildroot
Include buildroot details (chroots/packages)
--config FILE
Configuration file path
--debug
Enable debug output
--help or -h
Show help message
--logs
Show log file URLs
--password PASS
User password
--rpms
List generated RPMs with sizes/checksums
--server URL
Koji hub server URL
--source
Include source package info
--taskid ID
Use task ID instead of NVR
--test
Include test results if available
--ticket TICKET
Kerberos ticket
--token TOKEN
Authentication token
--user USER
Username
--version
Show version
--volume VOL
Filter by volume
DESCRIPTION
koji-buildinfo is a client command in the Koji build system, used by Fedora and similar RPM distributions to query detailed information about a specific package build identified by its NVR (Name-Version-Release). Koji is a distributed system for building, tagging, and tracking RPM packages. This tool fetches data from the Koji hub, including build state (e.g., Complete, Failed), creation time, owner, volume, architecture(s), tag history, RPM lists with sizes/checksums, source package details, buildroot composition (used chroots and their packages), task IDs, log URLs, and test results if available. It's essential for developers to verify builds, debug failures, review contents, or script workflows. Output is structured for readability, with options to filter or expand sections. Requires Koji client authentication via config, token, or ticket. Supports multi-arch builds and historical data.
CAVEATS
Requires authenticated access to Koji hub; NVR/task must exist; verbose output can be lengthy for large builds.
EXAMPLES
koji-buildinfo kernel-5.14.0-284.fc36
Basic build info.
koji-buildinfo --rpms --logs kernel-5.14.0-284.fc36
RPMS and logs only.
TYPICAL OUTPUT
Includes State, Results, Buildroot (cgts), Volume, Tag history, RPM list, Source (URL, commit).
HISTORY
Developed by Fedora Project around 2007 as part of Koji (successor to Plague/Mock); actively maintained for RPM build automation in Fedora, EPEL, CentOS Stream.
SEE ALSO
koji(1), koji-list(1), koji-tag(1)


