]> source.dussan.org Git - gitea.git/commit
Ensure that all migration requests are cancellable (#12669)
authorzeripath <art27@cantab.net>
Wed, 2 Sep 2020 17:49:25 +0000 (18:49 +0100)
committerGitHub <noreply@github.com>
Wed, 2 Sep 2020 17:49:25 +0000 (13:49 -0400)
commit714ab71ddc4260937b1480519d453d2dc4e77dd6
treed9fafe938f423afd2cce7d6a2bcab14276e8b61a
parent84eac6ed6c1b02a28c83cd2695aa470c4acf46e9
Ensure that all migration requests are cancellable (#12669)

* Ensure that all migration requests are cancellable

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Use WithContext as RequestWithContext is go 1.14

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
modules/migrations/base/downloader.go
modules/migrations/gitea_test.go
modules/migrations/github.go
modules/migrations/github_test.go
modules/migrations/gitlab.go
modules/migrations/gitlab_test.go
modules/migrations/migrate.go