-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Support execution behind a corporate proxy #446
Comments
Hmm, simplest is probably using something like https://github.com/gajus/global-agent when in node context. Would require bumping minimum node version up to v10 since they rely on language features (versus monkey patching etc), but that's probably alright since node 8 is EOL in December anyways. Thoughts @P0lip @philsturgeon? |
@marbemac great idea, let's do it this way. Seeing as node-fetch is based on requests internally this should work just fine. @nulltoken do you have a workaround for now? We can raise node requirements to v10 for v5.0 but doing it for v4.x might be a bit cheeky. If we find a few more breaking changes we'd like to do (removing addRules and addFunctions for example) then it'd be nice to do it later on, but I also don't corporate firewall users to be blocked for three months. |
@philsturgeon Well, my current workaround is tethering through my mobile... which isn't the richest experience ;-) Would you know the forecast ETA for 5.0? For what it's worth, I'd be a taker for a |
@nulltoken yeah I'll just put together an ad-hoc v5 branch and start putting together breaking changes in there, and we'll merge it to develop when its time to get serious about it. What install channel are you using? Docker? NPM? |
Npm
❤️ |
Sorry for the delay here, we were cranking on v4.1.0. We’ll take this on as part of the sprint starting today, and develop will become the v5 branch. |
@philsturgeon So glad this got merged. Do you foresee a release of this as part of the v4 branch soon? |
For sure. We started tagging v4.2-beta’s just before this one was merged so there’ll be another beta soon.
…--
Phil Sturgeon
@philsturgeon
On Sep 18, 2019, at 13:27, nulltoken ***@***.***> wrote:
@philsturgeon So glad this got merged. Do you foresee a release of this as part of the v4 branch soon?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@nulltoken |
User story.
As a user working behind a corporate proxy, I can configure spectral, so that I can run it without errors when
ref$
points to internet based urls.Is your feature request related to a problem?
In #245, @marbemac made it possible to resolve http based remote references.
spectral/src/resolvers/http.ts
Line 7 in 027664f
However, for those of us working behind a corporate proxy, well... things do tend to not work.
Describe the solution you'd like
http_proxy
andhttps_proxy
would just be awesome 🎉Additional context
node-fetch/node-fetch#195
The text was updated successfully, but these errors were encountered: