mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-12 07:09:36 +08:00
076cead40d
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) |
||
---|---|---|
.. | ||
codebase_test.go | ||
codebase.go | ||
dump.go | ||
error.go | ||
git.go | ||
gitbucket.go | ||
gitea_downloader_test.go | ||
gitea_downloader.go | ||
gitea_uploader_test.go | ||
gitea_uploader.go | ||
github_test.go | ||
github.go | ||
gitlab_test.go | ||
gitlab.go | ||
gogs_test.go | ||
gogs.go | ||
http_client.go | ||
main_test.go | ||
migrate_test.go | ||
migrate.go | ||
onedev_test.go | ||
onedev.go | ||
restore.go | ||
update.go |