1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-02 15:09:33 -05:00
gitea/services/mirror
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
..
mirror_pull.go Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
mirror_push.go Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
mirror_test.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
mirror.go Refactor push mirror find and add check for updating push mirror (#32539) 2024-11-18 05:59:04 +00:00
notifier.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
queue.go Refactor push mirror find and add check for updating push mirror (#32539) 2024-11-18 05:59:04 +00:00