0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-15 21:11:30 +01:00
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
2025-01-07 13:17:44 +08:00
..
archiver Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
commitstatus Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
files Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
adopt_test.go Reduce integration test overhead (#32475) 2024-11-14 19:28:46 +00:00
adopt.go Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
avatar_test.go Fix repo avatar conflict (#32958) 2024-12-23 02:52:25 +00:00
avatar.go Fix repo avatar conflict (#32958) 2024-12-23 02:52:25 +00:00
branch.go Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
cache.go
check.go Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
collaboration_test.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00
collaboration.go Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
commit.go
contributors_graph_test.go disable gravatar in test (#32529) 2024-11-21 04:30:48 +00:00
contributors_graph.go
create.go Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
delete_test.go
delete.go Fix repo avatar conflict (#32958) 2024-12-23 02:52:25 +00:00
fork_test.go
fork.go Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
generate_test.go
generate.go Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
hooks.go
init.go Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
lfs_test.go
lfs.go
license_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
license.go Support repo license (#24872) 2024-10-01 15:25:08 -04:00
main_test.go
merge_upstream.go Support "merge upstream branch" (Sync fork) (#32741) 2024-12-06 21:10:35 +00:00
migrate.go Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
push.go Fix broken releases when re-pushing tags (#32435) 2024-11-08 10:53:06 +08:00
repo_team_test.go Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
repo_team.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
repository_test.go
repository.go Support repo license (#24872) 2024-10-01 15:25:08 -04:00
setting.go
template.go
transfer_test.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
transfer.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00