You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services/mirror
Gusted a14b6f3aae
Refactor mirror code & fix `StartToMirror` (#18904)
* Use MirrorID instead of RepoID

- Use the MirrorID as index(SQL uses `id` column not the `repo_id`).
Passes the Mirror ID's into the Sync functions.

* Check for MirrorID == 0

* Fix `StartToMirror` + refactor

* Update services/mirror/mirror.go

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
mirror.go Refactor mirror code & fix `StartToMirror` (#18904) 2 years ago
mirror_pull.go Change git.cmd to RunWithContext (#18693) 2 years ago
mirror_push.go Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago