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?