diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-03-02 07:43:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-02 15:43:11 +0800 |
commit | a14b6f3aae196b2506e07f1dcfcd38d338b91e68 (patch) | |
tree | 5d3315fd9e2568af4ca46762737547587edfdcff /routers/web/explore | |
parent | a90041d71aa1ee3c0e4040c42ebc7ff488220802 (diff) | |
download | gitea-a14b6f3aae196b2506e07f1dcfcd38d338b91e68.tar.gz gitea-a14b6f3aae196b2506e07f1dcfcd38d338b91e68.zip |
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>
Diffstat (limited to 'routers/web/explore')
0 files changed, 0 insertions, 0 deletions