Skip to content

[TASK] Document Forgejo and Gitea webhook support - #526

Draft
CybotTM wants to merge 1 commit into
TYPO3-Documentation:mainfrom
CybotTM:feat/document-forgejo-webhook
Draft

[TASK] Document Forgejo and Gitea webhook support#526
CybotTM wants to merge 1 commit into
TYPO3-Documentation:mainfrom
CybotTM:feat/document-forgejo-webhook

Conversation

@CybotTM

@CybotTM CybotTM commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Draft — do not merge yet. This documents behaviour that is not deployed. It depends on TYPO3GmbH/site-intercept#305, which adds Forgejo/Gitea support to the documentation hook. Please merge this only once that change is released, otherwise this page promises something that still fails in production. I will mark it ready for review then.

Why

The Webhook page currently lists GitHub, Bitbucket and GitLab as the supported hosts, and the "Foreign setups" section tells everyone else to create a mirror on a supported platform. That is what a Forgejo user ran into on Slack, which led to TYPO3GmbH/site-intercept#304 and then to the implementation in TYPO3GmbH/site-intercept#305.

What changed

  • Webhook.rst — new "Forgejo and Gitea" setup section next to the existing ones, the host list in the intro extended, and the "Foreign setups" paragraph rewritten. It also states that self-hosted instances work on any domain, with the domain approved once together with the repository.
  • WritingDocForExtension/Index.rst, FAQ.rst, RenderingDocs/Index.rst — three enumerations that named the hosts individually now link to the webhook page instead, so the list lives in exactly one place. The one in the rendering chapter was already incomplete before this change: it named only GitHub and GitLab and omitted Bitbucket.

Two things worth a maintainer's opinion

No screenshots. Every sibling section has a figure per step under Documentation/_Images/webhook/<host>/; the new section is text only, because I have no Forgejo instance to capture them from. Happy to add them if someone supplies the images — the original reporter runs an instance and may be willing.

The note about "Test Delivery". Forgejo has no ping event; its Test Delivery button sends a synthetic push whose commit lists no changed files, so intercept accepts it and answers "no documentation changes" without rendering anything. The button therefore reports success while nothing happens, which is confusing enough to warrant the note. This is from Forgejo's source (routers/web/repo/setting/webhook.go), not from an assumption.

Verification

make test-docs renders cleanly: 92 files, no warnings or errors. Both new cross-references resolve to real links in the rendered output. I compared the render against the unmodified branch to confirm this change adds no new unresolved references.

Intercept gained support for Forgejo and Gitea push webhooks, so those
hosts no longer need a mirror on another platform. Self-hosted instances
work on any domain, the domain is approved once by the Documentation
Team along with the repository.

Add a setup section for them next to the existing ones, extend the list
of supported hosts and rewrite the "Foreign setups" paragraph, which
until now told those users to build a mirror.

Two enumerations elsewhere named the supported hosts individually and
would have gone stale again with the next host. They now link to the
webhook page instead. One of them, in the rendering chapter, was
already incomplete, it omitted Bitbucket.

The new section has no screenshots yet, unlike its siblings.

Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant