mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Allow to sync tags from admin dashboard (#28045)
Inspired by #28043
This PR adds a option to the Admin Dashboard to sync all tags to the
database.

This commit is contained in:
parent
f3ba3e922d
commit
4567a3a1ad
7 changed files with 100 additions and 0 deletions
|
@ -45,6 +45,7 @@ import (
|
|||
repo_migrations "code.gitea.io/gitea/services/migrations"
|
||||
mirror_service "code.gitea.io/gitea/services/mirror"
|
||||
pull_service "code.gitea.io/gitea/services/pull"
|
||||
release_service "code.gitea.io/gitea/services/release"
|
||||
repo_service "code.gitea.io/gitea/services/repository"
|
||||
"code.gitea.io/gitea/services/repository/archiver"
|
||||
"code.gitea.io/gitea/services/task"
|
||||
|
@ -138,6 +139,8 @@ func InitWebInstalled(ctx context.Context) {
|
|||
mustInit(system.Init)
|
||||
mustInitCtx(ctx, oauth2.Init)
|
||||
|
||||
mustInit(release_service.Init)
|
||||
|
||||
mustInitCtx(ctx, models.Init)
|
||||
mustInitCtx(ctx, authmodel.Init)
|
||||
mustInitCtx(ctx, repo_service.Init)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue