gitea/services/repository
wxiaoguang 2a828e2798
Clarify path param naming ()
In history (from some legacy frameworks), both `:name` and `name` are
supported as path path name, `:name` is an alias to `name`.

To make code consistent, now we should only use `name` but not `:name`.

Also added panic check in related functions to make sure the name won't
be abused in case some downstreams still use them.
..
archiver Enable tenv and testifylint rules ()
commitstatus Add new event commit status creation and webhook implementation ()
files Clarify path param naming ()
adopt.go Refactor pprof labels and process desc ()
adopt_test.go Reduce integration test overhead ()
avatar.go Fix repo avatar conflict ()
avatar_test.go Fix repo avatar conflict ()
branch.go Move some errors to their own sub packages ()
cache.go Always enable caches ()
check.go Refactor pprof labels and process desc ()
collaboration.go Move team related functions to service layer ()
collaboration_test.go Move AddCollabrator and CreateRepositoryByExample to service layer ()
commit.go Move context from modules to services ()
contributors_graph.go Enable more `revive` linter rules ()
contributors_graph_test.go disable gravatar in test ()
create.go Refactor pprof labels and process desc ()
delete.go Fix repo avatar conflict ()
delete_test.go Delete repos of org when purge delete user ()
fork.go Refactor pprof labels and process desc ()
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories ()
generate.go Refactor pprof labels and process desc ()
generate_test.go Move generate from module to service ()
hooks.go Simplify how git repositories are opened ()
init.go Refactor pprof labels and process desc ()
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 ()
lfs_test.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods ()
license.go Support repo license ()
license_test.go Enable tenv and testifylint rules ()
main_test.go make writing main test easier ()
merge_upstream.go Support "merge upstream branch" (Sync fork) ()
migrate.go Refactor pprof labels and process desc ()
push.go Fix broken releases when re-pushing tags ()
repo_team.go Move RepoTransfer from models to models/repo sub package ()
repo_team_test.go Move team related functions to service layer ()
repository.go Support repo license ()
repository_test.go refactor some functions to support ctx as first parameter ()
setting.go Fix an actions schedule bug ()
template.go Move generate from module to service ()
transfer.go Move RepoTransfer from models to models/repo sub package ()
transfer_test.go Move RepoTransfer from models to models/repo sub package ()