gitea/services/convert
sillyguodong 1f09051f2b
Fix SyncOnCommit always return false in API of push_mirrors ()
Fix: 

---
Before, the return value of the api is always false,regrardless of
whether the entry of `sync_on_commit` is true or false.
I have confirmed that the value of `sync_on_commit` dropped into the
database is correct.
So, I think it is enough to make some small changes.
..
attachment.go Move `convert` package to services ()
convert.go Rename `GetUnits` to `LoadUnits` ()
git_commit.go Add context cache as a request level cache ()
git_commit_test.go Move `convert` package to services ()
issue.go Scoped labels ()
issue_comment.go Add context cache as a request level cache ()
issue_test.go Move `convert` package to services ()
main_test.go Move `convert` package to services ()
mirror.go Fix SyncOnCommit always return false in API of push_mirrors ()
notification.go Move `convert` package to services ()
package.go Add context cache as a request level cache ()
pull.go Add context cache as a request level cache ()
pull_review.go Add context cache as a request level cache ()
pull_test.go Move `convert` package to services ()
release.go Add context cache as a request level cache ()
repository.go Rename `repo.GetOwner` to `repo.LoadOwner` ()
status.go Add context cache as a request level cache ()
user.go Add context cache as a request level cache ()
user_test.go Add context cache as a request level cache ()
utils.go Move `convert` package to services ()
utils_test.go Move `convert` package to services ()
wiki.go Move `convert` package to services ()