mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 09:47:39 +08:00
88c2e24360
This PR adds mathematical rendering with KaTeX. The first step is to add a Goldmark extension that detects the latex (and tex) mathematics delimiters. The second step to make this extension only run if math support is enabled. The second step is to then add KaTeX CSS and JS to the head which will load after the dom is rendered. Fix #3445 Signed-off-by: Andrew Thornton <art27@cantab.net> Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
20 KiB
20 KiB
date | title | slug | weight | toc | draft | menu | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2018-05-07T13:00:00+02:00 | Gitea compared to other Git hosting options | comparison | 5 | false | false |
|
Gitea compared to other Git hosting options
Table of Contents
{{< toc >}}
To help decide if Gitea is suited for your needs, here is how it compares to other Git self hosted options.
Be warned that we don't regularly check for feature changes in other products, so this list may be outdated. If you find anything that needs to be updated in the table below, please report it in an issue on GitHub.
Symbols used in table:
-
✓ - supported
-
⁄ - supported with limited functionality
-
✘ - unsupported
General Features
Feature | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE |
---|---|---|---|---|---|---|---|
Open source and free | ✓ | ✓ | ✘ | ✓ | ✘ | ✘ | ✓ |
Low resource usage (RAM/CPU) | ✓ | ✓ | ✘ | ✘ | ✘ | ✘ | ✘ |
Multiple database support | ✓ | ✓ | ✘ | ⁄ | ⁄ | ✓ | ✓ |
Multiple OS support | ✓ | ✓ | ✘ | ✘ | ✘ | ✘ | ✓ |
Easy upgrade process | ✓ | ✓ | ✘ | ✓ | ✓ | ✘ | ✓ |
Markdown support | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Orgmode support | ✓ | ✘ | ✓ | ✘ | ✘ | ✘ | ? |
CSV support | ✓ | ✘ | ✓ | ✘ | ✘ | ✓ | ? |
Third-party render tool support | ✓ | ✘ | ✘ | ✘ | ✘ | ✓ | ? |
Static Git-powered pages | ✘ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
Integrated Git-powered wiki | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ (cloud only) | ✘ |
Deploy Tokens | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Repository Tokens with write rights | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |
Built-in Package/Container Registry | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
External git mirroring | ✓ | ✓ | ✘ | ✘ | ✓ | ✓ | ✓ |
WebAuthn (2FA) | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ? |
Built-in CI/CD | ✘ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
Subgroups: groups within groups | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ | ✓ |
Mermaid diagrams in Markdown | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
Math syntax in Markdown | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
Code management
Feature | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE |
---|---|---|---|---|---|---|---|
Repository topics | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
Repository code search | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |
Global code search | ✓ | ✘ | ✓ | ✘ | ✓ | ✓ | ✓ |
Git LFS 2.0 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |
Group Milestones | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ |
Granular user roles (Code, Issues, Wiki etc) | ✓ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ |
Verified Committer | ⁄ | ✘ | ? | ✓ | ✓ | ✓ | ✘ |
GPG Signed Commits | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |
SSH Signed Commits | ✓ | ✘ | ✘ | ✘ | ✘ | ? | ? |
Reject unsigned commits | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |
Repository Activity page | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |
Branch manager | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |
Create new branches | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
Web code editor | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Commit graph | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |
Template Repositories | ✓ | ✘ | ✓ | ✘ | ✓ | ✓ | ✘ |
Issue Tracker
Feature | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE |
---|---|---|---|---|---|---|---|
Issue tracker | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ (cloud only) | ✘ |
Issue templates | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
Labels | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
Time tracking | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
Multiple assignees for issues | ✓ | ✘ | ✓ | ✘ | ✓ | ✘ | ✘ |
Related issues | ✘ | ✘ | ⁄ | ✓ | ✓ | ✘ | ✘ |
Confidential issues | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ |
Comment reactions | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
Lock Discussion | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
Batch issue handling | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
Issue Boards (Kanban) | ✓ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ |
Create new branches from issues | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ |
Issue search | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ |
Global issue search | ✘ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ |
Issue dependency | ✓ | ✘ | ✘ | ✘ | ✘ | ✘ | ✘ |
Create issue via email | ✘ | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ |
Service Desk | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ |
Pull/Merge requests
Feature | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE |
---|---|---|---|---|---|---|---|
Pull/Merge requests | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Squash merging | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |
Rebase merging | ✓ | ✓ | ✓ | ✘ | ⁄ | ✘ | ✓ |
Pull/Merge request inline comments | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |
Pull/Merge request approval | ✓ | ✘ | ⁄ | ✓ | ✓ | ✓ | ✓ |
Merge conflict resolution | ✘ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ |
Restrict push and merge access to certain users | ✓ | ✘ | ✓ | ⁄ | ✓ | ✓ | ✓ |
Revert specific commits or a merge request | ✘ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ |
Pull/Merge requests templates | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
Cherry-picking changes | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ |
Download Patch | ✓ | ✘ | ✓ | ✓ | ✓ | / | ✘ |
3rd-party integrations
Feature | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE |
---|---|---|---|---|---|---|---|
Webhook support | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Custom Git Hooks | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
AD / LDAP integration | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Multiple LDAP / AD server support | ✓ | ✓ | ✘ | ✘ | ✓ | ✓ | ✓ |
LDAP user synchronization | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |
SAML 2.0 service provider | ✘ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ |
OpenId Connect support | ✓ | ✘ | ✓ | ✓ | ✓ | ? | ✘ |
OAuth 2.0 integration (external authorization) | ✓ | ✘ | ⁄ | ✓ | ✓ | ? | ✓ |
Act as OAuth 2.0 provider | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ |
Two factor authentication (2FA) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ |
Mattermost/Slack integration | ✓ | ✓ | ⁄ | ✓ | ✓ | ⁄ | ✓ |
Discord integration | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
Microsoft Teams integration | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ |
External CI/CD status display | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |