forgejo/modules/setting
wxiaoguang 496b8e3990
Use git.HOME_PATH for Git HOME directory (#20114)
* Add git.HOME_PATH

* add legacy file check

* Apply suggestions from code review

Co-authored-by: zeripath <art27@cantab.net>

* pass env GNUPGHOME to git command, move the existing .gitconfig to new home, make the fix for 1.17rc more clear.

* set git.HOME_PATH for docker images to default HOME

* Revert "set git.HOME_PATH for docker images to default HOME"

This reverts commit f120101ddc.

* force Gitea to use a stable GNUPGHOME directory

* extra check to ensure only process dir or symlink for legacy files

* refactor variable name

* The legacy dir check (for 1.17-rc1) could be removed with 1.18 release, since users should have upgraded from 1.17-rc to 1.17-stable

* Update modules/git/git.go

Co-authored-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>

* remove initFixGitHome117rc

* Update git.go

* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-07-08 16:09:07 +08:00
..
attachment.go Update default allowed attachment types (#20192) 2022-07-01 15:42:20 +02:00
cache.go
cors.go
cron.go
cron_test.go
database.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
database_sqlite.go
database_test.go
directory.go
federation.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
git.go Use git.HOME_PATH for Git HOME directory (#20114) 2022-07-08 16:09:07 +08:00
i18n.go Remove support for sr-SP (#20155) 2022-06-27 14:50:30 -05:00
indexer.go
indexer_test.go
lfs.go
log.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
mailer.go
markup.go Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
migrations.go
mime_type_map.go
mirror.go
oauth2_client.go
packages.go
picture.go
project.go
proxy.go
queue.go
repository.go
service.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
session.go
setting.go Allow RSA 2047 bit keys (#20272) 2022-07-06 16:49:27 -04:00
setting_test.go
storage.go
storage_test.go
task.go
webhook.go