From 2dd333f8fbcd0560153dbd67ddc937156c9836c5 Mon Sep 17 00:00:00 2001 From: Mathieu Fenniak Date: Sun, 21 Sep 2025 09:09:40 +0200 Subject: [PATCH] docs: update example config docs for MAX_CREATION_LIMIT (#9376) Follow-up to include information from https://codeberg.org/forgejo/docs/pulls/1501 into the app.example.ini file. ## Checklist The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org). ### Tests - I added test coverage for Go changes... - [ ] in their respective `*_test.go` for unit tests. - [ ] in the `tests/integration` directory if it involves interactions with a live Forgejo server. - I added test coverage for JavaScript changes... - [ ] in `web_src/js/*.test.js` if it can be unit tested. - [ ] in `tests/e2e/*.test.e2e.js` if it requires interactions with a live Forgejo server (see also the [developer guide for JavaScript testing](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/tests/e2e/README.md#end-to-end-tests)). ### Documentation - [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change. - [ ] I did not document these changes and I do not expect someone else to do it. ### Release notes - [ ] I do not want this change to show in the release notes. - [x] I want the title to show in the release notes with a link to this pull request. - [ ] I want the content of the `release-notes/.md` to be be used for the release notes instead of the title. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9376 Reviewed-by: Earl Warren Co-authored-by: Mathieu Fenniak Co-committed-by: Mathieu Fenniak --- custom/conf/app.example.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index cc93cb75ba..b065247d91 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -986,7 +986,10 @@ LEVEL = Info ;; Default private when using push-to-create ;DEFAULT_PUSH_CREATE_PRIVATE = true ;; -;; Global limit of repositories per user, applied at creation time. -1 means no limit +;; Global maximum creation limit of repositories for each user and organization; `-1` means no limit. If regular users +;; can create organizations (see `DISABLE_REGULAR_ORG_CREATION`) then they can bypass this by creating new organizations. +;; The global limit can be overridden by an administrator on each user and repository through their respective +;; configuration UIs. ;MAX_CREATION_LIMIT = -1 ;; ;; Preferred Licenses to place at the top of the List