forgejo/services/migrations
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
2022-03-22 16:22:54 +01:00
..
codebase.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
codebase_test.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
dump.go Make migrations SKIP_TLS_VERIFY apply to git too (#19132) 2022-03-19 14:16:38 +00:00
error.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
git.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
gitbucket.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
gitea_downloader.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
gitea_downloader_test.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
gitea_uploader.go Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
gitea_uploader_test.go migrations: add test for importing pull requests in gitea uploader (#18752) 2022-02-25 17:20:50 +08:00
github.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
github_test.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
gitlab.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
gitlab_test.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
gogs.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
gogs_test.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
http_client.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
main_test.go GitLab reviews may not have the updated_at field set (#18450) 2022-01-29 18:33:20 +01:00
migrate.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
migrate_test.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
onedev.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
onedev_test.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
restore.go Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
update.go Move more model into models/user (#17826) 2021-11-28 22:11:58 +08:00