gitea/modules/repository
Lunny Xiao 4a5af4edca
Cache GPG keys, emails and users when list commits (#34086)
When list commits, some of the commits authors are the same at many
situations. But current logic will always fetch the same GPG keys from
database. This PR will cache the GPG keys, emails and users for the
context so that reducing the database queries.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-09 16:34:38 +00: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 Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
create.go Use filepath.Join instead of path.Join for file system file operations (#33978) 2025-03-24 14:50:28 -07:00
create_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04: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 Rework create/fork/adopt/generate repository to make sure resources will be cleanup once failed (#31035) 2025-04-07 22:12:54 -07: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 Avoid creating unnecessary temporary cat file sub process (#33942) 2025-04-04 16:19:19 -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