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 c685eefe4a
If a repository return no commitstatus, then still cache it but not query it from database (#30700)
The previous repository default branch commit status cache will only
store if the commit status has value. So the repository which have no
any commit status will always be fetched from database.

This PR will store the empty state of commit status of a repository into
cache because the cache will be updated once there is a commit status
stored.
11 months ago
..
archiver Move context from modules to services (#29440) 1 year ago
commitstatus If a repository return no commitstatus, then still cache it but not query it from database (#30700) 11 months ago
files Enable more `revive` linter rules (#30608) 11 months ago
adopt.go Enable more `revive` linter rules (#30608) 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 Refactor cache and disable go-chi cache (#30417) 12 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) 1 year ago
collaboration_test.go Add user blocking (#29028) 1 year ago
commit.go Move context from modules to services (#29440) 1 year ago
contributors_graph.go Enable more `revive` linter rules (#30608) 11 months ago
contributors_graph_test.go Refactor cache and disable go-chi cache (#30417) 12 months ago
create.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 1 year ago
create_test.go bump to use go 1.22 (#29119) 1 year ago
delete.go Clarify permission "HasAccess" behavior (#30585) 12 months ago
delete_test.go Delete repos of org when purge delete user (#27273) 1 year ago
fork.go Add user blocking (#29028) 1 year 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) 1 year 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) 2 years ago
migrate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 1 year ago
push.go Add cache for branch divergence on branch list page (#29577) 1 year 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 Clarify permission "HasAccess" behavior (#30585) 12 months ago
transfer_test.go Clarify permission "HasAccess" behavior (#30585) 12 months ago