On Tue, Jul 30, 2019 at 3:57 PM Pierre-Yves Chibon <pingou@pingoured.fr> wrote:
On Tue, Jul 30, 2019 at 01:40:53PM -0000, Lukas Holecek wrote:
> The "gating.yaml" is fetched from git repo based on the URL of a specific build in Koji.
>
> The file is fetched from specific git commit (the revision is part of the build URL).
>
> More specifically:
>
> 1. Greewave gets the build data "koji call getBuild $NVR",
> 2. parses URL in "source" field [1] and

Note that you should use "source" from the "extra" dictionary.
Source could be the branch name, like:
git+https://src.fedoraproject.org/rpms/fedora-gather-easyfix.git#master
while "extra": {"source" will always return you the git hash:
git+https://src.fedoraproject.org/rpms/fedora-gather-easyfix.git#2d0dff00ff0085d32ce782262ee52f3e23907474

Ah, I think we did this in past, but some builds where missing "extra" field.



Would you like me to open a ticket for this?

Please do and let's discuss it there.



Best,
Pierre
_______________________________________________
CI mailing list -- ci@lists.fedoraproject.org
To unsubscribe send an email to ci-leave@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/ci@lists.fedoraproject.org