Commit graph

7012 commits

Author SHA1 Message Date
pougetat
a79ed1ef0f Make New-ModuleManifest consistent with Update-ModuleManifest (#9104) 2019-03-13 12:01:42 -07:00
Joel Sallow (/u/ta11ow)
18d5037ad2 Fix -NoEnumerate behaviour in Write-Output (#9069)
Fix is to preserve input collection type in output.
The regression was caused by #2038
2019-03-13 13:54:12 +05:00
Ilya
e75bd1482f
Add support empty NoteProperty in Group-Object (#9109) 2019-03-13 11:22:05 +05:00
Staffan Gustafsson
9983297254 Removing Hardlink from Mode property in default file system format (#8789) 2019-03-12 15:49:16 -07:00
Reece Dunham
1e49d09d29 Remove appveyor references from packaging tools (#9117)
Removes appveyor stuff


## PR Context

<!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. -->
#8686 , appveyor removed
2019-03-12 12:13:55 -07:00
Ilya
56ab168a6a Update link to Contributing guide to new PowerShell-Doc repo (#9090) 2019-03-12 11:54:49 -07:00
Bram Crielaard
b115dff0eb Remove AppImage from tools (#9100) 2019-03-11 16:19:05 -07:00
Yash Raj Bharti
ed408008d2 README.md (#9045)
Added punctuations wherever necessary.
2019-03-11 15:20:36 -07:00
Reece Dunham
d63ac8934d Fixed Dockerfile syntax highlighting (#8991)
The `f` in Dockerfile is not uppercase, this breaks syntax highlighting for vscode on my client
<!-- Summarize your PR between here and the checklist. -->

## PR Context
`DockerFile` breaks syntax highlighting as mentioned and described above.
<!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. -->
2019-03-11 15:16:12 -07:00
Aditya Patwardhan
ab1d47712b Fix dependencies of nuget build to wait on DEB uploads to finish (#9118)
The NuGet build task should wait on uploads for DEB job to complete.

## PR Context

There is a race condition when the build for DEB is completed but the upload has not. If the NuGet build job starts it may not get all the packages needed for building nuget packages.
2019-03-11 15:02:29 -07:00
James Truher [MSFT]
e605fbdea7 Fix tab completion test to handle multiple matches (#8891) 2019-03-11 14:51:22 -07:00
Reece Dunham
6cdfc44184 Delete Docker manifest creation script (#9076) 2019-03-11 14:38:38 -07:00
dependabot[bot]
c8fde775db Build(deps): Bump PowerShellGet from 2.0.4 to 2.1.0 in /src/Modules (#9110) 2019-03-11 14:36:20 -07:00
Travis Plunk
058a19028d
Refactor macOS CI so that tests run in parallel (#9056)
Refactor macOS CI so that tests run in parallel 
  - Also:
    - Fix bootstrap issue where curl was failing for a month (so obviously not needed)
    - Change Windows test stages to use PowerShell Core (where we can) to avoid compat issues

## PR Context

This allows running all tests in about the same about of clock time.
2019-03-11 13:00:22 -07:00
Staffan Gustafsson
0ebbdc1cc4 Fixing issue with help progress with Get-Help not calling Completed (#8788) 2019-03-11 11:26:01 -07:00
Tyler James Leonhardt
a26d639a47 Fix Enter-PSHostProcess tests flakiness (#9007) 2019-03-11 10:41:06 -07:00
Staffan Gustafsson
6c049d0cb3 Using supported syntax for restoring warnings - VS2019 complains about enable. (#9107) 2019-03-11 14:42:41 +05:00
pougetat
e3829cb60f Allow Test-ModuleManifest to work when RootModule has no file extension (#8687) 2019-03-10 14:57:19 -07:00
Ilya
ba60904350 Get MethodInfo from .NET public type with explicit parameter types (#9029) 2019-03-09 19:05:10 -08:00
Ilya
34394116ff Add retry logic to the operation that updates 'powershell.config.json' (#8779) 2019-03-09 17:57:51 -08:00
Ilya
759c4abde8 Use Type.EmptyTypes and Array.Empty<T>() to replace our custom code of the same functionality (#9042) 2019-03-09 17:53:31 -08:00
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 Crielaard
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
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