2025-12-16 10:20:31 -07:00
|
|
|
# koji call
|
|
|
|
|
|
|
|
|
|
> Execute an arbitrary XML-RPC call.
|
2026-08-06 22:19:46 -06:00
|
|
|
> Example: a build function declaration is `build(src, target, opts=None, priority=None, channel=None)`.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://koji.fedoraproject.org/koji/api>.
|
|
|
|
|
|
|
|
|
|
- Call build function with scratch option:
|
|
|
|
|
|
2026-08-06 22:19:46 -06:00
|
|
|
`koji call build '"{{git+https://src.fedoraproject.org/rpms/vim.git#e847a50297a216229050bf4db3d06a139104e7cf}}"' \"{{target}}\" --kwargs '{"opts":{"scratch": True\}\}'`
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Call build function with arch_override option:
|
|
|
|
|
|
2026-08-06 22:19:46 -06:00
|
|
|
`koji call build '"{{git+https://src.fedoraproject.org/rpms/vim.git#e847a50297a216229050bf4db3d06a139104e7cf}}"' \"{{target}}\" --kwargs '{"opts":{"arch_override":"sw_64"\}\}'`
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Call build function on `default` channel:
|
|
|
|
|
|
|
|
|
|
`koji call build '"{{git+https://src.fedoraproject.org/rpms/vim.git#e847a50297a216229050bf4db3d06a139104e7cf}}"' \"{{target}}\" --kwargs '{"channel":"default"}'`
|
|
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
|
|
`koji call {{[-h|--help]}}`
|