You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163)
* Remove `db.DefaultContext` usage in routers, use `ctx` directly

* Use `ctx` directly if there is one, remove some `db.DefaultContext` in `services`

* Use ctx instead of db.DefaultContext for `cmd` and some `modules` packages

* fix incorrect context usage
2 years ago
..
check.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
check_test.go Pause queues (#15928) 2 years ago
commit_status.go format with gofumpt (#18184) 2 years ago
lfs.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago
merge.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
patch.go Change git.cmd to RunWithContext (#18693) 2 years ago
patch_unmerged.go Change git.cmd to RunWithContext (#18693) 2 years ago
pull.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
pull_test.go Append to existing trailers in generated squash commit message (#15980) 3 years ago
review.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
temp_repo.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
update.go Add config option to disable "Update branch by rebase" (#18745) 2 years ago