]> source.dussan.org Git - gitea.git/commit
Fix some mirror bugs (#18649)
authorLunny Xiao <xiaolunwen@gmail.com>
Sat, 11 Jun 2022 13:50:14 +0000 (21:50 +0800)
committerGitHub <noreply@github.com>
Sat, 11 Jun 2022 13:50:14 +0000 (21:50 +0800)
commitce3dd04c63a048fe791ed864c2023fd37b09e427
tree43ed415dc8d5647b59bf54fddceb4d4a63bcc456
parent88f2e457d891c4e91a9eddab8143d0109e08dfa9
Fix some mirror bugs (#18649)

* Fix some mirror bugs

* Remove unnecessary code

* Fix lint

* rename stdard url

* Allow more charactors in git ssh protocol url

* improve the detection

* support ipv6 for git url parse

* Fix bug

* Fix template

* Fix bug

* fix template

* Fix tmpl

* Fix tmpl

* Fix parse ssh with interface

* Rename functions name

Co-authored-by: zeripath <art27@cantab.net>
models/repo/mirror.go
modules/git/remote.go
modules/git/url/url.go [new file with mode: 0644]
modules/git/url/url_test.go [new file with mode: 0644]
modules/templates/helper.go
routers/web/repo/setting.go
services/mirror/mirror_pull.go
services/mirror/mirror_push.go
templates/repo/header.tmpl
templates/repo/settings/options.tmpl