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
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
..
agit Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
asymkey Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
attachment Simplify parameter types (#18006) 3 years ago
auth Fix login with email panic when email is not exist (#18941) 2 years ago
comments format with gofumpt (#18184) 2 years ago
cron Fix the missing i18n key for update checker (#18646) 2 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Add LDAP group sync to Teams, fixes #1395 (#16299) 2 years ago
gitdiff Prevent dangling GetAttribute calls (#18754) 2 years ago
issue [API] Allow removing issues (#18879) 2 years ago
lfs Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2 years ago
mailer Lock gofumpt to v0.3.0 and run it (#18866) 2 years ago
migrations migrations: add test for importing pull requests in gitea uploader (#18752) 2 years ago
mirror Refactor mirror code & fix `StartToMirror` (#18904) 2 years ago
org Move repository model into models/repo (#17933) 3 years ago
pull Change git.cmd to RunWithContext (#18693) 2 years ago
release Lock gofumpt to v0.3.0 and run it (#18866) 2 years ago
repository Set is_empty in fixtures (#18869) 2 years ago
task Pause queues (#15928) 2 years ago
user Move keys to models/asymkey (#17917) 3 years ago
webhook Add packagist webhook (#18224) 2 years ago
wiki Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago