gitea/contrib
Giteabot 71d2a6a41a
Use InitWorkPathAndCfgProvider for environment-to-ini to avoid unnecessary checks () ()
Backport  by @wxiaoguang

Fix 

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"

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
..
autocompletion Add Bash and Zsh completion scripts ()
backport Update github.com/google/go-github to v52 ()
environment-to-ini Use InitWorkPathAndCfgProvider for environment-to-ini to avoid unnecessary checks () ()
fhs-compliant-script Fix issue with docker-rootless shimming script ()
fixtures Enable forbidigo linter ()
gitea-monitoring-mixin Fixed lint warnings in Grafana raised by Mixtool ()
ide Update to work with latest VS Code go debugger ()
init Add init file for Ubuntu ()
launchd Synced gitignores with github repo ()
legal [Contrib] Change License Link to Full CC0 Legalcode (PP and TOS) ()
options/label Adding advanced label set. ()
supervisor Synced gitignores with github repo ()
systemd Implement systemd-notify protocol ()
README Synced gitignores with github repo ()
update_dependencies.sh bump go deps ()
upgrade.sh Updated upgrade script that is informing user that Gitea service has to be running in order to upgrade it ()

README

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