You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/repository
Lunny Xiao fc34481d05
Add commit status summary table to reduce query from commit status table (#30223)
This PR adds a new table named commit status summary to reduce queries
from the commit status table. After this change, commit status summary
table will be used for the final result, commit status table will be for
details.

---------

Co-authored-by: Jason Song <i@wolfogre.com>
11 months ago
..
archiver Move context from modules to services (#29440) 1 year ago
commitstatus Add commit status summary table to reduce query from commit status table (#30223) 11 months ago
files Clean up log messages (#30313) 11 months ago
adopt.go Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 11 months ago
adopt_test.go Use more specific test methods (#24265) 2 years ago
avatar.go Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2 years ago
avatar_test.go Use context parameter in services/repository (#23186) 2 years ago
branch.go Cancel previous runs of the same PR automatically (#29961) 11 months ago
cache.go Always enable caches (#28527) 1 year ago
check.go Update tool dependencies (#29030) 1 year ago
collaboration.go Add user blocking (#29028) 12 months ago
collaboration_test.go Add user blocking (#29028) 12 months ago
commit.go Move context from modules to services (#29440) 1 year ago
contributors_graph.go Implement code frequency graph (#29191) 1 year ago
contributors_graph_test.go Implement contributors graph (#27882) 1 year ago
create.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 12 months ago
create_test.go bump to use go 1.22 (#29119) 1 year ago
delete.go Check the token's owner and repository when registering a runner (#30406) 11 months ago
delete_test.go Delete repos of org when purge delete user (#27273) 1 year ago
fork.go Add user blocking (#29028) 12 months ago
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2 years ago
generate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 12 months ago
generate_test.go Move generate from module to service (#29465) 1 year ago
hooks.go Simplify how git repositories are opened (#28937) 1 year ago
init.go Move generate from module to service (#29465) 1 year ago
lfs.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 1 year ago
lfs_test.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
migrate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 12 months ago
push.go Add cache for branch divergence on branch list page (#29577) 12 months ago
repository.go Remove unnecessary parameter (#27671) 1 year ago
repository_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
review.go Use context parameter in services/repository (#23186) 2 years ago
review_test.go Use context parameter in services/repository (#23186) 2 years ago
setting.go Fix an actions schedule bug (#28942) 1 year ago
template.go Move generate from module to service (#29465) 1 year ago
transfer.go Add user blocking (#29028) 12 months ago
transfer_test.go Move some repository transfer functions to service layer (#28855) 1 year ago