On Saturday, January 2, 2021 2:49:21 PM CET Richard Shaw wrote:
> It's still manually initiated, but I wrote a bash script which takes care
> of the process nicely.
> 
> I just pass the package name and the test version and then:
> 
> 1. It clones the package in a temporary directory
> 2. Used sed to change the alpha macro from 0 to 1 which I use to control
> the Source URL
> 3. Runs "rpmdev-bumpspec -n <version>"
> 4. Runs "spectool -g <spec>"
> 5. Runs "rpkg build <COPR Project>

If this manual bash script works perhaps the "custom method" [1] would
work for you 1:1.  I don't know what scm provider is the upstream using so
I can not advice how to "automatically" trigger the builds in Copr using
the existing webhooks.  Otherwise there's no "polling" mechanism
implemented in Copr now.

In the worst case there's 'copr build-package <project> --name <package>' which
can be triggered daily.

[1] https://docs.pagure.org/copr.copr/custom_source_method.html

Pavel


_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@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/devel@lists.fedoraproject.org

Reply via email to