Commit Graph
6991 Commits
Author SHA1 Message Date
Reece Dunham 43487b4068 Update markdown test dependencies (#9075) 2019-03-09 08:30:14 +05:00
Travis Plunk 382e5cc871 Fix artifact Download issue in release build (#9095)
Fix artifact Download issue in release build
2019-03-08 15:18:38 -08:00
Reece Dunham f5b965ee0f Update Docker README (#9010) 2019-03-08 13:28:26 -08:00
Bram CrielaardandTravis Plunk 7031954669 Make install scripts more consistent over different operating systems (#9071)
I noticed a couple of inconsistencies when reading through the install bash scripts. 

- Make documentation for switches consistent over all files.
- Replace all `sed` implementations of `lowercase` with a more maintainable `tr` implementation.
- Set the `OS` variable in every install script, making it so previously unused checks are actually used.
- Exit with a non-zero exit code when the script reaches an illegal state.


## PR Context

A lot of people, including myself, read the install scripts before executing them. While doing so I noticed they contained inconsistencies. For example, certain flags you can pass to the install script were either undocumented or had an incorrect description. This PR fixes some of these inconsistencies, which should make them easier to maintain and easier to read.

Co-authored-by: Travis Plunk <github@ez13.net>
2019-03-08 13:00:04 -08:00
Joel Sallow (/u/ta11ow) b23e835d2d Rename private methods in MshCommandRuntime.cs (#9074)
* DoWriteObjects() -> DoWriteEnumeratedObject()
* _WriteObjectsSkipAllowCheck() -> _EnumerateAndWriteObjectSkipAllowCheck()
2019-03-08 19:28:39 +05:00
Reece Dunham ae8c841d07 Comment cleanup in releaseTools.psm1 (#9064) 2019-03-07 18:10:41 -08:00
Dongbo Wang 50f3e7f10e Update the task-based async APIs added to PowerShell to return a Task object directly (#9079)
Update the task-based async APIs added to PowerShell to not use the `aysnc/await` keywords, but to return a `Task` object directly.
There is nothing to continue on after the `Task.Factory.FromAsync` call in those methods, so there is not need to use `aysnc` and `await` keywords, which turns the method into a state machine class unnecessarily.
2019-03-07 11:24:31 -08:00
Reece Dunham c715a8faef Update release process issue template (#9051) 2019-03-08 00:14:03 +05:00
Aditya Patwardhan 0752a5502a Add source for install-package to install netDumbster (#9081) 2019-03-06 16:21:03 -08:00
Ilya 2953959dc5 Add UseQuotes parameter (#8951) 2019-03-06 11:59:15 -08:00
Kirk Munro 45aba2acb5 Add 5 'InvokeAsync' overloads and 'StopAsync' to the 'PowerShell' type (#8056) 2019-03-06 10:06:11 -08:00
Aditya Patwardhan 7caf59be3e Publish test package on release builds (#9063) 2019-03-06 10:00:35 -08:00
Joel Sallow (/u/ta11ow) cd4b194cbb Cleanup & update ErrorRecord class code style (#9021) 2019-03-06 08:53:30 +05:00
ThreeFive-O d56e50152a Style fixes for Select-Xml tests (#9037) 2019-03-05 15:07:00 -08:00
ThreeFive-O a2c9482194 Enable cross-platform Send-MailMessage tests for CI (#8859) 2019-03-05 14:29:48 -08:00
Reece Dunham 7cc4889476 Documentation Cleanup (#8851) 2019-03-05 12:45:46 -08:00
Reece Dunham da4930f2dc Added RequireSudoOnUnix tags to PowerShellGet tests and unmark as pending (#8954) 2019-03-05 11:55:20 -08:00
ThreeFive-O 6e383de251 Style fixes for ConvertTo-Xml tests (#9036) 2019-03-05 11:39:58 -08:00
dependabot[bot] 98506db714 Build(deps): Bump SelfSignedCertificate in /test/tools/Modules (#9055) 2019-03-05 11:32:40 -08:00
Aditya Patwardhan 861b6c8a5f Update docs for 6.2.0-rc.1 release (#9022) 2019-03-05 11:26:17 -08:00
Travis Plunk 8a877d6160 Merge branch 'release/v6.2.0-rc.1' into master
# Conflicts:
#	src/System.Management.Automation/engine/parser/Compiler.cs
2019-03-05 11:13:22 -08:00
ThreeFive-O 017e472961 Align name schemes for test files (#9034) 2019-03-05 10:47:04 -08:00
Travis Plunk f38df876e4 Merged PR 7298: Update Change log
Add the new commits
v6.2.0-rc.1
2019-03-04 21:28:18 +00:00
Aditya Patwardhan 7062297e4e Update version for PowerShell.Native and hosting tests (#8983) 2019-03-04 11:08:19 -08:00
dependabot[bot] 42a3bc695f Build(deps): Bump NJsonSchema from 9.13.19 to 9.13.22 (#9044)
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema) from 9.13.19 to 9.13.22.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases)
- [Commits](https://github.com/rsuter/NJsonSchema/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 19:58:32 +05:00
ThreeFive-O 341af629d7 Fix duplicate recommendation of Azure DevOps extension for VS Code (#9032) 2019-03-03 17:42:45 +05:00
Aditya Patwardhan c22669a236 Update UML to represent SDK and Global tool builds (#8997) 2019-03-01 13:07:25 -08:00
Ilya 7ed35e3494 Remove unused cached types from CachedReflectionInfo (#9019) 2019-03-01 23:08:44 +05:00
Gaurav Kamath f31b33863c Refactor Shuffle in Get-Random to save a full iteration of the objects. (#8969) 2019-03-01 17:11:37 +05:00
Muhammed Imran 6f6b7983b0 Suggest "-Id pid" for "Get-Process pid" (#8959) 2019-03-01 17:01:52 +05:00
Aditya Patwardhan b2a8a733de Remove unused cached types (#9015)
These types are not used in PowerShell code base and should be removed.

## PR Context

The dotnet 3.0.100-preview3-010406 version added overloads to `string.get_Chars` and hence we cannot resolved which overload to load. Thus, we get an type load exception.

Since we are no using this type, it is better to remove it.
2019-02-28 17:28:44 -08:00
Aditya Patwardhan cae9e952b5 Remove unused cached types (#9015)
These types are not used in PowerShell code base and should be removed.

## PR Context

The dotnet 3.0.100-preview3-010406 version added overloads to `string.get_Chars` and hence we cannot resolved which overload to load. Thus, we get an type load exception.

Since we are no using this type, it is better to remove it.
2019-02-28 17:13:39 -08:00
Aditya Patwardhan cbd255e461 Code coverage artifacts (#8993)
Move the `TestPackage.zip` under code coverage and remove `tests.zip` as it is not needed anymore.
2019-02-28 14:38:45 -08:00
dependabot[bot] 4de93e8b64 Build(deps): Bump Markdig.Signed from 0.15.7 to 0.16.0 (#8981) 2019-02-28 14:10:30 -08:00
Travis Plunk 2a2ffd5955 Fix MSI Upgrade failure for preview builds (#9013) 2019-02-28 14:10:01 -08:00
Travis Plunk d7dd4b5dd2 Fix MSI Upgrade failure for preview builds (#9013) 2019-02-28 14:05:27 -08:00
Travis Plunk 991929ce46 Merged PR 7283: RC.1 change log
draft rc1 change log
2019-02-28 20:33:19 +00:00
Reece Dunham 4cd6a3beb7 Fix CodeFactor brace style issues in FileSystemProvider (#8992) 2019-02-28 20:00:23 +05:00
Ilya d588a36880 Use List.AddRange (#9001) 2019-02-28 16:48:26 +05:00
Reece Dunham 21c249dac2 Remove archlinux dockerfile (#8990) 2019-02-27 14:53:55 -08:00
dependabot[bot] 5d1ca80b48 Build(deps): Bump Markdig.Signed from 0.15.7 to 0.16.0 (#8981) 2019-02-27 14:53:04 -08:00
Ilya 18f9a36f2a Pending NamedPipeConnectionInfo test (#9003)
Related #8971. Pending the test until we fix a root case of failure.
2019-02-27 14:51:36 -08:00
mjanko5 7e0411fcd9 Add test for -WhatIf for New-FileCatalog (#8966) 2019-02-27 10:53:08 +05:00
Ilya 11ae24fcad Cleanup dllimport (#8847) 2019-02-27 08:33:46 +05:00
Aditya Patwardhan 99829b6d9d Update release template (#8996) 2019-02-26 15:41:20 -08:00
Aditya Patwardhan fb05169a51 Build Global tool for PowerShell and SDK container (#8984)
* Add shim dll to redirect to appropriate runtime
* Build updates for creating global tool package
* Add building global tool to nuget.yml
* Add azure upload of nuget packages
2019-02-26 12:56:29 -08:00
Ilya 31699be223 Change label in doc issue template (#8895)
CL-* is used only for ChangeLog automation.
2019-02-26 12:35:18 -08:00
Travis Plunk dc8aed97dc Make test file result names unique (#8979)
Make test file result names unique
  - Also, remove dead code that I found during investigation

Fixes #8978

## PR Context

Making the filenames unique, ensures that we can download the results from the artifacts and do our own processing of the results.
2019-02-25 15:18:26 -08:00
Travis Plunk 54ee33d759 Add variable to control the version of the signing task we use (#8982) 2019-02-25 15:06:01 -08:00
Aditya Patwardhan 76e8091513 Publish test and code coverage artifacts for daily builds (#8955) 2019-02-25 13:03:06 -08:00