Closed
Description
Description
In mirror_pull.go, the proxy settings are retrieved and passed to git operations
gitea/services/mirror/mirror_pull.go
Lines 249 to 259 in 7e596bd
However, in mirror_push.go, the environment is not passed to the underlying interface although it is supported
gitea/services/mirror/mirror_push.go
Lines 164 to 169 in 7e596bd
This prevents push mirrors from using proxies.
Gitea Version
Gitea version 1.22.4 built with GNU Make 4.3, go1.22.9 : bindata, sqlite, sqlite_unlock_notify
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Configure proxy.PROXY_ENABLED/PROXY_URL/PROXY_HOSTS and use push mirrors
Database
None