-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DefaultRepoUnits doesn't seem to be loaded from app.ini #11271
Comments
|
Maybe you're looking for this? gitea/modules/setting/repository.go Line 213 in c8d7ae1
If you make any changes to |
Hi guillep2k, thank you for your comment. Agreed, it seems as it is being loaded. Nevertheless it doesn't work, i.e. always all units are added to new repositories. The settings in app.ini seem to be correct specifying: [repository] and the app has been restarted multiple times. Nevertheless, all new repositories are created with all units activated. I took another look and in: Line 1054 in 4be7cf0
one can see that DefaultRepoUnits are referenced but I am afraid this is not the DefaultRepoUnits from: gitea/modules/setting/repository.go Line 41 in c8d7ae1
I believe those are rather the array of all repo units from here: Line 74 in 3c07d03
Could you please confirm and if so - is somebody working on a fix? Thank you in advance. BR, -- Stanislaw |
This feature was added in #8788 which is on the 1.12 milestone. It is therefore not available to 1.11.4. |
[x]
):Description
DEFAULT_REPO_UNITS setting seems to have no effect. A glance at:
https://github.com/go-gitea/gitea/blob/c8d7ae1ee33e31ed15632a26c74ba9a3ea115043/modules/setting/repository.go
reveals that it isn't even loaded from app.ini as far as I can tell. Please advise.
Screenshots
The text was updated successfully, but these errors were encountered: