how to use github webhook with copr

asked 2016-12-07 15:08:55 -0500

baoboa gravatar image

when i use fedora copr infra, i usually upload a srpm file for convenience, but recently a github repo maintainer ask me to help him to automatized his build for rpm, i did see the possibility to use webhook with github but after loooking at all blogs and documentation and didn't find any example how to use it ( i failed badly with tito ).

could someone give a link to an how-to (for dummy like me) or wrote me a simple example how to do it with a spec file and an existing github repo.

by the way this could make copr popular to upstream dev.

thanks

edit retag flag offensive close merge delete

Comments

@baoboa, I think you can start here -> GitHubWebhooks

hhlp gravatar imagehhlp ( 2016-12-08 04:34:14 -0500 )edit

i've seen this page but it doesn't help me to start up, the webhook is already in place but nothing happen after a push ( should trigger the webhook)

baoboa gravatar imagebaoboa ( 2016-12-08 15:38:36 -0500 )edit

to activate the webhook one need to create a new package with tito/git

baoboa gravatar imagebaoboa ( 2016-12-14 11:22:28 -0500 )edit