Commit graph

3660 commits

Author SHA1 Message Date
Andrew Schwartzmeyer 816dac0a55 Do not throw when getting Unix domain or user name
If the attempt to get the name fails, throwing an exception results in
PowerShell crashing. Instead, we should simply return empty data.

"unknown" is specifically not returned because it would be ambiguous; it
is not impossible to have an actual user or domain named "unknown".
2016-08-05 15:34:43 -07:00
Dongbo Wang 8b31f2c606 Merge pull request #1657 from alexandair/patch-3
removing OPS and a duplicate line in testing-guidelines.md
2016-08-05 09:53:17 -07:00
Jason Shirk 48cf1b5489 Merge pull request #1565 from PowerShell/ParameterBindingTest
Add Pester Test for ParameterBindingTests2.cs
2016-08-05 08:41:15 -07:00
Aleksandar Nikolić 8fc68cab0d Update testing-guidelines.md 2016-08-05 17:14:51 +02:00
TingLiu6 89d24fd8ba Add ParameterBinding Pester Test 2016-08-04 19:50:35 -07:00
Jason Shirk 97aa6a8c5c Merge pull request #1627 from PowerShell/brucepayette/python-demo
Checked in PowerShell python interop demo
2016-08-04 19:20:39 -07:00
Aleksandar Nikolić 0325665033 removing OPS and a duplicate line in testing-guidelines.md
Changing OPS to PowerShell.
Changing "PowerShell in Windows" to "Windows PowerShell".
Removing a duplicate line "test/powershell/Modules/Microsoft.PowerShell.Security".
Fixing a bunch of typos.
2016-08-05 02:39:13 +02:00
Bruce Payette 8a6798fb4f Updated to include Aleksandar's editorial changes; mostly python to Python
in the comments.
2016-08-04 17:39:12 -07:00
Jason Shirk a01436477e Merge pull request #1655 from PowerShell/mirichmo/fixing-start-pspester
Fixing Start-PSPester for non-Windows environments. Fixes regression caused by PR #1530
2016-08-04 17:10:05 -07:00
Dongbo Wang 3cd55d9386 Merge pull request #1649 from PowerShell/AngelCalvo-patch-5
Update testing-guidelines.md
2016-08-04 17:07:09 -07:00
Bruce Payette c1ccbc0923 Added README.md to the demo. 2016-08-04 16:56:52 -07:00
Bruce Payette 0593aab35b Checked in PowerShell python interop demo 2016-08-04 16:56:43 -07:00
Mike Richmond a7f5d28f5f Fixing Start-PSPester for non-Windows environments. 2016-08-04 16:46:44 -07:00
Jason Shirk 5676a44f38 Merge pull request #1650 from PowerShell/raghushantha-msieulabranch
EULA for MSI Installer
2016-08-04 15:47:03 -07:00
Jason Shirk 432ce64589 Merge pull request #1651 from andschwa/andschwa/osx-fpm
Fix FPM on Travis CI OS X
2016-08-04 15:41:30 -07:00
Raghu Shantha [MSFT] 963710d641 Merge pull request #1652 from PowerShell/raghushantha-thirdpartynotices
Create ThirdPartyNotices.txt
2016-08-04 14:27:38 -07:00
Raghu Shantha [MSFT] 07ac91510d Create ThirdPartyNotices.txt 2016-08-04 13:59:05 -07:00
Andrew Schwartzmeyer 5f396629f7 Use Ruby 2.2.1 explicitly on Travis CI OS X 2016-08-04 13:52:31 -07:00
Andrew Schwartzmeyer 3143ccf97c Use default Ruby on OS X 2016-08-04 13:52:30 -07:00
Andrew Schwartzmeyer 120cc61a07 Downgrade to Xcode 7.3 2016-08-04 13:52:26 -07:00
Dongbo Wang e6202a06e5 Merge pull request #1530 from PowerShell/mirichmo/file-based-registry-support
Mirichmo/file based registry support Fixes #1187
2016-08-04 13:43:08 -07:00
Raghu Shantha [MSFT] b6b95c4d63 EULA for MSI Installer 2016-08-04 13:30:00 -07:00
Mike Richmond 1e4615114c Reducing duplication of Environment variable extraction 2016-08-04 13:15:34 -07:00
Mike Richmond d3625f7662 Resolving issue with Registry reads where values are not present. 2016-08-04 13:15:34 -07:00
Mike Richmond 6eb0f2d6c7 Addressing reader and writer synchronization to the config file within the process. 2016-08-04 13:15:34 -07:00
Mike Richmond b291e2006c Fixing implementation of GetModulePath to conform to the requirements of #1184. 2016-08-04 13:15:34 -07:00
Mike Richmond 8ffb717e14 Reducing exception catching within ConfigPropertyAccessor classes to provide greater control to callers regarding the most appropriate way to handle them. 2016-08-04 13:15:34 -07:00
Mike Richmond 419db0e832 Removing dependency on JSON .Net for FullClr 2016-08-04 13:15:34 -07:00
Mike Richmond 33c1f2db23 Fixing execution policy so test automation works 2016-08-04 13:15:34 -07:00
Mike Richmond f8b9b88986 Bug fixes and cleanup in preparation for push. 2016-08-04 13:15:34 -07:00
Mike Richmond e6e785ec92 Added module path support. Not plumbed trhough yet. 2016-08-04 13:15:34 -07:00
Mike Richmond 2c365356b6 Adding UpdatableHelp checks. 2016-08-04 13:15:34 -07:00
Mike Richmond 73689d697a ExecutionPolicy is now working from JSON files 2016-08-04 13:15:34 -07:00
Mike Richmond 4b8eff2817 Backing up in-progress changes to work on other stuff 2016-08-04 13:15:34 -07:00
Angel Calvo c20417239f Update testing-guidelines.md
Replaced Open PowerShell with PowerShell
2016-08-04 12:41:18 -07:00
Andy Schwartzmeyer 93d8a8df3c Merge pull request #1645 from PowerShell/andschwa/osx-openssl
Fix OS X OpenSSL link for .NET Core
2016-08-04 12:32:13 -07:00
Jason Shirk f15e66b283 Merge pull request #1633 from PowerShell/revert_psedition_namechange
Revert the changes made in #1457. Desktop and Core are the PowerShell Edition names. Remove Linux as edition name.
2016-08-04 12:21:12 -07:00
Dongbo Wang 98ae3e7f1e Merge pull request #1637 from PowerShell/dongbo/ops-remoting
Make the assembly version of AssemblyLoadContext.dll to be 3.0.0.0, so that the ALC.dll from OPS can work with existing native hosts in NanoServer
2016-08-04 12:17:46 -07:00
Andrew Schwartzmeyer e936a7cd04 Remove Travis CI cache
It is unbearably slow on OS X.
2016-08-04 11:39:15 -07:00
Andrew Schwartzmeyer 39faa3dd25 Fix OS X OpenSSL link for .NET Core
Due to https://github.com/Homebrew/brew/pull/597,
.NET Core's installation instructions of `brew link --force openssl` are
now invalid (for good reasons, due to security holes). Until .NET Core
updates their libraries to find the OpenSSL libraries correctly, we can
update them as part of `Start-PSBootstrap`.

See https://github.com/dotnet/cli/issues/3964
2016-08-04 11:21:48 -07:00
Andrew Schwartzmeyer 5800b86a23 Revert "Temporarily disable OS X builds on Travis CI"
This reverts commit fef3871be2.
2016-08-04 11:03:54 -07:00
Dongbo Wang 1d1ec240ca Merge pull request #1632 from PowerShell/test/johnkord-Linux_DSC
DSC MOF Compilation for Linux
2016-08-04 10:59:56 -07:00
John Kordich ee7356e36e Disabling unit tests for OSX 2016-08-04 10:47:41 -07:00
John Kordich 0c7cbc1667 Adding Import-Module to MOF-Compilation tests 2016-08-04 10:47:41 -07:00
John Kordich e0fdf1ed00 Fixing up mof compilation test script to set PSMODULEPATH properly 2016-08-04 10:47:41 -07:00
John Kordich 643533b6a8 Adding DSC MOF compilation for Linux tests 2016-08-04 10:47:41 -07:00
John Kordich 1492abeedc Adding libmi and PSDSC nuget deps 2016-08-04 10:47:41 -07:00
Dongbo Wang 43bda97c98 Make the assembly version of AssemblyLoadContext.dll to be 3.0.0.0, so that the ALC.dll from OPS can work with existing native hosts in NanoServer 2016-08-04 10:43:57 -07:00
Andy Schwartzmeyer 7db5e8c818 Merge pull request #1642 from PowerShell/andschwa/disable-osx
Temporarily disable OS X builds on Travis CI
2016-08-04 10:40:43 -07:00
Andrew Schwartzmeyer fef3871be2 Temporarily disable OS X builds on Travis CI
OS X is failing due to home brew's OpenSSL package changes. Until we've
resolved .NET Core's use of the libraries, we need to disable the build.
2016-08-04 10:09:44 -07:00