gitea/modules
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 f120101ddc267cef74e4f4b92c783d5fc8e275a1.

* 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
..
activitypub Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
analyze Simplify `IsVendor` (#19626) 2022-05-06 10:12:30 +01:00
appstate
auth Remove legacy `+build:` constraint (#19582) 2022-05-02 23:22:45 +08:00
avatar Remove legacy `+build:` constraint (#19582) 2022-05-02 23:22:45 +08:00
base Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
cache Update go-chi/cache to utilize Ping() (#19719) 2022-05-15 20:43:27 +02:00
charset Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
container
context Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
convert Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
csv Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
doctor Add username check to doctor (#20140) 2022-06-27 19:45:50 -04:00
emoji
eventsource Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
generate Use base32 for 2FA scratch token (#18384) 2022-01-26 12:10:10 +08:00
git Use git.HOME_PATH for Git HOME directory (#20114) 2022-07-08 16:09:07 +08:00
gitgraph Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
graceful Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
hcaptcha
highlight Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
hostmatcher
httpcache Set the LastModified header for raw files (#18356) 2022-05-09 17:54:51 +02:00
httplib
indexer Fix `dump-repo` git init, fix wrong error type for NullDownloader (#20182) 2022-07-01 07:48:25 +08:00
json Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 2022-04-01 16:47:50 +08:00
lfs Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
log Empty log queue on flush and close (#19994) 2022-06-18 10:33:13 +08:00
markup Fix NPE when using non-numeric (#20277) 2022-07-07 17:46:49 +02:00
metrics
migration Fix `dump-repo` git init, fix wrong error type for NullDownloader (#20182) 2022-07-01 07:48:25 +08:00
nosql Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
notification Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
options Remove legacy `+build:` constraint (#19582) 2022-05-02 23:22:45 +08:00
packages Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
paginator
password
pprof
private Allow manager logging to set SQL (#20064) 2022-06-24 12:49:47 +02:00
process Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
proxy
public Remove legacy `+build:` constraint (#19582) 2022-05-02 23:22:45 +08:00
queue Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
recaptcha
references Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
regexplru Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
repository Adjust transaction handling via db.Context (#20031) 2022-06-20 14:38:58 +02:00
secret
session
setting Use git.HOME_PATH for Git HOME directory (#20114) 2022-07-08 16:09:07 +08:00
sitemap Add sitemap support (#18407) 2022-06-25 19:06:01 +02:00
ssh Implement http signatures support for the API (#17565) 2022-06-05 08:16:14 +01:00
storage Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
structs Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
svg Remove legacy `+build:` constraint (#19582) 2022-05-02 23:22:45 +08:00
sync
templates Make better use of i18n (#20096) 2022-06-26 22:19:22 +08:00
test Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
timeutil Make better use of i18n (#20096) 2022-06-26 22:19:22 +08:00
translation Allow dev i18n to be more concurrent (#20159) 2022-07-04 12:17:09 +02:00
typesniffer Fix raw endpoint PDF file headers (#19825) 2022-05-28 18:10:14 +03:00
updatechecker
upload
uri
user
util Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
validation use IsLoopback (#19477) 2022-04-25 13:55:12 +08:00
web Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00