Page MenuHomeVyOS Platform

Commit-Archive Save doesn't use https_proxy
Needs reporter action, NormalPublicBUG

Description

Hey,

we tried to use the git+https commit-archive backend, but were unable to use it as we need to use a proxy for outside communication.
The reason for this is that the git subprocess is being called without the https_proxy environment variable that we set in the vyos config.

I found the lines where the environment for git were defined and when I added the correct environment var the commits were able to be saved in git.
https://github.com/vyos/vyos-1x/blob/72e597d5c258b1730d59d9f8cd08331338cee5b5/python/vyos/remote.py#L361-L367

Thanks!

Best regards,
modzilla

Details

Difficulty level
Easy (less than an hour)
Version
ep1
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav changed the task status from Open to Needs reporter action.Tue, Apr 23, 5:09 PM
Viacheslav added a subscriber: Viacheslav.

@modzilla99 Could you provide an example of set commands to reproduce?