LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

koji-call

executes an arbitrary XML-RPC call to the Koji hub

TLDR

Execute arbitrary XML-RPC call to Koji hub
$ koji call build '"git+https://src.fedoraproject.org/rpms/pkg.git#commit"' target
copy
Call build with scratch option
$ koji call build '"git+https://url#commit"' target --kwargs '{"opts":{"scratch": True}}'
copy
Call build with arch override
$ koji call build '"git+https://url#commit"' target --kwargs '{"opts":{"arch_override":"x86_64"}}'
copy
Call build on specific channel
$ koji call build '"git+https://url#commit"' target --kwargs '{"channel":"default"}'
copy
Display help
$ koji call --help
copy

SYNOPSIS

koji call [options] function [arguments]

DESCRIPTION

koji call executes an arbitrary XML-RPC call to the Koji hub. This allows direct access to the Koji API for advanced operations not covered by standard subcommands.The function signature follows the Koji API, such as `build(src, target, opts=None, priority=None, channel=None)`. Arguments are passed positionally, with complex options provided via `--kwargs`.

PARAMETERS

function

The XML-RPC function name to call
--kwargs JSON
Pass keyword arguments as JSON object
--json-output
Output results in JSON format
-h, --help
Display help information

CAVEATS

Requires deep knowledge of the Koji API. Incorrect calls can have unintended effects. JSON syntax must be properly quoted for shell escaping.

SEE ALSO

koji(1), koji-build(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid