-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable specific applications #93
Conversation
f46fe6c
to
b73020f
Compare
@tmatilai, @jperville, The unit test result for this function is as follows.
|
I just tested the branch on my system with good success (at least to disable the docker proxy). I encountered an error with the git proxy (the Relevant output of
Here is the configuration snippet in my Vagrantfile:
When booting the VM, the following proxies were configured:
LGTM, thank you so much for this PR @otahi |
@jperville Thank you for your testing. I'm happy to hear that. I will continue to test some kind of VMs. |
Thanks to both of you! |
[WIP] Disable specific applications
@tmatilai ,
|
@otahi OK. One issue is at least that |
@tmatilai , Thank you for your advice. On the VM, git can be run but return
|
@tmatilai
Now, I don't have enough time. I will do research tommorow JST. |
Ouch, that's a nasty catch in the git API... So that's a bug in the But I still think that there is a bug here too. We shouldn't be unsetting the git proxy without |
I have tested on #96. It seems OK. |
The implementation for #85 .
I want to change like this.
Disabling the plugin
The plugin can be totally skipped by setting
config.proxy.enabled
tofalse
or empty string (""
).This can be useful to for example disable it for some provider.
Specific applications can be skipped by setting
config.proxy.enabled
toa hash( like
{ svn: false }
).This disabling keeps proxy configurations for applications on the guest.
The configurations must be cleared before disabling if needed.
Todos: