1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00
forgejo/modules/doctor
wxiaoguang 75d96f4a02
Refactor legacy git init (#20376)
* merge `CheckLFSVersion` into `InitFull` (renamed from `InitWithSyncOnce`)
* remove the `Once` during git init, no data-race now
* for doctor sub-commands, `InitFull` should only be called in initialization stage

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-08-09 11:22:24 +08:00
..
authorizedkeys.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
breaking.go Fix various typos (#20338) 2022-07-12 23:32:37 +02:00
checkOldArchives.go Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
dbconsistency.go Backtick table name in generic orphan check (#20019) 2022-06-19 07:26:22 +08:00
dbversion.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
doctor.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
fix16961.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
fix16961_test.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
mergebase.go Refactor legacy git init (#20376) 2022-08-09 11:22:24 +08:00
misc.go Refactor legacy git init (#20376) 2022-08-09 11:22:24 +08:00
paths.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
storage.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
usertype.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00