gitea/routers/api/v1/repo
Chongyi Zheng 49f9d43afe
Implement sync push mirror on commit ()
Support synchronizing with the push mirrors whenever new commits are pushed or synced from pull mirror.

Related Issues: 

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
..
blob.go RepoAssignment ensure to close before overwrite ()
branch.go Move some code into models/git ()
collaborators.go Move some repository related code into sub package ()
commits.go Pass gitRepo down to GetRawDiff, since its used for main repo and wiki ()
file.go Add more linters to improve code readability ()
fork.go Move access and repo permission to models/perm/access ()
git_hook.go Move macaron to chi ()
git_ref.go Multiple Escaping Improvements ()
hook.go Move almost all functions' parameter db.Engine to context.Context ()
hook_test.go Decouple unit test, remove intermediate `unittestbridge` package ()
issue.go Move issues related files into models/issues ()
issue_comment.go Move issues related files into models/issues ()
issue_label.go Add more linters to improve code readability ()
issue_reaction.go Move issues related files into models/issues ()
issue_stopwatch.go Move issues related files into models/issues ()
issue_subscription.go Move issues related files into models/issues ()
issue_tracked_time.go Move issues related files into models/issues ()
key.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) ()
label.go Move issues related files into models/issues ()
language.go Move almost all functions' parameter db.Engine to context.Context ()
main_test.go Use queue instead of memory queue in webhook send service ()
migrate.go Move almost all functions' parameter db.Engine to context.Context ()
milestone.go fix: some typos ()
mirror.go Implement sync push mirror on commit ()
notes.go RepoAssignment ensure to close before overwrite ()
patch.go Move issues related files into models/issues ()
pull.go Move issues related files into models/issues ()
pull_review.go Check if project has the same repository id with issue when assign project to issue ()
release.go fix permission check for delete tag ()
release_attachment.go improvement some release related code ()
release_tags.go fix permission check for delete tag ()
repo.go Move some repository related code into sub package ()
repo_test.go Renamed ctx.User to ctx.Doer. ()
star.go Renamed ctx.User to ctx.Doer. ()
status.go Add more linters to improve code readability ()
subscriber.go Renamed ctx.User to ctx.Doer. ()
tag.go fix permission check for delete tag ()
teams.go Move almost all functions' parameter db.Engine to context.Context ()
topic.go Some repository refactors ()
transfer.go Move almost all functions' parameter db.Engine to context.Context ()
tree.go Propagate context and ensure git commands run in request context ()
wiki.go Make git.OpenRepository accept Context ()