Skip to content
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

Make Travis CI use libcurl+openssl+gssapi for macOS #5629

Merged
merged 4 commits into from Dec 6, 2017

Conversation

markekraus
Copy link
Contributor

@markekraus markekraus commented Dec 5, 2017

Closes #5590

  • makes Travis CI use the brew installed libcurl that uses OpenSSL for the crypto provider and include the gssapi option. The native libcurl provides inconsistent feature support across OS versions.
  • re-enable tests marked pending in Make the '-SslProtocol' tests pending #5605
  • GSSAPI is required for PowerShellGet in order to support HttpClientHandler.UseDefaultCredentials which it sets as true (unless you supply credentials).

PR Checklist

Note: Please mark anything not applicable to this PR NA.

PR Summary

@markekraus markekraus added the Documentation Needed in this repo Documentation is needed in this repo label Dec 5, 2017
@markekraus markekraus changed the title Make Travis CI use libcurl+openssl Make Travis CI use libcurl+openssl+gssapi Dec 5, 2017
@markekraus
Copy link
Contributor Author

yay.. all passed this time.

So.. the question is where do I document this at? in the web cmdlets documentations? somewhere in this repo (install documentation)? both?

@daxian-dbw
Copy link
Member

daxian-dbw commented Dec 5, 2017

We need to document it in the web cmdlets help content, and point out what parameters are affected by this. docs/FAQ.md might also be a good place to keep this information.

Copy link
Member

@TravisEz13 TravisEz13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment about another issue this PR brings up, Please file an issue or submit a PR for this and link in this PR.

@@ -1533,7 +1533,7 @@ function Start-PSBootstrap {
Start-NativeExecution { brew install $Deps } -IgnoreExitcode

# Install patched version of curl
Start-NativeExecution { brew install curl --with-openssl } -IgnoreExitcode
Start-NativeExecution { brew install curl --with-openssl --with-gssapi } -IgnoreExitcode
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should update the PowerShell brew recipe as well.
https://github.com/caskroom/homebrew-cask/blob/master/Casks/powershell.rb#L33

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to figure out what to do with the powershell package about this limitation on macOS.
CoreCLR has explicitly moved away from OpenSSL on mac, see this PR: dotnet/corefx#17011.
Please open an issue to track the macOS packaging about this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CHANGELOG.md Outdated
@@ -5,6 +5,8 @@
- Update the contribution guideline to note that updating the changelog is required. (#5586)
- Remove Pester as a module include with the PowerShell Packages.
In the future, you should be able to add it by running `Install-Module Pester`. (#5623, #5631)
- Make Travis CI use `libcurl+openssl` (#5629, @markekraus)
- Make Travis CI use `libcurl+openssl+gssapi` (#5629, @markekraus)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should only have one line for a single PR

@daxian-dbw
Copy link
Member

I didn't add the [feature] tag when resolving a conflict. Add the [feature] to trigger full test run.

@daxian-dbw daxian-dbw merged commit ee7fbed into PowerShell:master Dec 6, 2017
@daxian-dbw daxian-dbw changed the title Make Travis CI use libcurl+openssl+gssapi Make Travis CI use libcurl+openssl+gssapi for macOS Dec 6, 2017
TravisEz13 pushed a commit to TravisEz13/PowerShell that referenced this pull request Dec 7, 2017
@TravisEz13 TravisEz13 added this to the 6.0.0-RC.2 milestone Dec 8, 2017
@markekraus markekraus deleted the macOsLibcurlFix branch January 19, 2018 19:00
@joeyaiello joeyaiello removed the Documentation Needed in this repo Documentation is needed in this repo label Oct 15, 2018
@joeyaiello joeyaiello removed the Documentation Needed in this repo Documentation is needed in this repo label Oct 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants