Migration will clone repository from the proxy#16697
Conversation
|
Thanks for this PR, my understanding of golang was that it picks up proxy settings via the |
|
The Gitea uses a custom transport without proxy in file Maybe we can only use proxy from the environment? |
Codecov Report
@@ Coverage Diff @@
## main #16697 +/- ##
==========================================
+ Coverage 45.36% 45.40% +0.04%
==========================================
Files 758 758
Lines 85120 85306 +186
==========================================
+ Hits 38612 38732 +120
- Misses 40245 40294 +49
- Partials 6263 6280 +17
Continue to review full report at Codecov.
|
|
I think we should reuse |
Ok, I agree with you and I'll fix this. |
I don't think so. Assume we want to add proxy for migrating from github but not another gitea instance, how should we do? We should have a global proxy i.e. #15234 and then set the proxy per domain. |
Alright. I thought we could set these rules in proxy software. |
|
Since #16704 has been merged, I think we can close this one. @idealism-xxm You can also send another PR to improve the proxy feature. |
Fix: #12018
Signed-off-by: idealism-xxm biaochekuangmo@yeah.net