#2670 Provide a little more info on 'koji buildinfo' output
Closed by dcantrell. Opened by dcantrell.
dcantrell/koji master  into  master

Download 2670.patch

Various scripts and local tools can use the Koji output here and get
the already split out name, version, release, and epoch values.
Useful in CI environments.

Signed-off-by: David Cantrell dcantrell@redhat.com

They should use API. Relying on CLI formatting led to some sad stories. I would use:
1) API to do that
2) if it is not possible from some reason, then 'koji call --json getBuild xyz' to have something parseable.

Isn't it sufficient?

Yeah, that would be sufficient. I didn't know "koji call --json getBuild xyz" was available.

Oh wow, so much nicer. Thanks! Dump this PR, it was a waste of time. :)

Pull-Request has been closed by dcantrell

Metadata