0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-12-26 00:25:14 +01:00

7 Commits

Author SHA1 Message Date
Lunny Xiao
0fe62db756 Merge branch 'main' into lunny/introduce_combined_status 2025-05-26 12:11:39 -07:00
Lunny Xiao
688da55f54
Split GetLatestCommitStatus as two functions (#34535)
Extract from #34531. This will reduce unnecessary count operation in
databases.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-05-26 19:00:22 +00:00
Lunny Xiao
38708d4b75
Split GetLatestCommitStatus as two functions 2025-05-25 14:34:12 -07:00
Lunny Xiao
e3554b3945
Rename CommitStatusSummary to CombinedStatus 2025-05-25 00:21:52 -07:00
Lunny Xiao
1406b01095
Introduce combined status 2025-05-24 20:38:05 -07:00
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
Lunny Xiao
58c124cc4f
Move commits signature and verify functions to service layers (#33605)
No logic change, just move functions.
2025-02-16 12:24:07 +00:00