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
wxiaoguang 34dfc25b83
Make git clone URL could use current signed-in user (#33091)
close #33086

* Add a special value for "SSH_USER" setting: `(DOER_USERNAME)`
* Improve parseRepositoryURL and add tests (now it doesn't have hard
dependency on some setting values)

Many changes are just adding "ctx" and "doer" argument to functions.

By the way, improve app.example.ini, remove all `%(key)s` syntax, it
only makes messy and no user really cares about it.

Document: https://gitea.com/gitea/docs/pulls/138
2 months ago
..
archiver Enable tenv and testifylint rules (#32852) 2 months ago
commitstatus Add new event commit status creation and webhook implementation (#27151) 4 months ago
files Clarify path param naming (#32969) 2 months ago
adopt.go Refactor pprof labels and process desc (#32909) 2 months ago
adopt_test.go Reduce integration test overhead (#32475) 3 months ago
avatar.go Fix repo avatar conflict (#32958) 2 months ago
avatar_test.go Fix repo avatar conflict (#32958) 2 months ago
branch.go Move some errors to their own sub packages (#32880) 2 months ago
cache.go Always enable caches (#28527) 1 year ago
check.go Refactor pprof labels and process desc (#32909) 2 months ago
collaboration.go Move team related functions to service layer (#32537) 3 months ago
collaboration_test.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 4 months ago
commit.go Move context from modules to services (#29440) 1 year ago
contributors_graph.go Enable more `revive` linter rules (#30608) 10 months ago
contributors_graph_test.go disable gravatar in test (#32529) 3 months ago
create.go Make git clone URL could use current signed-in user (#33091) 2 months ago
delete.go Fix repo avatar conflict (#32958) 2 months ago
delete_test.go
fork.go Refactor pprof labels and process desc (#32909) 2 months ago
fork_test.go
generate.go Make git clone URL could use current signed-in user (#33091) 2 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 Refactor pprof labels and process desc (#32909) 2 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) 1 year ago
lfs_test.go
license.go Support repo license (#24872) 5 months ago
license_test.go Enable tenv and testifylint rules (#32852) 2 months ago
main_test.go
merge_upstream.go Support "merge upstream branch" (Sync fork) (#32741) 3 months ago
migrate.go Refactor pprof labels and process desc (#32909) 2 months ago
push.go Fix broken releases when re-pushing tags (#32435) 4 months ago
repo_team.go Move RepoTransfer from models to models/repo sub package (#32506) 2 months ago
repo_team_test.go Move team related functions to service layer (#32537) 3 months ago
repository.go Support repo license (#24872) 5 months ago
repository_test.go
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 Move RepoTransfer from models to models/repo sub package (#32506) 2 months ago
transfer_test.go Move RepoTransfer from models to models/repo sub package (#32506) 2 months ago