Commit graph

4309 commits

Author SHA1 Message Date
Andrew Schwartzmeyer 8a24d26e8d Patch System.Net.Http.Native.dylib
Again, .NET Core expects users to forcibly link the third party OpenSSL
libraries into system directories, which the Homebrew team advises
strongly against (and attempts to prevent). This also affects the
System.Net.Http library, and results in runtime errors during SSL
certificate validation. So instead, we patch what we can, when we can.
2016-09-20 14:34:32 -07:00
Andrew Schwartzmeyer 1b0a99fc13 Add one-line installation instruction 2016-09-20 14:10:40 -07:00
Andrew Schwartzmeyer 153ff43b50 Update Linux installation docs to resolve dependencies
Use `dpkg -i` followed by `apt-get install -f`. Alternatives considered
included using `apt install`, which does not work, and copying the
PowerShell package to `/var/cache/apt/archives` which is just as messy
as this. At least this follows the same steps as `download.sh`.
2016-09-20 14:02:16 -07:00
Andrew Schwartzmeyer e5d35807bb Update download.sh to install all dependencies 2016-09-20 13:57:36 -07:00
Andrew Schwartzmeyer 5439d50710 Add all dependencies to New-UnixPackage
Now that I finally have a decent list of dependencies (though it may
still be too many), I have expanded the dependencies of the package so
that users get better error messages.

I've removed ca-certificates as that's not *necessarily* required (but
needed on Docker to download over HTTPS). This may be true of other
packages too.
2016-09-20 13:57:36 -07:00
Mike Richmond 4e6b06f010 Merge pull request #2313 from jsoref/spelling-public
spelling: public identifiers in src/Microsoft.WSMan.Management
2016-09-20 12:36:33 -07:00
Mike Richmond 735983b086 Merge pull request #2314 from jsoref/grammar-may-be
grammar: may be
2016-09-20 09:20:37 -07:00
Sergei Vorobev 6992a6479a Merge pull request #2260 from jsoref/spelling-public
Fix spelling in public APIs
2016-09-19 17:33:46 -07:00
Yanbing 87f6e8d040 Add tests to language part 5 (#2218)
1. Added parameterbinding test
2. Added ShouldBeErrorID function in helper file
3. Removed ShouldBeErrorID function from other test modules
4. Update New-TestHost to be able to run on full CLR
5. updated file map.json
2016-09-16 16:54:48 -07:00
McAndersDK 5738f37b74 Added support for title in get-Credential, and message set to optional. (#1904)
* Update CredentialCommands.cs

Added possibility to add title to the credential prompt window.
Added possibility to only supply username without giving a message.

* Added Test for Get-Credential new feature. (Title, and Message only optional.)
2016-09-16 14:53:55 -07:00
Mike Richmond dd2394b1e6 Merge pull request #2281 from daxian-dbw/update-FAQ
update nuget package version number in FAQ.md
2016-09-16 09:47:09 -07:00
Dongbo Wang e908b9a675 update nuget package version number in FAQ.md 2016-09-15 21:37:18 -07:00
Dongbo Wang 1825b60217 Merge pull request #2276 from andschwa/post-alpha.10
Update documentation and scripts for alpha.10
2016-09-15 21:11:53 -07:00
Dongbo Wang 0426b44541 Merge pull request #2156 from charub/StartProcessIssue
Provide an unsupported message for 'Verb' parameter (#1691)
2016-09-15 21:00:06 -07:00
Josh Soref 6d19f046ac spelling: public identifiers in src/Microsoft.WSMan.Management 2016-09-16 03:07:16 +00:00
Josh Soref 552640506e grammar: may be
maybe be -- does not really make sense, it should almost always be
written as simply: may be.
2016-09-16 02:40:19 +00:00
Sergei Vorobev 1c3c719521 Update testing guidelines (#2244)
* Move PesterDoAndDont.md into WritingPesterTests.md

* Add powershell language moniker to codesnippets

in WritingPesterTests.md
Add extra new-lines for formatting

* Adding here-string info to testings docs
2016-09-15 15:21:26 -07:00
Andrew Schwartzmeyer d183d7944f Update download.sh and Dockerfile links
This is a breaking change until the release is posted.
2016-09-15 13:59:46 -07:00
Andrew Schwartzmeyer d264501f31 Update documentation names and links for alpha.10 2016-09-15 13:59:46 -07:00
Andrew Schwartzmeyer f310450fe6 Update changelog for alpha.10 (#2275) 2016-09-15 13:59:05 -07:00
Josh Soref e579e85b39 Spelling ps1 (#2256)
* spelling: locals in src/Modules/Shared/PowerShellGet

* spelling: locals in src/Modules/Windows-Full
2016-09-15 13:10:05 -07:00
Li Li 889cbb6437 .NET CLI tools need to be in path for VS Code (#2204) 2016-09-15 11:45:04 -07:00
Yanbing edb292face Add tests for the Language (#2118)
DeserializedMethods, DeserializedTypeConversion,
DynamicParameters, Generics, Indexer, LindEndings, MyInvocation,
OrderedAttributeForHashTable.
2016-09-15 11:27:44 -07:00
charub 3d7beb4425 Provide an unsupported message for 'Verb' parameter (#1691)
Add the 'Verb' parameter to Powershell core and add an unsupported message
for the same.
2016-09-15 10:50:36 -07:00
Dongbo Wang 3d43053e3a Merge pull request #2255 from jsoref/spelling-call
spelling: call in Microsoft.PackageManagement/providers/IPackageProvi…
2016-09-15 09:54:45 -07:00
Sergei Vorobev a266f11b00 Merge pull request #2182 from douglaswth/fix-passing-escaped-double-quoted-spaces-to-native.exe
Fix passing escaped double quoted spaces to native executables
2016-09-14 19:07:56 -07:00
Sergei Vorobev 4ee52fe3d2 Merge pull request #2259 from jsoref/spelling-debug
Spelling debug
2016-09-14 19:04:34 -07:00
Dongbo Wang 151585535d Merge pull request #2250 from mirichmo/mirichmo/localgroup-description-length
Removing length restriction on Description since SAM allows greater than 48 characters
2016-09-14 17:57:22 -07:00
Mike Richmond d3a49c2a54 Merge pull request #2265 from daxian-dbw/improve-modulepath
Improve ModulePath calculation and refactor related method names
2016-09-14 17:22:47 -07:00
PowerShell Team db2a0a6ca9 Adding ported LocalAccounts tests 2016-09-14 17:18:13 -07:00
Mike Richmond 080b50f887 Removing length restriction on Description since SAM allows greater than 48 characters 2016-09-14 17:18:11 -07:00
Dongbo Wang b35d6126b2 Merge pull request #2239 from JamesWTruher/jameswtruher/testgap-004
Jameswtruher/testgap 004
2016-09-14 17:01:28 -07:00
Dongbo Wang fe38bc76d6 Merge pull request #2262 from jsoref/spelling-display
Spelling display
2016-09-14 16:53:23 -07:00
Dongbo Wang 8669658d84 Add more sxs module path tests and make the basic sxs module test run on both powershell core and windows powershell 2016-09-14 15:19:12 -07:00
Dongbo Wang fdd514108c Improve the logic to detect PSHome module path derived from a different powershell core instance. 2016-09-14 15:19:12 -07:00
Dongbo Wang 9179cecd01 Refactor method names related to 'PSHomeModulePath' and 'SharedModulePath' 2016-09-14 15:19:12 -07:00
Paul Higinbotham 0ba1e2d9d1 Minor improvements to SSH remoting cmdlets (#2249)
* Fix for relative paths for KeyFilePath cmdlet parameter, renamed cmdlet KeyPath parameter to KeyFilePath parameter, and added tests.

* Code review comment update

* Added missing KeyFilePath check

* Test fix from review comment
2016-09-14 15:13:10 -07:00
Dongbo Wang bf0774a8bf Merge pull request #2251 from ealexjordan/uninstalldocs
Add Uninstallation Instructions for PowerShell Package
2016-09-14 14:09:19 -07:00
James Truher 4fb7a9234a Add get-runspace -name test 2016-09-14 14:06:59 -07:00
James Truher 3f6e959091 add runspace.dispose to clean up created runspace 2016-09-14 13:58:21 -07:00
James Truher eaef22686f Add a test for get-runspace -name and remove the runspace close from AfterAll block 2016-09-14 13:51:10 -07:00
James Truher 89946ed280 removed aggressive runspace cleanup code
also changed get-runspace test when multiple runspaces are present
to look for explicit runspace ids
2016-09-14 13:51:10 -07:00
James Truher 3dd686027c Add get-runspace -name test, remove runspace.close from AfterAll, dispose alone will suffice 2016-09-14 13:51:10 -07:00
James Truher 154cd992b4 make the language more clear for the PSStandaloneMonitorRunspaceInfo test 2016-09-14 13:51:10 -07:00
James Truher 97c4bbe952 don't use git to determine where the common directory is
it's not portable for our lab environment, where git may not exist
2016-09-14 13:51:10 -07:00
James Truher f00f82d85c fix up Get-Runspace test to be sure it has a clean environment before starting 2016-09-14 13:51:10 -07:00
James Truher 4bba7c8e62 adding convert-path tests 2016-09-14 13:51:10 -07:00
James Truher 4ef068c3d6 Rewrite to use $TESTDRIVE which does auto cleanup 2016-09-14 13:51:10 -07:00
James Truher 51f0a29a48 Start adding runspace debugging API tests 2016-09-14 13:51:10 -07:00
James Truher 4d046379e0 Add Get-Runspace tests 2016-09-14 13:51:10 -07:00