Commit graph

6925 commits

Author SHA1 Message Date
Reece Dunham c14d5dd67f Remove some of the last AppVeyor references (#8867)
This removes some of the last mentions of the AppVeyor name.  Don't change the title, we don't want the word to appear in the CLs
Also problem: the last references are in the changelogs but I don't want to modify them without committee approval.  

## PR Context  

it was removed, #8686
2019-02-19 12:44:00 -08:00
Aditya Patwardhan 950465492a
Update CHANGELOG for release 6.1.3 (#8918) 2019-02-19 11:30:03 -08:00
Travis Plunk 93f33bb0d3
Update stable version to 6.1.3 (#8902) 2019-02-19 11:07:46 -08:00
Travis Plunk af4e8117df
Support release branches based on the forward slash separator (#8903) 2019-02-19 10:47:39 -08:00
Travis Plunk 60ab54d737
Port DotNet fixes from 6.1.3 (#8914)
Addresses CVE-2019-0657
2019-02-19 10:45:40 -08:00
Travis Plunk df8a42bbf6 Fix broken link (#8905) 2019-02-17 16:02:30 +05:00
Travis Plunk a7f798575d
Parallelize the windows CI to enable us to run all tests all the time (#8868)
Split Windows CI into the following Jobs

1. Combine Build and xUnit, which published build artifact
1. Elevated CI tests
1. Unelevated CI test
1. Elevated everything else tests
1. Unelevated everything else tests
1. Package build and test
1. Verify xUnit result

## PR Context  

Before this test:

- A CI run would take ~14 minutes
- A Feature run would take ~30 minutes

After this change, it always runs all tests and takes ~20 minutes.
Job `Unelevated everything else tests` is the long poll, taking ~4 minutes longer than the next shortest job.  We should be able to get this back down to ~15 if we split that test job somehow.
2019-02-14 16:33:19 -08:00
Travis Plunk 2834b576ab
Fixes for Scheduled release build (#8887) 2019-02-13 19:13:54 -08:00
dependabot[bot] a25129c392 Build(deps): Bump NJsonSchema from 9.13.17 to 9.13.18 (#8881) 2019-02-13 10:10:44 -08:00
Ilya ff3edaa2e3
Fix lgtm issues (#8843)
Add some null checks
Remove unused code
2019-02-13 16:51:05 +05:00
Travis Plunk 68f0ae5d4e
Start tracking release build information in an azure storage table (#8850)
Start tracking release build information in an azure storage table

* Also, fix some issues found when the build is started through a schedule
2019-02-12 09:24:11 -08:00
Ilya ee3a8c14c8 Update Coding Guidlines (#8844) 2019-02-11 10:41:00 -08:00
Reece Dunham 6cab2b474d Remove yet another appveyor reference (#8854) 2019-02-11 10:28:41 -08:00
Travis Plunk 8cf9e056f2
Remove references to uninitialized variable (#8849)
Remove references to uninitialized variable 
regressed in #8822 	

## PR Context  

Some artifacts never got published because the conditions would never be true
2019-02-08 16:52:20 -08:00
Reece Dunham cb4b818d55 Refactor travis.ps1 into ci.psm1 (#8822)
Refactors `travis.ps1`. Important for maintainers: I removed the webhook and badge stuff as neither exist anymore. I also merged the build and test phase with the bootstrap phase.
2019-02-08 14:37:36 -08:00
Travis Plunk 51ff0e3e5e
Make license a link in the MSI (#8846) 2019-02-08 14:02:27 -08:00
Reece Dunham 3ab7e2ec4d Remove extra AppVeyor environment check (#8709)
Removes a check for AppVeyor env

## PR Context  
AppVeyor removed (#8686  extension)
2019-02-08 10:57:41 -08:00
Reece Dunham 26da240267 Update governance documentation (#8776) 2019-02-08 10:56:30 -08:00
Tom Hvitved 5f59a9dfef Fix length check in PSSnapinQualifiedName.GetInstance() (#8837) 2019-02-08 23:50:19 +05:00
dependabot[bot] 98c360205f Build(deps): Bump Microsoft.ApplicationInsights from 2.9.0 to 2.9.1 (#8848)
Bumps [Microsoft.ApplicationInsights](https://github.com/Microsoft/ApplicationInsights-dotnet) from 2.9.0 to 2.9.1.
2019-02-08 10:22:11 -08:00
Steve Lee 5ece96a37f Don't use Win32 native APIs on non-Windows for crypto of secure string over remoting (#8746)
Remoting relies on Windows native crypto APIs to pass a secure string.  Of course these APIs don't work on non-Windows.  However, the remoting code does not expect this to fail so ends up in a hang waiting for an event that never happens.

Have not figured out how to return an error to the user in the case `Get-Credential` is called within a PSSession.  Currently it just quietly closes the remote connection.  @PaulHigin can you give a pointer to where this code would exist?  Debugging the current code, it has a bunch of error handlers which just result in the pssession being closed and not sure where throwing is appropriate.

Fix https://github.com/PowerShell/PowerShell/issues/8723

## PR Context  

Fix is to provide implementations of the Win32 native pinvoke apis that throw an exception.  The reason to do it this way is that there's a bunch of code that calls some of the APIs of the wrapper .Net class to setup structures that eventually get passed to the win32 api.  Throwing in the managed class causes other things to fail early that should work on non-Windows.
2019-02-07 15:36:13 -08:00
Steve Lee 26a58670c1 Enable creating relative symlinks on Windows with New-Item (#8783) 2019-02-07 11:44:23 -08:00
Bruce Payette 6bc6257a55 Allow .exe files to be used as IL binary modules (#7281)
Fix for #6741 Allow .exe files to be used as binary modules. Basically anywhere a .dll could be used with modules, you can now use a .exe file. Also did a little clean up, replacing constant strings with the StringLiteral values instead.
2019-02-07 11:24:06 -08:00
Staffan Gustafsson ec88045fee Reduce string allocations when formatting file system objects. (#8831)
* Reduce string allocations when formatting file system objects by caching FullName.
* Clear cache FullName when the module changes.
2019-02-07 09:23:26 +05:00
Steve Lee d9be6483f6 Move CommandNotFoundException suggestion to an experimental feature (#8805) 2019-02-06 13:59:14 -08:00
Steve Lee 53ad39772c Use -ErrorAction Ignore instead of SilentlyContinue with Get-Command in build.psm1 (#8832) 2019-02-06 12:00:57 -08:00
Aditya Patwardhan 6b23be6323 Add Experimental Features to change log creation (#8827)
Added feature to classify experimental features in change log. Also fixed an issue with reporting all PRs with missing tags together.

## PR Context
Updates to the script which generates the change log.
2019-02-05 17:25:23 -08:00
Travis Plunk fed0ef0a20
Add binskim to coordinated build and increase timout (#8834)
Add binskim to coordinated build and increase timout 

## PR Context  

Total timeout for the old build was 220 minutes.
The portions before the compliance take ~30 minutes.
So, I went with 180.

I also found I missed binskim when doing this work
2019-02-05 15:58:43 -08:00
Travis Plunk ec3bd62782
Remove unneeded Invoke-Expression on unvalidated input (#8826)
Remove unneeded `Invoke-Expression` on unvalidated input
2019-02-05 10:48:34 -08:00
Reece Dunham 0606c27cb0 Fix many instances of CodeFactor style issue A single-line comment must not be followed by a blank line (#8825) 2019-02-05 09:47:19 -08:00
Reece Dunham bff73a3975 Fix broken python method (#8821) 2019-02-05 08:06:08 +05:00
Aditya Patwardhan ec12f373ec Fix daily CI builds to publish tar package as artifacts (#8775)
Update the packaging script to always create the tar.gz packages.

## PR Context  

Daily builds for Linux and MacOS do not publish tar.gz package.
2019-02-04 14:53:25 -08:00
Joel Sallow (/u/ta11ow) 130298bfae Parse numeric strings as numbers again during conversions (#8681) 2019-02-04 12:22:05 -08:00
Stéphane BARIZIEN d032cb2c87 Expose file attributes of OneDrive placeholders (#8745) 2019-02-04 12:11:46 -08:00
Reece Dunham 6e913c4318 Update CLA pull request labeling info (#8820) 2019-02-04 11:52:47 -08:00
Travis Plunk 6b447423a0
Add instrumentation for Start-PSPackage (#8811)
Add instrumentation for start-PSPackage saying what parameters it thinks you used
2019-02-04 11:48:48 -08:00
David Coulter fce6a97b78 Changing docs issue template to new docs repo location (#8818)
Updating the issue template for documentation to show the new location of PowerShell-Docs on the MicrosoftDocs repo.

## PR Context  

Cleaning up references post migration of docs to MicrosoftDocs repo. While the redirect works, showing the correct location is preferred in the long run.
2019-02-03 14:31:35 -08:00
Aditya Patwardhan 22119a8afa Fix passing credential to the SyncGalleryToAzArtifacts.psm1 script (#8808)
Fix the parameter names and AzDevOps pipeline variable names.

## PR Context  

Variable names were out of sync with the definition on AzDevOps.
2019-02-02 13:55:54 -08:00
Travis Plunk 003a141f31
Remove directory causing static analysis failure (#8812)
Remove directory causing static analysis failure
2019-02-01 18:03:12 -08:00
Aditya Patwardhan 3fbf488668 Fix spelling in releaseTool/README.md (#8810) 2019-02-01 14:53:57 -08:00
dependabot[bot] 249c78eefc Build(deps): Bump Microsoft.ApplicationInsights from 2.8.1 to 2.9.0 (#8807) 2019-02-01 12:36:43 -08:00
Travis Plunk 32561022ca
Move Final artifacts from universal build to finalResults folder (#8806)
## PR Summary

Move Final artifacts from universal build to `finalResults` folder
2019-02-01 10:59:01 -08:00
dependabot[bot] f06ebb692a Build(deps): Bump PackageManagement from 1.2.4 to 1.3.1 in /src/Modules (#8800)
Updated the wxs file.
2019-01-31 16:57:50 -08:00
Travis Plunk e96b0bf85b
Refactor Unified Release Build (#8804)
Refactor Unified Release Build
  - Make injecting the nuget.config a template
  - Make setting the version variable a template
  - Add parameters to templates where needed
  - Run defender scan before uploading linux packages (and rename step to plain english)
2019-01-31 15:10:19 -08:00
Steve Lee 313c8c06a1 Enable Write-Information to accept $null (#8774) 2019-01-31 13:16:34 -08:00
Ilya 5c8a5f355e Update GitHub templates (#8792)
Update GitHub templates.
Fill free add commits if needed.
2019-01-31 12:42:22 -08:00
Travis Plunk 079926298a Fix broken link in FAQs.md (#8803) 2019-01-31 11:44:59 -08:00
James Truher [MSFT] bbcedd2590 Update Pester version to 4.4.4 (#8739) 2019-01-31 11:41:26 -08:00
Reece Dunham 9e4e50a84e Remove appveyor functions from New-DockerTestBuild.psm1 (#8756) 2019-01-31 11:15:31 -08:00
Joshua T c935bce1ac Adding parameter "ReplyTo" to Send-MailMessage (#8727) 2019-01-30 16:33:15 -08:00