Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions pages/linux/koji.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
# koji

> Interact with kojihub.
> Interact with a Koji build system.
> Koji is used for building and tracking RPM packages, and the `koji` command communicates with `kojihub`.
> More information: <https://docs.pagure.org/koji>.

- Execute a koji subcommand:
- Show general help:

`koji {{subcommand}}`
`koji help`

- Introduce yourself to test connectivity with koijhub:
- Run a specific Koji subcommand:

`koji moshimoshi`
`koji {{subcommand}}`

- Display help about global options:
- Display information about your Koji configuration:

`koji --help`
`koji list-api`

- Display help to get all available commands:
- Show the latest builds for a package:

`koji help`
`koji latest-build {{tag}} {{package}}`

- Display help for a specific subcommand (like `build`, `tag-build`, `download-build`, `buildinfo`,`call`, etc.):
- List all available tags:

`koji {{subcommand}} --help`
`koji list-tags`

- Display version:
- List all tasks:

`koji version`
`koji list-tasks`