gitea/modules/repository
Lunny Xiao b595f81b79
Performance optimization for tags synchronization (#34355)
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.
2025-05-22 13:54:42 -07:00
..
branch.go Trivial fixes (#33304) 2025-01-17 08:55:02 +00:00
branch_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
commits.go Cache GPG keys, emails and users when list commits (#34086) 2025-04-09 16:34:38 +00:00
commits_test.go feat(api): add date range filtering to commit retrieval endpoints (#34497) 2025-05-19 18:57:58 -07:00
create.go Move and rename UpdateRepository (#34136) 2025-04-12 18:22:18 +00:00
create_test.go Move and rename UpdateRepository (#34136) 2025-04-12 18:22:18 +00:00
delete.go Even more `db.DefaultContext` refactor (#27352) 2023-10-03 10:30:41 +00:00
env.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
fork.go Fix various trivial problems (#32861) 2024-12-17 01:15:18 +00:00
fork_test.go Allow to fork repository into the same owner (#32819) 2024-12-14 09:39:05 +08:00
init.go feat: Add sorting by exclusive labels (issue priority) (#33206) 2025-04-10 17:18:07 +00:00
init_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
license.go Support repo license (#24872) 2024-10-01 15:25:08 -04:00
license_test.go Fix repo avatar conflict (#32958) 2024-12-23 02:52:25 +00:00
main_test.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00
push.go Improve ObjectFormat interface (#28496) 2023-12-19 07:20:47 +00:00
repo.go Performance optimization for tags synchronization (#34355) 2025-05-22 13:54:42 -07:00
repo_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
temp.go Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +00:00