I'm interested in looking up the source used for different builds on Koji -- 
particularly the exact commit to the spec file's repo, when building from SCM 
-- in a scriptable way.

`koji list-history` has the most filtering options, so it seems like it *ought* 
to work... but I can't figure out how to make it include the source. Possibly 
with the `--xkey` or `--show` switches? But neither `--xkey=source` nor 
`--show=source` seems to do anything. I can't tell what the property name would 
be to get the source commits for a given build here.

Or, `koji list-tasks` does show the commits -- but it can't filter by package 
name, and the full NVR and source commit are on separate lines, so I'm in 
regular-expression hell trying to figure out how to grep or sed the output such 
that it will show matching pairs of NVRs and source commits...

Any ideas?
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to