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
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608)
Noteable additions:

- `redefines-builtin-id` forbid variable names that shadow go builtins
- `empty-lines` remove unnecessary empty lines that `gofumpt` does not
remove for some reason
- `superfluous-else` eliminate more superfluous `else` branches

Rules are also sorted alphabetically and I cleaned up various parts of
`.golangci.yml`.
1 month ago
..
archiver Move context from modules to services (#29440) 3 months ago
commitstatus Refactor cache and disable go-chi cache (#30417) 2 months ago
files Enable more `revive` linter rules (#30608) 1 month ago
adopt.go Enable more `revive` linter rules (#30608) 1 month 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 Refactor cache and disable go-chi cache (#30417) 2 months ago
cache.go Always enable caches (#28527) 6 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) 4 months ago
delete.go Clarify permission "HasAccess" behavior (#30585) 1 month ago
delete_test.go Delete repos of org when purge delete user (#27273) 8 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 Remove unnecessary parameter (#27671) 8 months 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