No description
Find a file
Gusted 019430c0d5 [v12.0/forgejo] fix: do better parsing of file modes (#9171)
**Backport: forgejo/forgejo#9161**

- No longer hardcode the file modes we expect, parse them as numbers and
do bitmask tricks that Git does so we allow a more variety of _weird_
file modes that can happen in the wild.
- Ref: https://codeberg.org/forgejo/forgejo/pulls/8900#issuecomment-6429175
- Resolves Codeberg/Community#2111

(cherry picked from commit 1cfd5e0b98)

Conflict resolution: trivial, choose the new code. Confliction arised
because v12 doesn't contain forgejo/forgejo#8900

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9171
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-09-05 00:23:30 +02:00
.devcontainer Update ghcr.io/devcontainers/features/git-lfs Docker tag to v1.2.4 (forgejo) (#8147) 2025-06-11 01:11:13 +02:00
.forgejo Update https://data.forgejo.org/infrastructure/next-digest action to v1.2.0 (forgejo) (#9157) 2025-09-04 01:29:28 +02:00
assets fix: do not mix urfave v2 with urfave v3 (#8168) 2025-06-12 15:38:03 +02:00
build feat(ui): use kbd in label selector hint, remove enter (#8199) 2025-06-23 17:56:28 +02:00
cmd [v12.0/forgejo] fix: use correct ACME default (#8552) 2025-07-17 21:21:43 +02:00
contrib Update environment-to-ini README (#8183) 2025-06-13 21:59:26 +02:00
custom/conf feat: enable mlkem768x25519-sha256 by default for builtin ssh (#8115) 2025-06-09 14:34:15 +02:00
docker bugfix check for alternate ssh host certificate location (#34146) 2025-04-14 15:53:35 +02:00
models [v12.0/forgejo] fix: migration failing when importing either issues or PRs but not the other (#9121) 2025-09-02 10:31:10 +02:00
modules [v12.0/forgejo] fix: do better parsing of file modes (#9171) 2025-09-05 00:23:30 +02:00
options [v12.0/forgejo] fix: don't allow credentials in migrate/push mirror URL (#9078) 2025-08-30 18:42:39 +02:00
public feat(ui): redesign migration selection screen (#6795) 2025-04-19 13:51:35 +00:00
release-notes chore(upgrade): urfave/cli from v2 to v3 (#8035) 2025-06-01 22:16:37 +02:00
release-notes-published chore(release-notes): Forgejo v11.0.2 (#8224) 2025-06-18 11:31:23 +02:00
releases/images
routers [v12.0/forgejo] fix(api): deactivate issue api for disabled or external issue-tracker (#9147) 2025-09-03 16:47:02 +02:00
services [v12.0/forgejo] fix: migration failing when importing either issues or PRs but not the other (#9121) 2025-09-02 10:31:10 +02:00
templates [v12.0/forgejo] fix: make ssh key verification command more robust (#8860) 2025-08-11 14:06:50 +02:00
tests [v12.0/forgejo] fix(api): deactivate issue api for disabled or external issue-tracker (#9147) 2025-09-03 16:47:02 +02:00
tools chore: remove gopls in Makefile (#8205) 2025-06-17 08:28:26 +02:00
web_src [v12.0/forgejo] fix(ui): clear fields when canceling adding ssh key (#9112) 2025-09-02 08:00:46 +02:00
.air.toml
.deadcode-out Federated user activity following: Isolated model changes (#8078) 2025-06-21 12:02:58 +02:00
.dockerignore fix: Dockerfile should re-use bindata files when possible 2025-06-13 14:00:57 +02:00
.editorconfig Cover go.mod and go.sum in .editorconfig (#33960) 2025-04-01 02:28:02 +02:00
.envrc.example Make direnv optional to let developers use their own direnv configuration 2024-11-06 20:34:49 +01:00
.gitattributes
.gitignore chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
.gitmodules
.gitpod.yml
.golangci.yml Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
.ignore
.mailmap
.markdownlint.yaml
.npmrc
.release-notes-assistant.yaml
.spectral.yaml
.yamllint.yaml
BSDmakefile feat: Makefile & BSDmakefile changes (#7455) 2025-04-27 10:04:32 +00:00
CODEOWNERS feat(ui): redesign user profile actions layout (#7906) 2025-06-24 14:16:51 +02:00
CONTRIBUTING.md
DCO
Dockerfile Update data.forgejo.org/oci/alpine Docker tag to v3.22 (forgejo) (#8218) 2025-06-18 12:47:18 +02:00
Dockerfile.rootless Update data.forgejo.org/oci/alpine Docker tag to v3.22 (forgejo) (#8218) 2025-06-18 12:47:18 +02:00
eslint.config.mjs chore: migrate to @stylistic/eslint-plugin (#8216) 2025-06-19 07:14:42 +02:00
flake.lock chore: create shell.nix and update flake.* (#8129) 2025-06-10 14:31:59 +02:00
flake.nix chore: create shell.nix and update flake.* (#8129) 2025-06-10 14:31:59 +02:00
go.mod Update module github.com/ulikunitz/xz to v0.5.15 [SECURITY] (v12.0/forgejo) (#9154) 2025-09-04 01:15:34 +02:00
go.sum Update module github.com/ulikunitz/xz to v0.5.15 [SECURITY] (v12.0/forgejo) (#9154) 2025-09-04 01:15:34 +02:00
LICENSE
main.go fix: do not mix urfave v2 with urfave v3 (#8168) 2025-06-12 15:38:03 +02:00
Makefile Update renovate to v41.1.4 (forgejo) (#8256) 2025-06-23 07:40:04 +02:00
manifest.scm Add a GNU Guix manifest (#8038) 2025-06-03 08:08:17 +02:00
package-lock.json Update dependency mermaid to v11.10.0 [SECURITY] (v12.0/forgejo) (#9155) 2025-09-04 00:42:07 +02:00
package.json Update dependency mermaid to v11.10.0 [SECURITY] (v12.0/forgejo) (#9155) 2025-09-04 00:42:07 +02:00
playwright.config.ts tests(e2e): Prepare for visual regression testing 2024-12-10 18:12:36 +01:00
README.md chore(cleanup): remove comment from README 2025-03-26 09:58:55 +00:00
release-notes-assistant.sh chore(release-notes-assistant): security fix / features come first 2024-11-17 20:03:11 +01:00
RELEASE-NOTES.md chore: fix typos, decap a few i18n strings (#6666) 2025-01-24 05:41:59 +00:00
renovate.json chore: drop unused misspell (#8058) 2025-06-03 12:03:00 +02:00
shell.nix chore: create shell.nix and update flake.* (#8129) 2025-06-10 14:31:59 +02:00
stylelint.config.js
tailwind.config.js
tsconfig.json
vitest.config.ts
webpack.config.js Replace the 'relative-time' element scripting with custom, translatable rewrite (#6154) 2025-05-03 14:11:01 +00:00

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 builtin 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.