Beyond coding. We forge. https://forgejo.org
  • Go 81.5%
  • go-html-template 10.6%
  • JavaScript 2.7%
  • CSS 1.9%
  • TypeScript 1.8%
  • Other 1.3%
Find a file
Gusted f9a6460cec chore: simplify GetNote (#9985)
Return the Note object (avoid C-style functions).

Motivation to refactor this function is to avoid the function that uses last commit cache for git-notes, because it is not needed at the scale of git-notes. In the worst case it can be considered to make a patch to git to get the message and commitID, because git seems to have efficient code to do this (for getting messages, but does not expose the commit id).

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9985
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-11-06 13:23:35 +01:00
.devcontainer fix: update devcontainer tag to go:1.25-trixie (#9888) 2025-10-29 10:25:30 +01:00
.forgejo Update renovate to v41.169.1 (forgejo) (#9944) 2025-11-03 09:22:04 +01:00
assets chore: use code.forgejo.org/forgejo/actions-proto (#9981) 2025-11-05 16:10:52 +01:00
build chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
cmd chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
contrib chore: rename 'forgejo_migrations' to 'forgejo_migrations_legacy' 2025-10-14 14:40:49 -06:00
custom/conf feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
docker
models fix: paginate GET /api/v1/admin/hooks response (#9915) 2025-11-06 00:08:13 +01:00
modules chore: simplify GetNote (#9985) 2025-11-06 13:23:35 +01:00
options feat: convert create/rename branch and create tag to native dialog (#9760) 2025-10-30 21:06:14 +01:00
public
release-notes feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
release-notes-published chore(release-notes): Forgejo v13.0.2 (#9859) 2025-10-26 07:26:56 +01:00
releases/images
routers chore: simplify GetNote (#9985) 2025-11-06 13:23:35 +01:00
services fix: paginate GET /api/v1/admin/hooks response (#9915) 2025-11-06 00:08:13 +01:00
templates fix: admin repo page error on NumIssues (#9983) 2025-11-05 18:16:35 +01:00
tests fix: paginate GET /api/v1/admin/hooks response (#9915) 2025-11-06 00:08:13 +01:00
tools
web_src fix(ui): prevent JS from removing icon from close/reopen button (#9959) 2025-11-05 05:02:52 +01:00
.air.toml chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
.deadcode-out fix: reduce deadlocks merging PRs by using caching for repo issue count stats (#9922) 2025-10-31 23:50:05 +01:00
.dockerignore
.editorconfig
.envrc.example
.gitattributes
.gitignore
.gitmodules
.gitpod.yml
.golangci.yml chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
.ignore
.mailmap
.markdownlint.yaml
.npmrc
.release-notes-assistant.yaml
.spectral.yaml
.yamllint.yaml
BSDmakefile
CODEOWNERS
CONTRIBUTING.md
DCO
Dockerfile Update data.forgejo.org/oci/golang Docker tag to v1.25 (forgejo) (#9823) 2025-10-23 17:50:35 +02:00
Dockerfile.rootless Update data.forgejo.org/oci/golang Docker tag to v1.25 (forgejo) (#9823) 2025-10-23 17:50:35 +02:00
eslint.config.mjs
flake.lock refactor: Simplify flake.nix (#9805) 2025-10-22 19:09:11 +02:00
flake.nix refactor: Simplify flake.nix (#9805) 2025-10-22 19:09:11 +02:00
go.mod Update dependency go to v1.25.4 (forgejo) (#9984) 2025-11-05 22:54:33 +01:00
go.sum chore: use code.forgejo.org/forgejo/actions-proto (#9981) 2025-11-05 16:10:52 +01:00
LICENSE
main.go
Makefile Update renovate to v41.169.1 (forgejo) (#9944) 2025-11-03 09:22:04 +01:00
manifest.scm
package-lock.json Update dependency vue-chartjs to v5.3.3 (forgejo) (#9952) 2025-11-04 23:37:12 +01:00
package.json Update dependency vue-chartjs to v5.3.3 (forgejo) (#9952) 2025-11-04 23:37:12 +01:00
playwright.config.ts
README.md
release-notes-assistant.sh
RELEASE-NOTES.md
renovate.json
shell.nix
stylelint.config.js
tailwind.config.js
tsconfig.json
vitest.config.ts Update vitest monorepo to v4 (forgejo) (major) (#9814) 2025-10-23 01:47:14 +02:00
webpack.config.js

Welcome to Forgejo

Hi there! Tired of big platforms playing monopoly? Providing Git hosting for your project, friends, company or community? Forgejo (/for'd͡ʒe.jo/ inspired by forĝejo the Esperanto word for forge) has you covered with its intuitive interface, light and easy hosting and a lot of built-in functionality.

Forgejo was created in 2022 because we think that the project should be owned by an independent community. If you second that, then Forgejo is for you! Our promise: Independent Free/Libre Software forever!

What does Forgejo offer?

If you like any of the following, Forgejo is literally meant for you:

  • Lightweight: Forgejo can easily be hosted on nearly every machine. Running on a Raspberry? Small cloud instance? No problem!
  • Project management: Besides Git hosting, Forgejo offers issues, pull requests, wikis, kanban boards and much more to coordinate with your team.
  • Publishing: Have something to share? Use releases to host your software for download, or use the package registry to publish it for docker, npm and many other package managers.
  • Customizable: Want to change your look? Change some settings? There are many config switches to make Forgejo work exactly like you want.
  • Powerful: Organizations & team permissions, CI integration, Code Search, LDAP, OAuth and much more. If you have advanced needs, Forgejo has you covered.
  • Privacy: From update checker to default settings: Forgejo is built to be privacy first for you and your crew.
  • Federation: (WIP) We are actively working to connect software forges with each other through ActivityPub, and create a collaborative network of personal instances.

Learn more

Dive into the documentation, subscribe to releases and blog post on our website, find us on the Fediverse or hop into our Matrix room if you have any questions or want to get involved.

License

Forgejo is distributed under the terms of the GPL version 3.0 or any later version.

The agreement for this license was documented in June 2023 and implemented during the development of Forgejo v9.0. All Forgejo versions before v9.0 are distributed under the MIT license.

Get involved

If you are interested in making Forgejo better, either by reporting a bug or by changing the governance, please take a look at the contribution guide.