Beyond coding. We forge.
Find a file
Rowan Bohde 1627d3a53f
Reduce memory usage for chunked artifact uploads to MinIO ()
When using the MinIO storage driver for Actions Artifacts, we found that
the chunked artifact required significantly more memory usage to both
upload and merge than the local storage driver. This seems to be related
to hardcoding a value of `-1` for the size to the MinIO client [which
has a warning about memory usage in the respective
docs](https://pkg.go.dev/github.com/minio/minio-go/v7#Client.PutObject).
Specifying the size in both the upload and merge case reduces memory
usage of the MinIO client.

Co-authored-by: Kyle D <kdumontnu@gmail.com>
(cherry picked from commit 45dbeb5600d1f552c0134721fe49e8fd1099b5a4)
last year
.devcontainer Remove sqlite-viewer and using database client () last year
.forgejo Update elasticsearch Docker tag to v7.17.22 last year
.gitea [CHORE] Remove Microsoft SQL Server Support last year
assets feat(F3): CLI: f3 mirror to convert to/from Forgejo last year
build s/Gitea/Forgejo in various log messages and comments last year
cmd feat(F3): CLI: f3 mirror to convert to/from Forgejo last year
contrib Add codespell support and fix a good number of typos with its help () last year
custom/conf feat(F3): CLI: f3 mirror to convert to/from Forgejo last year
docker fix(Dockerfile.rootless): revert to default path for app.ini last year
models Enable unparam linter () last year
modules Fix adopt repository has empty object name in database () last year
options Merge pull request 'Minor improvements to English locale' () from 0ko/forgejo:i18n-english-20240611 into forgejo last year
public [FEAT] sourcehut webhooks last year
release-notes/8.0.0 [FEAT] folding results for repo search () last year
releases/images [DOCS] RELEASE-NOTES.md last year
routers Reduce memory usage for chunked artifact uploads to MinIO () last year
services Enable unparam linter () last year
templates [FEAT] folding results for repo search () last year
tests [FEAT] folding results for repo search () last year
tools Add lint-go-gopls () last year
web_src Implement tab indentation and list continuation in the new editor (, ) () last year
.air.toml Kill all gitea processes before air build () last year
.deadcode-out chore(deadcode): restore the previous format last year
.dockerignore Add /public/assets/img/webpack to ignore files again () last year
.editorconfig fixed indentation style in editorconfig for go.mod last year
.eslintrc.yaml add built js files to eslint ignore () last year
.gitattributes Add interface{} to any replacement to make fmt, exclude *.pb.go () last year
.gitignore Add /public/assets/img/webpack to ignore files again () last year
.gitmodules cleanup(tests): remove manual testing submodule last year
.gitpod.yml Remove sqlite-viewer and using database client () last year
.golangci.yml Enable unparam linter () last year
.ignore Add /options/license and /options/gitignore to .ignore () last year
.markdownlint.yaml Update JS dependencies () last year
.npmrc Upgrade to npm lockfile v3 and explicitely set it () two years ago
.spectral.yaml Add spectral linter for Swagger () 3 years ago
.yamllint.yaml fully replace drone with actions () last year
BSDmakefile Fix build errors on BSD (in BSDMakefile) () last year
build.go User/Org Feed render description as per web () two years ago
CODEOWNERS I feel responsible … (Codeowners) last year
CONTRIBUTING.md docs: contributing: avoid information duplication () last year
DCO Remove address from DCO () two years ago
Dockerfile feat(release): upgrade to golang:1.22-alpine3.20 last year
Dockerfile.rootless feat(release): upgrade to golang:1.22-alpine3.20 last year
flake.lock update nix flake and add gofumpt () last year
flake.nix update nix flake and add gofumpt () last year
go.mod Update module github.com/yuin/goldmark to v1.7.2 last year
go.sum Update module github.com/yuin/goldmark to v1.7.2 last year
LICENSE [DOCS] LICENSE: add Forgejo Authors last year
main.go [RELEASE] decouple the release name from the version number last year
Makefile Merge pull request '[gitea] week 2024-24 cherry pick (gitea/main -> forgejo)' () from earl-warren/wcp/2024-24 into forgejo last year
package-lock.json Update dependency vite-string-plugin to v1.3.2 last year
package.json Update dependency vite-string-plugin to v1.3.2 last year
playwright.config.js Enforce trailing comma in JS on multiline () last year
poetry.lock Update dependency codespell to v2.3.0 last year
poetry.toml Clean up pyproject.toml and package.json, fix poetry options () two years ago
pyproject.toml Enable poetry non-package mode () last year
README.md [skip ci] IGNORE () last year
RELEASE-NOTES.md [skip ci] docs(release-notes): 1.21.11-2 last year
renovate.json chore(dependency): upgrade elasticsearch CI images quarterly last year
stylelint.config.js Merge pull request 'Port "Enable declaration-block-no-redundant-longhand-properties ()' () from beowulf/gitea-port-pull-30950 into forgejo last year
tailwind.config.js [FEAT] folding results for repo search () last year
vitest.config.js Switch to happy-dom for testing () last year
webpack.config.js replace jquery-minicolors with coloris () last year

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.

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.