-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
session: default https-proxy option to the same as http-proxy #2536
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
Conversation
Should we deprecate the |
30fe54d
to
57e5ba3
Compare
Codecov Report
@@ Coverage Diff @@
## master #2536 +/- ##
==========================================
- Coverage 52.56% 52.29% -0.28%
==========================================
Files 239 239
Lines 15118 15120 +2
==========================================
- Hits 7947 7907 -40
- Misses 7171 7213 +42 |
Codecov Report
@@ Coverage Diff @@
## master #2536 +/- ##
==========================================
+ Coverage 52.54% 52.56% +0.01%
==========================================
Files 239 239
Lines 15131 15133 +2
==========================================
+ Hits 7950 7954 +4
+ Misses 7181 7179 -2 |
If we deprecate the old one we'll have to do a full dot release instead of an incremental. I don't have an issue with it if you want to go that way, but I don't think it's really needed here and don't see a reason not to support both options. As long as it's noted in the code (and docs) that they operate in the same way and it exists for legacy support purposes. It needs to be clear to people just in case they try to set both so they won't waste time as that's a personal pet peeve of mine on open source projects that don't properly notate changes like this. |
Sounds good. I'm happy with the PR as is then. Unless you think there should be more in the docs to highlight it? |
@beardypig Should a note be added to |
Setting Lemme add some tests ... :) |
|
Would we hide the option, but still have it function as it did? I think changing the help text to |
maybe it could be unified to one command so this won't happen for some user scripts
it is most of the time annoying to enter the same proxy with two commands,
99% of the time not really
if there should be two commands, this would be an option |
True, the other option is to make https-proxy an alias of http-proxy. |
or a new command |
I think |
Restarted the Travis build since it didn't report in for some reason even though it succeeded. |
My preference is as the PR is now, we don't lose any functionality but it makes it easier for users because you don't have to set both proxies. |
Broken thanks to some Travis changes. I've installed the Travis CI app for the org but I've only activated it on the main repo. @bastimeyer @beardypig @back-to just a heads up that I've done this in case you get an email about it. I'm restarting the Travis build again in hopes that the check notated in that linked document will show up correctly in the branches interface because right now it's not there at all. |
ea9e831
to
50cfdec
Compare
50cfdec
to
fb5cbe2
Compare
session: default https-proxy option to the same as http-proxy
This sets the default value of
https-proxy
to same ashttp-proxy
, it can be overridden still by settinghttps-proxy
.