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.
gitea/services/migrations
Haruo Kinoshita a32700d0fd
Fix migration from GitBucket (#22465)
Migration from GitBucket does not work due to a access for "Reviews" API
on GitBucket that makes 404 response.
This PR has following changes.
1. Made to stop access for Reviews API while migrating from GitBucket.
2. Added support for custom URL (e.g.
`http://example.com/gitbucket/owner/repository`)
3. Made to accept for git checkout URL
(`http://example.com/git/owner/repository.git`)

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
codebase.go Add more checks in migration code (#21011) 3 years ago
codebase_test.go Update go tool dependencies (#19676) 3 years ago
common.go Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
dump.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
error.go Prevent NPE whilst migrating if there is a team request review (#19855) 3 years ago
git.go format with gofumpt (#18184) 3 years ago
gitbucket.go Fix migration from GitBucket (#22465) 2 years ago
gitea_downloader.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
gitea_downloader_test.go Update HTTP status codes to modern codes (#18063) 3 years ago
gitea_uploader.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
gitea_uploader_test.go Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
github.go Fix migration from GitBucket (#22465) 2 years ago
github_test.go Store the foreign ID of issues during migration (#18446) 3 years ago
gitlab.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
gitlab_test.go Update go tool dependencies (#19676) 3 years ago
gogs.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
gogs_test.go Store the foreign ID of issues during migration (#18446) 3 years ago
http_client.go Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
main_test.go Use a struct as test options (#19393) 3 years ago
migrate.go Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
migrate_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 3 years ago
onedev.go Add more checks in migration code (#21011) 3 years ago
onedev_test.go Update go tool dependencies (#19676) 3 years ago
restore.go Add more checks in migration code (#21011) 3 years ago
update.go Move more model into models/user (#17826) 3 years ago