Re: Koji query to get the source commit for a build

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

 



> Does "fedpkg gitbuildhash" do what you want?

Hmm, not by itself, mostly because I need to already know the version-release numbers I'm looking up.

However, it could immensely simplify the regex I was using. Now it should look more like

- `koji list-history --package="$pkg_name"`
- grep for the full NVR string...
- feed that to `fedpkg gitbuildhash`

...Yeah, this could work. I hadn't considered querying with fedpkg, so thanks a lot for the tip!
_______________________________________________
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