Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Support Gitea Webhooks #365

Closed
captn3m0 opened this issue Apr 17, 2018 · 7 comments
Closed

[feat] Support Gitea Webhooks #365

captn3m0 opened this issue Apr 17, 2018 · 7 comments

Comments

@captn3m0
Copy link

The headers are slightly different compared to other providers. They fake X-GitHub-* headers as well, but GitHub seems to be using X-Hub-*

Request URL: https://ci.bb8.fun/webhooks/github
Request method: POST
Content-Type: application/json
X-GitHub-Delivery: 858d7102-3854-4d7c-a9f5-38ce7f91a000
X-GitHub-Event: push
X-Gitea-Delivery: 858d7102-3854-4d7c-a9f5-38ce7f91a000
X-Gitea-Event: push
X-Gogs-Delivery: 858d7102-3854-4d7c-a9f5-38ce7f91a000
X-Gogs-Event: push

Gitea is https://gitea.io, a fork of gogs.

@captn3m0
Copy link
Author

captn3m0 commented May 5, 2018

Looked into it a bit more, gitea sends the secret in the request payload instead of using HMAC like GitHub does.

I've filed a issue on gitea to use HMAC: go-gitea/gitea#3901

But it would be nice if abstruse supported gitea natively (by reading the secret field in the request)

@jkuri
Copy link
Contributor

jkuri commented May 5, 2018

thanks! it is in plan tu support gitea natively till the next release.

@Neirda24
Copy link

Neirda24 commented Jun 7, 2018

Hi ! That would be very nice as I plan to use gitea + abstruse ;). @jkuri : do you have a roadmap or anything for us to follow this request ?

Thanks.

@jkuri
Copy link
Contributor

jkuri commented Jun 8, 2018

hi @Neirda24! there's no roadmap currently only local branch on my computer :)

@irmana
Copy link
Contributor

irmana commented Aug 21, 2018

@Neirda24 and @captn3m0
When you are still interested into this feature we will include it in 2.0 release that will go out soon. Please let us know asap so we can squeeze it in on time. ;)

@huafu
Copy link

huafu commented Oct 6, 2018

@irmana I don't know about them, but I'd personally love to have my gitea be able to talk to abstruse ;-)

@Aragur
Copy link

Aragur commented Nov 27, 2018

Hi all, is there any update on the Gitea integration?

@jkuri jkuri closed this as completed Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants