Koji query to get the source commit for a build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux