apache / apache/openserverless

ops does not support HTTP_PROXY and HTTPS_PROXY env var

未关闭
#175 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
help wanted
主要语言
Python
星标
576
派生
29
平均合并
50 分钟
30 天内合并 PR
13

描述

- [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:

贡献指南

打开贡献指南

调研方向

从 ops CLI 的更新路径及其对 Go git library 的使用入手;设置 HTTP_PROXY 和 HTTPS_PROXY 后重现故障,然后跟踪这些变量如何传递到 git 操作。完成标准是 `ops -update` 能够通过已配置的代理正常工作,并为环境变量添加回归检查。

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
cli, networking
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。