feat(config): support per-host https proxy config

Description

  • Update config.yaml to allow setting an HTTP proxy per hostname, overriding environment variables
  • This addresses corporate setups where different tunnels are setup for different gitlab instances

HTTP proxy support has been brought up in #765 (closed) yet it was closed as the env var support was enough for the reporter.

How has this been tested?

Two different hostnames configured, one works via the existing environment variable configuration / proxy, the other needs a local tunnel

Update config.toml for the second one with proxy: http://127.0.0.1:62212

Use glab mr list --repo XX with XX being full URL for a project on the first gitlab instance and then again for the second gitlab instance.

Both work

Edited by Filipe Pina

Merge request reports

Loading