1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-16 03:24:13 +03:00
gitea/services
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>
2022-03-02 15:43:11 +08:00
..
2022-01-20 18:46:10 +01:00
2022-01-22 21:22:14 +00:00
2021-12-10 16:14:24 +08:00
2022-01-23 21:46:30 +08:00