apache / apache/openserverless
ops does not support HTTP_PROXY and HTTPS_PROXY env var
- Dominant language
- Python
- Stars
- 576
- Forks
- 29
- Avg merge
- 50m
- Merged PRs (30d)
- 13
Description
- [x] I have searched the [issues](https://github.com/apache/openserverless/issues) of this repository and believe that this is not a duplicate.
### Ⅰ. Issue Description
Since we are using the go git library it is supposed it supports the standard environment variables HTTP(S)_PROXY ... but it does not.
### Ⅱ. Describe what happened
seth the variables, and try ops -update... error!
### Ⅲ. Describe what you expected to happen
it should work!
### Ⅳ. How to reproduce it (as minimally and precisely as possible)
set the variables and try it
### Ⅴ. Anything else we need to know?
### Ⅵ. Environment:
- K8S Runtime and version:
- OPS CLI version: 0.1.0-2409121919.dev
- Others:
Contributor guide
Research direction
Start with the ops CLI's update path and its use of the Go git library; reproduce the failure after setting HTTP_PROXY and HTTPS_PROXY, then trace how the variables reach the git operation. Done means `ops -update` works through the configured proxy, with a regression check for the environment variables.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100