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:
- It clones the package in a temporary directory
- 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