gitea/cmd
Giteabot 1162cbccc0
Performance optimization for tags synchronization (#34355) (#34522)
Backport #34355 by @lunny

The tags synchronization is very slow for a non-mirror repository with
many tags especially forking. This PR make all repositories' tags
synchronization use the same function and remove the low performance
synchronization function. The commit count of tag now will not be stored
into database when syncing. Since the commits count will always be read
from cache or git data, the `NumCommits` in the release table will be
updated for the first read from git data.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-05-22 19:28:25 +07:00
..
actions.go
admin.go
admin_auth.go
admin_auth_ldap.go Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 +07:00
admin_auth_ldap_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 +07:00
admin_auth_oauth.go Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 +07:00
admin_auth_stmp.go Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 +07:00
admin_regenerate.go
admin_user.go
admin_user_change_password.go
admin_user_create.go Add "--fullname" arg to gitea admin user create (#34241) 2025-04-19 23:36:30 +07:00
admin_user_create_test.go Add "--fullname" arg to gitea admin user create (#34241) 2025-04-19 23:36:30 +07:00
admin_user_delete.go
admin_user_generate_access_token.go Add new CLI flags to set name and scopes when creating a user with access token (#34080) 2025-04-02 22:00:54 +07:00
admin_user_list.go
admin_user_must_change_password.go
cert.go
cmd.go
docs.go
doctor.go
doctor_convert.go
doctor_test.go
dump.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
dump_repo.go Add missing setting load in dump-repo command (#34479) (#34489) 2025-05-16 16:33:04 +07:00
embedded.go
generate.go
hook.go Performance optimization for tags synchronization (#34355) (#34522) 2025-05-22 19:28:25 +07:00
hook_test.go
keys.go
mailer.go
main.go
main_test.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
manager.go
manager_logging.go
migrate.go
migrate_storage.go
migrate_storage_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 +07:00
restore_repo.go
serv.go Fix a bug when uploading file via lfs ssh command (#34408) (#34416) 2025-05-10 02:03:37 +07:00
web.go Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +07:00
web_acme.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
web_graceful.go
web_https.go