mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83df0caf15
Gitea writes its own AppPath into git hook scripts. If Gitea's AppPath changes, then the git push will fail. This PR: * Introduce an AppState module, it can persist app states into database * During GlobalInit, Gitea will check if the current AppPath is the same as last one. If they don't match, Gitea will sync git hooks. * Refactor some code to make them more clear. * Also, "Detect if gitea binary's name changed" #11341 is related, we call models.RewriteAllPublicKeys to update ssh authorized_keys file |
3 years ago | |
---|---|---|
.. | ||
environment-to-ini | 4 years ago | |
fhs-compliant-script | 6 years ago | |
fixtures | 3 years ago | |
ide | 4 years ago | |
init | 5 years ago | |
launchd | 8 years ago | |
legal | 5 years ago | |
options/label | 5 years ago | |
pr | 3 years ago | |
supervisor | 8 years ago | |
systemd | 4 years ago | |
README | 8 years ago | |
autoboot.sh | 8 years ago | |
mysql.sql | 8 years ago | |
update_dependencies.sh | 4 years ago |
README
All files in subdirectories are templates, do modifications based on your environment first.