mirror of https://github.com/go-gitea/gitea.git
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.
The CheckRepoStats function missed the following counters: - label num_closed_issues & num_closed_pulls - milestone num_closed_issues & num_closed_pulls The update SQL statements for updating the repository num_closed_issues & num_closed_pulls fields were repeated in three functions (repo.CheckRepoStats, migrate.insertIssues and models.Issue.updateClosedNum) and were moved to a single helper. The UpdateRepoStats is implemented and called in the Finish migration method so that it happens immediately instead of wating for the CheckRepoStats to run. Signed-off-by: Loïc Dachary loic@dachary.org --- [source](https://lab.forgefriends.org/forgefriends/forgefriends/-/merge_requests/34) |
3 years ago | |
---|---|---|
.. | ||
codebase.go | 3 years ago | |
codebase_test.go | 3 years ago | |
dump.go | 3 years ago | |
error.go | 3 years ago | |
git.go | 3 years ago | |
gitbucket.go | 3 years ago | |
gitea_downloader.go | 3 years ago | |
gitea_downloader_test.go | 3 years ago | |
gitea_uploader.go | 3 years ago | |
gitea_uploader_test.go | 3 years ago | |
github.go | 3 years ago | |
github_test.go | 3 years ago | |
gitlab.go | 3 years ago | |
gitlab_test.go | 3 years ago | |
gogs.go | 3 years ago | |
gogs_test.go | 3 years ago | |
http_client.go | 3 years ago | |
main_test.go | 3 years ago | |
migrate.go | 3 years ago | |
migrate_test.go | 3 years ago | |
onedev.go | 3 years ago | |
onedev_test.go | 3 years ago | |
restore.go | 3 years ago | |
update.go | 3 years ago |