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.
forgejo/services/migrations
singuliere 49cab2b01f
migrations: add test for importing pull requests in gitea uploader (#18752)
* logs: add the buffer logger to inspect logs during testing

Signed-off-by: Loïc Dachary <loic@dachary.org>

* migrations: add test for importing pull requests in gitea uploader

Signed-off-by: Loïc Dachary <loic@dachary.org>

* for each git.OpenRepositoryCtx, call Close

* Content is expected to return the content of the log

* test for errors before defer

Co-authored-by: Loïc Dachary <loic@dachary.org>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
codebase.go format with gofumpt (#18184) 2 years ago
codebase_test.go Add migrate from Codebase (#16768) 3 years ago
dump.go Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
error.go format with gofumpt (#18184) 2 years ago
git.go format with gofumpt (#18184) 2 years ago
gitbucket.go format with gofumpt (#18184) 2 years ago
gitea_downloader.go format with gofumpt (#18184) 2 years ago
gitea_downloader_test.go Move migrations into services and base into modules/migration (#17663) 3 years ago
gitea_uploader.go migrations: add test for importing pull requests in gitea uploader (#18752) 2 years ago
gitea_uploader_test.go migrations: add test for importing pull requests in gitea uploader (#18752) 2 years ago
github.go format with gofumpt (#18184) 2 years ago
github_test.go refactoring nits (#18188) 3 years ago
gitlab.go GitLab reviews may not have the updated_at field set (#18450) 2 years ago
gitlab_test.go GitLab reviews may not have the updated_at field set (#18450) 2 years ago
gogs.go format with gofumpt (#18184) 2 years ago
gogs_test.go refactoring nits (#18188) 3 years ago
http_client.go Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
main_test.go GitLab reviews may not have the updated_at field set (#18450) 2 years ago
migrate.go format with gofumpt (#18184) 2 years ago
migrate_test.go Move user related model into models/user (#17781) 3 years ago
onedev.go format with gofumpt (#18184) 2 years ago
onedev_test.go Move migrations into services and base into modules/migration (#17663) 3 years ago
restore.go Validate migration files (#18203) 2 years ago
update.go Move more model into models/user (#17826) 3 years ago