Hello Gezim,
Regarding this [1] answer it seems that GitHub doesn't plan to support
webhooks for an individual branch. As for Copr, I am afraid there is no
straightforward solution to it right now. I think we need to implement some
filtering mechanism. I can create RFE about it.
However it is possible to configure it for different branches via GitHub
workflows (see example [2]), but I think it would be easier to use Packit
for this as Tomas mentioned.
Jiri
[1] -
https://stackoverflow.com/a/46201893
[2] -
https://github.com/fedora-copr/copr/blob/main/.github/workflows/copr-buil...
On Tue, Feb 21, 2023 at 9:02 AM Tomas Tomecek <ttomecek(a)redhat.com> wrote:
Hello, don't know if this is configurable in Copr.
But it certainly is with Packit:
https://packit.dev/docs/configuration/#copr_build
You can configure which branches should be built in Copr. You will also
get commit statuses with links to every build.
Tomas
On Mon, Feb 20, 2023 at 10:06 PM Gezim Blliku <gezim.blliku(a)itsyscom.com>
wrote:
> Hi , i am trying to build packages for fedora copr using custom build
> method and also i connected with webhooks to my github repo for every push
> event.My problem is every time i push a commit to a certain branch it will
> generate builds for every branch .I see that github don't support webhooks
> for invidual branch ,i am guessing there is a way to come around this in
> the script .
> _______________________________________________
> 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
> List Archives:
>
https://lists.fedorahosted.org/archives/list/copr-devel@lists.fedorahoste...
> Do not reply to spam, report it:
>
https://pagure.io/fedora-infrastructure/new_issue
>
_______________________________________________
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
List Archives:
https://lists.fedorahosted.org/archives/list/copr-devel@lists.fedorahoste...
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue