Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add function to export proxy settings as systemd config #271
Conversation
wupeka
added some commits
Apr 12, 2017
jameinel
approved these changes
Apr 13, 2017
some comments, mostly about clearly documenting AutoNoProxy
| + Https string | ||
| + Ftp string | ||
| + NoProxy string | ||
| + AutoNoProxy string |
jameinel
Apr 13, 2017
Owner
We should probably clearly document AutoNoProxy as it isn't something people who know about proxy stuff are going to immediately understand.
At least an update to the Settings doc.
| + allNoProxy = append(allNoProxy, strings.Split(s.AutoNoProxy, ",")...) | ||
| + } | ||
| + noProxySet := set.NewStrings(allNoProxy...) | ||
| + return strings.Join(noProxySet.SortedValues(), ",") |
|
!!test!! |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-utils |
|
Build failed: Tests failed |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-utils |
jujubot
merged commit 10e5006
into
juju:master
Apr 13, 2017
added a commit
to rogpeppe/juju-utils
that referenced
this pull request
Apr 21, 2017
added a commit
that referenced
this pull request
Apr 21, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wupeka commentedApr 12, 2017
ProxySettings.AsSystemdDefaultEnv exports proxy settings in a form understandable by systemd.