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
..
agit
asymkey
attachment
auth Fix login with email panic when email is not exist (#18941) 2022-02-28 18:33:33 +01:00
comments
cron
externalaccount
forms
gitdiff
issue [API] Allow removing issues (#18879) 2022-03-01 01:20:15 +01:00
lfs
mailer
migrations migrations: add test for importing pull requests in gitea uploader (#18752) 2022-02-25 17:20:50 +08:00
mirror Refactor mirror code & fix `StartToMirror` (#18904) 2022-03-02 15:43:11 +08:00
org
pull
release
repository Set is_empty in fixtures (#18869) 2022-02-26 01:15:25 -05:00
task
user
webhook
wiki