Add support for Gitea org hooks #24

Closed
opened 2019-02-06 04:50:33 +00:00 by raucao · 3 comments
raucao commented 2019-02-06 04:50:33 +00:00 (Migrated from github.com)

Turns out Gitea is not just pretty great overall, but also perfect for this use case. It supports both organization-wide webhooks, as well as custom label sets that one can select when creating a new repo. So we created a Kosmos label set, with both our preferred normal labels, as well as the kredits labels. See https://gitea.kosmos.org/kosmos/gitea.kosmos.org/labels for example.

The org hook for Kosmos can be created here: https://gitea.kosmos.org/org/kosmos/settings/hooks

Turns out Gitea is not just pretty great overall, but also perfect for this use case. It supports both organization-wide webhooks, as well as custom label sets that one can select when creating a new repo. So we created a Kosmos label set, with both our preferred normal labels, as well as the kredits labels. See https://gitea.kosmos.org/kosmos/gitea.kosmos.org/labels for example. The org hook for Kosmos can be created here: https://gitea.kosmos.org/org/kosmos/settings/hooks
raucao commented 2019-02-06 04:55:27 +00:00 (Migrated from github.com)

Actually, the headers in the webhook doc suggest that the hooks might be the exact same format as GitHub's hooks. So this might be even easier than I thought.

Actually, the headers in [the webhook doc](https://docs.gitea.io/en-us/webhooks/) suggest that the hooks might be the exact same format as GitHub's hooks. So this might be even easier than I thought.
bumi commented 2019-04-03 20:28:59 +00:00 (Migrated from github.com)

👍 would be nice to add this soon as the plan was to use more gitea

:+1: would be nice to add this soon as the plan was to use more gitea
raucao commented 2019-04-03 20:29:56 +00:00 (Migrated from github.com)

Yes! Also, because we already have some things there, like the Kosmos Chef repo. Should be easy enough. Will give it a shot soon.

Yes! Also, because we already have some things there, like the Kosmos Chef repo. Should be easy enough. Will give it a shot soon.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kredits/hubot-kredits#24
No description provided.