Add support for Forgejo.

Review Request #14607 — Created Sept. 10, 2025 and updated

Information

Review Board
release-7.1.x

Reviewers

Forgejo is a newish open-source code forge system forked from Gitea
which has been rapidly gaining popularity. This change adds hosting
service support for it.

This implementation handles all of the main parts of integration for the
hosting service, including:

  • Authorization with the service, creating a new API token for the user
    with the correct permissions.
  • Basic support for getting file content (git blobs).
  • Post-commit review support, fetching branches, lists of commits, commit
    data, and diffs.
  • Bug tracker integration, including linking to issues and showing the
    bug infobox.
  • WebHook support for closing review requests when commits are pushed.

The only hosting service feature which is not implemented is the remote
repository listing.

  • Tested authorization and API token creation, including when 2FA was
    enabled.
  • Verified pre-commit and post-commit review functionality against a
    self-hosted Forgejo server.
  • Checked linking to bugs and the bug infobox.
  • Verified that setting up a WebHook according to the instructions worked
    correctly, and that pushing code to Forgejo properly closed relevant
    review requests.
  • Ran unit tests.
Summary ID
Add support for Forgejo.
Forgejo is a newish open-source code forge system forked from Gitea which has been rapidly gaining popularity. This change adds hosting service support for it. This implementation handles all of the main parts of integration for the hosting service, including: - Authorization with the service, creating a new API token for the user with the correct permissions. - Basic support for getting file content (git blobs). - Post-commit review support, fetching branches, lists of commits, commit data, and diffs. - Bug tracker integration, including linking to issues and showing the bug infobox. - WebHook support for closing review requests when commits are pushed. The only hosting service feature which is not implemented is the remote repository listing. Testing Done: - Tested authorization and API token creation, including when 2FA was enabled. - Verified pre-commit and post-commit review functionality against a self-hosted Forgejo server. - Checked linking to bugs and the bug infobox. - Verified that setting up a WebHook according to the instructions worked correctly, and that pushing code to Forgejo properly closed relevant review requests. - Ran unit tests.
zupounommokpsrpqoprqqltlnnwoyztv
Description From Last Updated

continuation line unaligned for hanging indent Column: 25 Error code: E131

reviewbotreviewbot

continuation line unaligned for hanging indent Column: 13 Error code: E131

reviewbotreviewbot

continuation line unaligned for hanging indent Column: 13 Error code: E131

reviewbotreviewbot

continuation line unaligned for hanging indent Column: 13 Error code: E131

reviewbotreviewbot

continuation line unaligned for hanging indent Column: 13 Error code: E131

reviewbotreviewbot

closing bracket does not match indentation of opening bracket's line Column: 13 Error code: E123

reviewbotreviewbot

closing bracket does not match indentation of opening bracket's line Column: 9 Error code: E123

reviewbotreviewbot

continuation line unaligned for hanging indent Column: 13 Error code: E131

reviewbotreviewbot

continuation line unaligned for hanging indent Column: 13 Error code: E131

reviewbotreviewbot

continuation line unaligned for hanging indent Column: 13 Error code: E131

reviewbotreviewbot

continuation line unaligned for hanging indent Column: 13 Error code: E131

reviewbotreviewbot

closing bracket does not match indentation of opening bracket's line Column: 13 Error code: E123

reviewbotreviewbot

closing bracket does not match indentation of opening bracket's line Column: 9 Error code: E123

reviewbotreviewbot

continuation line under-indented for visual indent Column: 25 Error code: E128

reviewbotreviewbot

continuation line under-indented for visual indent Column: 25 Error code: E128

reviewbotreviewbot

continuation line unaligned for hanging indent Column: 20 Error code: E131

reviewbotreviewbot

line too long (80 > 79 characters) Column: 80 Error code: E501

reviewbotreviewbot

continuation line under-indented for visual indent Column: 13 Error code: E128

reviewbotreviewbot

continuation line under-indented for visual indent Column: 13 Error code: E128

reviewbotreviewbot

continuation line under-indented for visual indent Column: 25 Error code: E128

reviewbotreviewbot

line too long (80 > 79 characters) Column: 80 Error code: E501

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
Review request changed
Commits:
Summary ID
Add support for Forgejo.
Forgejo is a newish open-source code forge system forked from Gitea which has been rapidly gaining popularity. This change adds hosting service support for it. This implementation handles all of the main parts of integration for the hosting service, including: - Authorization with the service, creating a new API token for the user with the correct permissions. - Basic support for getting file content (git blobs). - Post-commit review support, fetching branches, lists of commits, commit data, and diffs. - Bug tracker integration, including linking to issues and showing the bug infobox. - WebHook support for closing review requests when commits are pushed. The only hosting service feature which is not implemented is the remote repository listing. Testing Done: - Tested authorization and API token creation, including when 2FA was enabled. - Verified pre-commit and post-commit review functionality against a self-hosted Forgejo server. - Checked linking to bugs and the bug infobox. - Verified that setting up a WebHook according to the instructions worked correctly, and that pushing code to Forgejo properly closed relevant review requests. - Ran unit tests.
zupounommokpsrpqoprqqltlnnwoyztv
Add support for Forgejo.
Forgejo is a newish open-source code forge system forked from Gitea which has been rapidly gaining popularity. This change adds hosting service support for it. This implementation handles all of the main parts of integration for the hosting service, including: - Authorization with the service, creating a new API token for the user with the correct permissions. - Basic support for getting file content (git blobs). - Post-commit review support, fetching branches, lists of commits, commit data, and diffs. - Bug tracker integration, including linking to issues and showing the bug infobox. - WebHook support for closing review requests when commits are pushed. The only hosting service feature which is not implemented is the remote repository listing. Testing Done: - Tested authorization and API token creation, including when 2FA was enabled. - Verified pre-commit and post-commit review functionality against a self-hosted Forgejo server. - Checked linking to bugs and the bug infobox. - Verified that setting up a WebHook according to the instructions worked correctly, and that pushing code to Forgejo properly closed relevant review requests. - Ran unit tests.
zupounommokpsrpqoprqqltlnnwoyztv

Checks run (1 failed, 1 succeeded)

flake8 failed.
JSHint passed.

flake8

david
Review request changed
Commits:
Summary ID
Add support for Forgejo.
Forgejo is a newish open-source code forge system forked from Gitea which has been rapidly gaining popularity. This change adds hosting service support for it. This implementation handles all of the main parts of integration for the hosting service, including: - Authorization with the service, creating a new API token for the user with the correct permissions. - Basic support for getting file content (git blobs). - Post-commit review support, fetching branches, lists of commits, commit data, and diffs. - Bug tracker integration, including linking to issues and showing the bug infobox. - WebHook support for closing review requests when commits are pushed. The only hosting service feature which is not implemented is the remote repository listing. Testing Done: - Tested authorization and API token creation, including when 2FA was enabled. - Verified pre-commit and post-commit review functionality against a self-hosted Forgejo server. - Checked linking to bugs and the bug infobox. - Verified that setting up a WebHook according to the instructions worked correctly, and that pushing code to Forgejo properly closed relevant review requests. - Ran unit tests.
zupounommokpsrpqoprqqltlnnwoyztv
Add support for Forgejo.
Forgejo is a newish open-source code forge system forked from Gitea which has been rapidly gaining popularity. This change adds hosting service support for it. This implementation handles all of the main parts of integration for the hosting service, including: - Authorization with the service, creating a new API token for the user with the correct permissions. - Basic support for getting file content (git blobs). - Post-commit review support, fetching branches, lists of commits, commit data, and diffs. - Bug tracker integration, including linking to issues and showing the bug infobox. - WebHook support for closing review requests when commits are pushed. The only hosting service feature which is not implemented is the remote repository listing. Testing Done: - Tested authorization and API token creation, including when 2FA was enabled. - Verified pre-commit and post-commit review functionality against a self-hosted Forgejo server. - Checked linking to bugs and the bug infobox. - Verified that setting up a WebHook according to the instructions worked correctly, and that pushing code to Forgejo properly closed relevant review requests. - Ran unit tests.
zupounommokpsrpqoprqqltlnnwoyztv

Checks run (2 succeeded)

flake8 passed.
JSHint passed.