I have a scheduled Ruby script that I use for monitoring upstream packages for updates and
updating my spec files:
It uses a yaml file defining the upstream packages to be checked and how to check them:
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, January 10, 2020 10:49 AM, Pavel Raiskup <praiskup(a)redhat.com> wrote:
On Thursday, January 9, 2020 4:17:51 PM CET Richard Shaw wrote:
> I just had a thought and wondered if it were possible.
> I have an upstream that posts alpha and beta releases to a specific URL.
> What I'd like copr (or something) to do is:
> 1. Monitor those URLs so it knows when a new alpha is pushed
This part would be complicated on Copr side. We shouldn't be responsible
for polling (perhaps DoS'ing) external urls. If anything, we'd need to
let others to do this job for us carefully (e.g. anitya).
But copr is able to react on webhook call, which can be done by external
project (e.g. can be called by github - on tag event - automatically; from
upstream repo, if you tell upstream to do so):
Go to your project -> Settings -> Integrations -> Custom webhook
> 2. Pull the spec file from fedora rawhide (master)
> 3. Run rpmdev-bumpspec -n <version> -c "Update to <version>."
You probably want custom script, so go to
-> your project -> Packages -> (create one if you don't have it yet) ->
-> [Edit] package -> Custom method
There you can specify shell script which will be executed to obtain
SRC.RPM sources (from whatever destination you want):
So all this you should be able to do manually.
> 4. Create a build in my COPR project using the new source.
This is done automatically then.
copr-devel mailing list -- copr-devel(a)lists.fedorahosted.org
To unsubscribe send an email to copr-devel-leave(a)lists.fedorahosted.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines