Commit graph

4159 commits

Author SHA1 Message Date
Andrew Schwartzmeyer 7ac85f6ce0 Add unstable Dockerfile for Ubuntu 16.04 2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer da024ec2ba Add stable Dockerfile for 16.04 2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer 7375ab58b1 Add Docker scripts
Common bootstrap.ps1 script to run PowerShell builds.
Launch script to build and tag all containers.
Test script to run tests in unstable containers.
2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer 6bddaf6534 Add unstable Dockerfile for Ubuntu 14.04 2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer cbc658b525 Add stable Dockerfile for Ubuntu 14.04
Dependencies and PowerShell are installed.
2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer 3e269103b5 Remove prototype Dockerfile 2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer 427435c8fd Refactor .NET CLI installation into Install-Dotnet
So that it can be reinstalled separately if desired.

Also removed the set validation as it was now wrong,
and removed the warning about no Invoke-WebRequest on Core PowerShell
(it is ported now).

I don't like the duplicate parameter logic,
especially around -NoSudo.
2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer fc2c1b9f7d Update apt-get repo in Start-PSBootstrap
yum does not need this as yum install does it automatically.

This is needed when running, for example, in a container.
2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer 3a66c04f23 Add -NoSudo option to Start-PSBootstrap 2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer 3687692802 Guard fatal bootstrap steps with Start-NativeExecution 2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer bb476d4aef Install groff when bootstrapping for packaging 2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer e7537b7ef4 Improve GetFullyQualfiedName() test 2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer b86b1f870a Fix memory leak in GetFullyQualifiedName() 2016-09-12 15:01:18 -07:00
Yanbing e1bfe97d87 Add tests to language part 1 (#2086) 2016-09-12 10:43:53 -07:00
Aleksandar Nikolić 1d89d46c76 Update demos/Azure/Azure-Demo.ps1 (#2149)
* Update demos/Azure/Azure-Demo.ps1

Fix typos and casing.
Remove double spaces.

* Update Azure-Demo.ps1
2016-09-12 10:08:17 -07:00
Sergei Vorobev ea5b6720cd Merge pull request #2092 from bingbing8/Add-Tests-to-language-part-2
Add tests to language part 2
2016-09-10 10:07:35 -07:00
Ben Tucker 7071137085 Fix test-locale.cpp to report failing value (#2191)
ASSERT_TRUE("a"=="b") only reports that the strings do not match, hiding
their values.
ASSERT_STREQ("a","b") is a functionally equivalent test, but reports
back the values of the failing strings for easier troubleshooting.
2016-09-08 13:44:13 -07:00
Yanbing Wang 2530207d2a move help tests to feature. It generate two much log 2016-09-07 17:34:38 -07:00
Josh Soref fe08ab64ee Issue management (#2197)
* punctuation: issue management

* grammar: issue management

* capitalization: issue management

* miscellaneous: issue management
2016-09-07 11:32:31 -07:00
Josh Soref fd1d7a128f grammar: TransactedRegistry stub in System.Management.Automation CoreCLR (#2196)
PowerShell has some stubs to enable code to almost sort of work with things.
Some of the stubs try to say "Do not use me".

This commit corrects the grammar of the message.

Previously the message tried to apply a past tense form to `hit`,
but the past tense of `hit` is `hit`, and while breakpoints can
be hit, it's better to talk to the user about what should be done/
should not be done.
2016-09-07 11:29:42 -07:00
Andrew Schwartzmeyer 8911e72477 Fix incorrect function references in releasing.md
This documentation is meant to describe Start-PSPackage, not Start-PSBuild.
2016-09-06 15:53:09 -07:00
Sergei Vorobev 7a89b33f8b Merge pull request #2154 from jsoref/spelling-locals
Spelling locals
2016-09-06 12:18:33 -07:00
Douglas Thrift 948f05d609 Fix link to Build Manually in Linux build document (#2180) 2016-09-05 21:55:09 -07:00
Sergei Vorobev 88eb903b71 Merge pull request #2175 from andschwa/osx-openssl
Fix macOS CI build and installation instructions
2016-09-05 21:52:46 -07:00
Andrew Schwartzmeyer 7c10dac20c Update macOS install docs for OpenSSL 2016-09-04 12:40:57 -07:00
Andrew Schwartzmeyer 27530c403c Use direct download URLs instead of API
GitHub's API is throttled to 60 requests per hour per IP address when
for non-authenticated calls, which was causing severe CI flakiness.
While this adds another set of URLs to update for each release, the
alternative was adding an OAuth token and maintaining its ownership.
Moreover, this code is simpler than the previous API parsing.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer 363657717c Handle package download failure 2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer fc2e4e0e23 Revert "Temporarily disable OS X on Travis CI"
This reverts commit bbf64d17ad.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer e337d93720 Install OpenSSL via Homebrew on macOS
Since it is required. Note that we do *not* unsafely link the OpenSSL
libraries into the system folders, as we instead patch .NET Core's
libraries to find OpenSSL in the installed location.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer 6b582851d6 Don't download package silently
Otherwise users think it's slow or hung.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer 25eab9a2e5 Quote all $variables
For paranoia.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer e3cf257a7d Use hash to check for curl
Our shebang is Bash.
2016-09-02 17:17:20 -07:00
Dongbo Wang 0c4472e889 Merge pull request #2173 from vors/label-abandoned
Add label "Review - Abandoned" description
2016-09-02 17:10:17 -07:00
Sergei Vorobev 95d05d66b6 Add label "Review - Abandoned" description 2016-09-02 16:39:27 -07:00
Yanbing Wang c5b90ca656 fixed indentation 2016-09-02 13:28:20 -07:00
Dongbo Wang 48d87842b1 Merge pull request #2169 from andschwa/fqdn
Remove incorrect logic from GetFullyQualifiedName()
2016-09-02 11:21:51 -07:00
Yanbing Wang 11e279d688 Update based on PR feedback 2016-09-02 11:07:18 -07:00
Andrew Schwartzmeyer 683e6fbe36 Remove incorrect logic from GetFullyQualifiedName()
I think this logic was originally added with the assumption that any
hostname with a dot in it was an FQDN. I believe this is incorrect. The
hostname is the hostname regardless of included dots, and getting the
FQDN amounts to always querying for the canonical name.
2016-09-02 10:27:11 -07:00
Dongbo Wang 2bff2443ee Merge pull request #2167 from jsoref/spelling-hangul
spelling: Hangul (unify spelling)
2016-09-02 09:38:40 -07:00
Dongbo Wang a7b563c0db Merge pull request #2168 from jsoref/switch-case-space
add space to switch-case statement in CommandValidationVisitor.Unreso…
2016-09-02 09:37:13 -07:00
Josh Soref 9e30dc64db spelling: Hangul (unify spelling)
Before this commit there were three spellings, one of which was a typo,
one was a variant spelling, and one was the dominant spelling.

Microsoft generally uses Hangul for its enums:
https://msdn.microsoft.com/en-us/library/cc250412.aspx
And this is the dominant spelling in general and as used in web browsers.
2016-09-02 15:14:45 +00:00
Josh Soref 544aa3fa50 add space to switch-case statement in CommandValidationVisitor.UnresolvedCommandCouldSucceed 2016-09-02 14:48:08 +00:00
Dongbo Wang 58a2ba730d Merge pull request #2046 from xiaoyinl/use-https-links
Use HTTPS links for go.microsoft.com
2016-09-01 17:23:09 -07:00
Paul Higinbotham fe1f035d44 Merge TFS 2064268: ConstrainedLanguage PowerShell should not block nested cmdlet invocation via runspace (#2159)
* Merge TFS 2064268: Under UMCI PowerShell should not block nested cmdlet invocation via runspace

* Update SessionState.cs

Fixed ExecutionContext property name error.
2016-09-01 17:21:54 -07:00
Paul Higinbotham 1d1c8b770a Merge TFS 8193011: Constrained language mode doesn't allow CIM cmdlets (#2158)
* Merge TFS 8193011: Constrained language mode doesn't allow argument transformation

* Update CommandProcessorBase.cs

Added comment per review comment.
2016-09-01 17:20:57 -07:00
Andrew Schwartzmeyer c695d41c47 Use lowercase name for package folders (#2162)
.NET CLI build 3546 started placing packages in:

    ~/.nuget/packages/microsoft.codeanalysis.common

instead of:

    ~/.nuget/packages/Microsoft.CodeAnalysis.Common

Where the previous (capitalized) version corresponded directly to the
package's name. Now they are all lower-cased.
2016-09-01 16:24:11 -07:00
Jason Shirk bc8d537884 Merge pull request #2067 from JamesWTruher/jameswtruher/testgapfile-002
Fill more gaps in cmdlet test coverage
2016-09-01 11:16:32 -07:00
Yanbing Wang b488d7eb35 Update the path to LanguageTestSupport.psm1 -force 2016-09-01 10:31:10 -07:00
Josh Soref fbec6eca5a spelling: locals in src/System.Management.Automation/namespaces 2016-09-01 16:03:02 +00:00
Josh Soref c75e01a02f spelling: locals in src/System.Management.Automation/commands 2016-09-01 15:13:34 +00:00