1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-07 00:14:25 +00:00
gitea/models
wxiaoguang e709cc76da
Make Gitea always use its internal config, ignore /etc/gitconfig (#33076)
In history, Gitea could use the system config `/etc/gitconfig` because
some users said that "they might put certNonceSeed in it"

Actually, we shouldn't not use it, because it also causes conflicts
(there are already some fixes like #28848)

To make the system clear, I think it's worth to introduce the breaking
change: add `GIT_CONFIG_NOSYSTEM=1` to all git commands.


## ⚠️ BREAKING ⚠️

 For most users, nothing need to do.

If you have made changes to `/etc/gitconfig` to affect Gitea's behavior,
you need to move these config options to Gitea's internal git config
file, it is usually in Gitea's `{AppDataPath}/home/.git` directory.
2025-01-02 20:26:48 +00:00
..
actions Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
activities Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
admin Fix javascript error when an anonymous user visiting migration page (#32144) 2024-10-02 04:37:16 +00:00
asymkey Move delete deploy keys into service layer (#32201) 2024-12-18 04:10:38 +00:00
auth Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
avatars Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
db Fix unittest and repo create bug (#33061) 2024-12-31 18:45:05 +08:00
dbfs Enable unparam linter (#31277) 2024-06-11 18:47:45 +00:00
fixtures Refactor fixture loading for testing (#33024) 2024-12-30 04:06:57 +00:00
git Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
issues Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00
migrations Refactor fixture loading for testing (#33024) 2024-12-30 04:06:57 +00:00
organization Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
packages Refactor maven package registry (#33049) 2024-12-31 05:30:52 +00:00
perm Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
project Use project's redirect url instead of composing url (#33058) 2024-12-31 19:19:53 +08:00
pull Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
renderhelper Refactor render system (orgmode) (#32671) 2024-11-29 16:08:29 +08:00
repo Fix unittest and repo create bug (#33061) 2024-12-31 18:45:05 +08:00
secret Clarify Actions resources ownership (#31724) 2024-08-01 09:04:04 +00:00
shared/types Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
system Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
unit Add DEFAULT_MIRROR_REPO_UNITS and DEFAULT_TEMPLATE_REPO_UNITS options (#32416) 2024-11-11 00:11:00 +00:00
unittest Make Gitea always use its internal config, ignore /etc/gitconfig (#33076) 2025-01-02 20:26:48 +00:00
user Refactor pagination (#33037) 2024-12-30 01:57:38 +00:00
webhook Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
repo_test.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00
repo.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00