-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Adds a Proxy for the download process of three-party dependent modules #526
Comments
Hey @zong-zhe! I would like to try this one. Can you help me get started? |
Hi @zong-zhe, I would like to work on adding proxy support to our downloader module to enhance the download process of third-party dependencies, especially in environments that require proxy configurations. My approach involves introducing a ProxyURL option in our download settings and updating the relevant code to utilize this proxy setting throughout the download process. By adding a ProxyURL field to our configuration structs and modifying the download methods to use custom HTTP clients with proxy settings, we can ensure that both Git and OCI downloads operate smoothly behind a proxy. May I work on this issue to implement the proxy support as described? |
Welcome ! This job is in the very early stage of solving the problem of slow download speed caused by KCL being limited by network problems. You may need to learn more about project content and some proxy-related things first, refer to some existing programming language package management tools on the market, and minimize the problem of the task that needs to be done. Could you try provide a paperwork solution first ? 😄 |
Hi @ravjot07 😄 Thanks very much for your contribution, but we can move forward with this part of the work as planned. You don't have to rush with the code. First, we complete some necessary preparations through the paperwork solution. I will now close this PR: #547. You can add some paperwork solution PRs to this directory: https://github.com/kcl-lang/kpm/tree/main/research/design-doc. |
Sure @zong-zhe I will add paperwork solution first...... |
Feature Request
Is your feature request related to a problem? Please describe:
Support proxy mode to improve the stability and speed of the download process. Similar to the ability to set up proxies provided in go mod and cargo
Describe the feature you'd like:
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: