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 c6cf96d31d
Fix automerge will not work because of some events haven't been triggered (#30780)
Replace #25741
Close #24445
Close #30658
Close #20646
~Depends on #30805~

Since #25741 has been rewritten totally, to make the contribution
easier, I will continue the work in this PR. Thanks @6543

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
7 days ago
..
archiver Move context from modules to services (#29440) 3 months ago
commitstatus Fix automerge will not work because of some events haven't been triggered (#30780) 7 days ago
files Make sure git version&feature are always prepared (#30877) 3 weeks ago
adopt.go Fix incorrect default branch when adopt a repository (#30912) 3 weeks ago
adopt_test.go Use more specific test methods (#24265) 1 year ago
avatar.go Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 1 year ago
avatar_test.go Use context parameter in services/repository (#23186) 1 year ago
branch.go Resolve lint for unused parameter and unnecessary type arguments (#30750) 4 weeks ago
cache.go Always enable caches (#28527) 5 months ago
check.go Update tool dependencies (#29030) 4 months ago
collaboration.go Add user blocking (#29028) 3 months ago
collaboration_test.go Add user blocking (#29028) 3 months ago
commit.go Move context from modules to services (#29440) 3 months ago
contributors_graph.go Enable more `revive` linter rules (#30608) 1 month ago
contributors_graph_test.go Refactor cache and disable go-chi cache (#30417) 2 months ago
create.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 3 months ago
create_test.go bump to use go 1.22 (#29119) 3 months ago
delete.go Clarify permission "HasAccess" behavior (#30585) 1 month ago
delete_test.go Delete repos of org when purge delete user (#27273) 7 months ago
fork.go Add user blocking (#29028) 3 months ago
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 1 year ago
generate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 3 months ago
generate_test.go Move generate from module to service (#29465) 3 months ago
hooks.go Simplify how git repositories are opened (#28937) 4 months ago
init.go Move generate from module to service (#29465) 3 months 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) 3 months 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) 6 months ago
main_test.go make writing main test easier (#27270) 8 months ago
migrate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 3 months ago
push.go Add cache for branch divergence on branch list page (#29577) 3 months ago
repository.go Fix "force private" logic (#31012) 1 week 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) 1 year ago
review_test.go Use context parameter in services/repository (#23186) 1 year ago
setting.go Fix an actions schedule bug (#28942) 4 months ago
template.go Move generate from module to service (#29465) 3 months ago
transfer.go Clarify permission "HasAccess" behavior (#30585) 1 month ago
transfer_test.go Clarify permission "HasAccess" behavior (#30585) 1 month ago