Re: Fwd: %forgemeta support for `git` tasks in checked-out code?

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

 



while 'exploring' some of the limits of forge syntax/usage, trying to see if/how bash expansion might work, i find that:





neither



  %global forgeurl1 https://github.com/openresty/headers-more-nginx-module

  %global commit1   git ls-remote %{forgeurl1} | grep HEAD | awk '{print $1}'



nor




  %global forgeurl1 https://github.com/openresty/headers-more-nginx-module


  %global commit1   $( git ls-remote %{forgeurl1} | grep HEAD | awk '{print $1}'
 )





yes, i know this^ is not production-ideal ... and that there are other/better options.



that said, _can_ such bash-ism be used in "getting" a forge commit value?


_______________________________________________
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




[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