gitea/contrib
wxiaoguang cc1d61f1f5
Use InitWorkPathAndCfgProvider for environment-to-ini to avoid unnecessary checks (#25480)
Fix #25481

The `InitWorkPathAndCommonConfig` calls `LoadCommonSettings` which does
many checks like "current user is root or not".

Some commands like "environment-to-ini" shouldn't do such check, because
it might be run with "root" user at the moment (eg: the docker's setup
script)

ps: in the future, the docker's setup script should be improved to avoid
Gitea's command running with "root"
2023-06-24 09:13:35 +00:00
..
autocompletion
backport
environment-to-ini Use InitWorkPathAndCfgProvider for environment-to-ini to avoid unnecessary checks (#25480) 2023-06-24 09:13:35 +00:00
fhs-compliant-script
fixtures
gitea-monitoring-mixin
ide Update to work with latest VS Code go debugger (#18397) 2022-01-25 05:00:55 +00:00
init
launchd
legal [Contrib] Change License Link to Full CC0 Legalcode (PP and TOS) (#10057) 2020-06-02 21:22:17 -04:00
options/label Adding advanced label set. (#11298) 2020-05-07 07:47:34 +01:00
supervisor
systemd
README
update_dependencies.sh
upgrade.sh

README

All files in subdirectories are templates, do modifications based on your environment first.