Commit Graph

13 Commits (a9400ba7a3a43230fd4e2c7c9e22469886a38922)

Author SHA1 Message Date
zeripath 2f91a12143
Continue GCing other repos on error in one repo (#22422) (#22425) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
wxiaoguang b877504b03
Refactor `git.Command.Run*`, introduce `RunWithContextString` and `RunWithContextBytes` (#19266) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
Lunny Xiao 3c3855a05c
Move user functions into user.go (#17659) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath 82d1a7fb17
Update repository size on cron gc task (#15177) 4 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
kolaente 64133126cd
Update golangci-lint to version 1.31.0 (#13102) 4 years ago
zeripath 9a2e47b23a
Refactor Cron and merge dashboard tasks (#10745) 5 years ago
Lunny Xiao d92781bf94 Refactor repository check and sync functions (#9854) 5 years ago