forgejo/services/migrations
wxiaoguang 911975059a
Improve test logger (#24235)
Before, there was a `log/buffer.go`, but that design is not general, and
it introduces a lot of irrelevant `Content() (string, error) ` and
`return "", fmt.Errorf("not supported")` .


And the old `log/buffer.go` is difficult to use, developers have to
write a lot of `Contains` and `Sleep` code.


The new `LogChecker` is designed to be a general approach to help to
assert some messages appearing or not appearing in logs.
2023-04-21 16:32:25 -04:00
..
codebase.go
codebase_test.go
common.go
dump.go
error.go Update github.com/google/go-github to v51 (#23946) 2023-04-08 19:27:30 +08:00
git.go
gitbucket.go
gitea_downloader.go
gitea_downloader_test.go
gitea_uploader.go Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
gitea_uploader_test.go Improve test logger (#24235) 2023-04-21 16:32:25 -04:00
github.go Update github.com/google/go-github to v51 (#23946) 2023-04-08 19:27:30 +08:00
github_test.go
gitlab.go
gitlab_test.go
gogs.go
gogs_test.go
http_client.go
main_test.go Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
migrate.go Prevent duplicate labels when importing more than 99 (#22591) 2023-01-24 19:44:55 +00:00
migrate_test.go
onedev.go
onedev_test.go
restore.go
update.go