]> source.dussan.org Git - gitea.git/commit
Implement sync push mirror on commit (#19411)
authorChongyi Zheng <harryzheng25@gmail.com>
Fri, 8 Jul 2022 19:45:12 +0000 (15:45 -0400)
committerGitHub <noreply@github.com>
Fri, 8 Jul 2022 19:45:12 +0000 (20:45 +0100)
commit49f9d43afefd446287b1b2475d7127d405b7a873
tree70f659343c5ed2ce174cb2a5aacb6a66a5084c23
parent496b8e39900842c8253250d3eaddf587be35dfa3
Implement sync push mirror on commit (#19411)

Support synchronizing with the push mirrors whenever new commits are pushed or synced from pull mirror.

Related Issues: #18220

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
12 files changed:
models/migrations/migrations.go
models/migrations/v219.go [new file with mode: 0644]
models/repo/pushmirror.go
modules/mirror/mirror.go [new file with mode: 0644]
modules/notification/mirror/mirror.go [new file with mode: 0644]
modules/notification/notification.go
options/locale/locale_en-US.ini
routers/api/v1/repo/mirror.go
routers/web/repo/setting.go
services/forms/repo_form.go
services/mirror/mirror.go
templates/repo/settings/options.tmpl