Commit Graph
100 Commits
Author SHA1 Message Date
Aditya Patwardhan 428784f52e Some dependencies for Alpine need linux-x64 folder (#10407) 2019-08-21 14:30:56 -07:00
Aditya Patwardhan 07e64f3a7f Update README.md and metadata.json for 7.0.0-preview.3 (#10393) 2019-08-20 16:08:42 -07:00
Aditya Patwardhan 7de4c19d03 Merged PR 9744: Update changelog for preview.3 release
Update changelog for preview.3 release
2019-08-20 21:57:39 +00:00
Aditya Patwardhan b916229d89 Update Microsoft.Management.Infrastructure version to 2.0.0-preview.2 (#10366) 2019-08-15 13:44:35 -07:00
Aditya Patwardhan b768d87081 Update release date for v7.0.0-preview.2 (#10176) 2019-07-18 16:04:29 -07:00
Aditya Patwardhan 6a73cc5bb4 Update docs for 7.0.0-preview.2 release (#10160) 2019-07-17 14:19:13 -07:00
Aditya Patwardhan 78360d9067 Merged PR 9166: Update changelog for v7.0.0-preview.2
Update changelog for v7.0.0-preview.2

Updates are expected when STA / MTA change comes in.
2019-07-17 20:14:04 +00:00
Aditya Patwardhan 119bffbc05 Update README.md and metadata.json for next releases (#10087) 2019-07-16 11:36:39 -07:00
Aditya Patwardhan 7dfcff9287 Merged PR 9168: Disable Enter-PSHostProcess cmdlet when system in lock down mode
This is based on an issue, where Enter-PSHostProcess on a locked down (WDAC enforced) machine allows any admin to connect to any another local hosted PowerShell process and execute commands as that user. This amounts to privilege escalation on the policy locked down machine and something we want to prevent.

Fix is to check for system lock down and disable Enter-PSHostProcess cmdlet with an error message.
2019-07-16 00:49:24 +00:00
Aditya Patwardhan aeb8f37822 Merged PR 9185: Update PowerShell SDK version for hosting tests
Update PowerShell SDK version for hosting tests
2019-07-16 00:37:27 +00:00
Aditya Patwardhan 540737ebe1 Split the fxdependent package on Windows into two packages (#10134) 2019-07-12 17:18:11 -07:00
Aditya Patwardhan ea4895c849 Mark Set-Service tests with password as Pending (#10146) 2019-07-12 16:50:58 -07:00
Aditya Patwardhan 7150308de6 Revert "Bump System.Security.Principal.Windows (#10101)" (#10133)
This reverts commit f75c635ce4.
2019-07-11 18:10:16 -07:00
Aditya Patwardhan 2fcfab491e Revert "Bump System.Configuration.ConfigurationManager (#10111)" (#10128)
This reverts commit c8fe894bcd.
2019-07-11 17:57:31 -07:00
Aditya Patwardhan b6f4d79ef8 Revert "Bump System.Security.AccessControl (#10102)" (#10132)
This reverts commit 729a29ab15.
2019-07-11 17:45:22 -07:00
Aditya Patwardhan 682591bc04 Revert "Bump System.Text.Encoding.CodePages (#10112)" (#10131)
This reverts commit 958cdda18a.
2019-07-11 17:36:06 -07:00
Aditya Patwardhan 84f50e742d Revert "Bump System.Security.Cryptography.Pkcs (#10107)" (#10130)
This reverts commit d33c906e58.
2019-07-11 17:35:11 -07:00
Aditya Patwardhan 28fedded00 Revert "Bump System.Management (#10110)" (#10129)
This reverts commit e5990ed8ba.
2019-07-11 17:34:37 -07:00
Aditya Patwardhan 174eca5ce2 Revert "Bump System.Threading.AccessControl (#10106)" (#10127)
This reverts commit a7f0c6d2c4.
2019-07-11 17:32:08 -07:00
Aditya Patwardhan 700ee588b8 Revert "Bump System.Data.SqlClient (#10109)" (#10126)
This reverts commit 83d8ec42bb.
2019-07-11 17:30:45 -07:00
Aditya Patwardhan 302d4aa0b9 Revert "Bump System.IO.Packaging (#10108)" (#10125)
This reverts commit 45edbd7ee3.
2019-07-11 17:30:07 -07:00
Aditya Patwardhan 142f5dcad5 Update copyright symbol for NuGet packages (#9936) 2019-06-27 17:27:19 -07:00
Aditya Patwardhan 8b121f5a97 Update README and metadata.json for 7.0.0-preview.1 release (#9767) 2019-05-30 15:24:45 -07:00
Aditya Patwardhan 76e632402e Merged PR 8547: Fix the PowerShell version number in MSI packages
Fix the PowerShell version number in MSI packages
2019-05-29 22:37:18 +00:00
Aditya Patwardhan 87e6e74ca9 Change log 6.1.4 (#9759)
* Update change log for 6.1.4

Update change log for 6.1.4

* Resolve conflicts
2019-05-29 10:55:01 -07:00
Aditya Patwardhan 8a981f404a Change log for release 6.2.1 (#9760)
Changelog for 6.2.1 and fix spellings
2019-05-29 10:54:36 -07:00
Aditya Patwardhan 8ea15c9f13 Merged PR 8529: Add cleanup before building test package
Add cleanup before building test package
2019-05-29 00:31:14 +00:00
Aditya Patwardhan c2ba87d845 Update the target framework for reference assemblies to netcoreapp3.0 (#9747)
Update the target framework for reference assemblies to netcoreapp3.0
2019-05-28 15:09:48 -07:00
Aditya Patwardhan ead353e5e4 Pin version of netDumbster to 2.0.0.4 (#9748) 2019-05-28 14:40:03 -07:00
Aditya Patwardhan ed1b991b6f Merged PR 8512: Update version for SDK tests and Microsoft.PowerShell.Native package
Update version for SDK tests and Microsoft.PowerShell.Native package
2019-05-24 20:17:45 +00:00
Aditya Patwardhan ab7168f62e Merged PR 8510: Update the target framework for reference assemblies to netcoreapp3.0
Update the target framework for reference assemblies to netcoreapp3.0
2019-05-24 20:17:31 +00:00
Aditya Patwardhan a1addf8882 Merged PR 8504: Fix syncing modules from powershell gallery by normalizing version numbers
Fix syncing modules from powershell gallery by normalizing version numbers and added additional logging.
2019-05-24 00:07:09 +00:00
Aditya Patwardhan 82478d23e5 Update README and metadata.json (#9624) 2019-05-21 11:16:54 -07:00
Aditya Patwardhan ade85b4faa Multiple test fixes and improved logging for fragile tests (#9569) 2019-05-10 10:56:12 -07:00
Aditya Patwardhan 48acc6e45d Update CODEOWNERS file to reduce noise (#9547) 2019-05-07 08:46:56 -07:00
Aditya Patwardhan 2737e74d86 Fix null reference when Microsoft.PowerShell.Utility is loaded as a snapin in hosting scenarios (#9404) 2019-05-03 15:16:41 -07:00
Aditya Patwardhan 7de4210760 Update Release_Process.md
Add item for global tool
2019-04-26 16:28:09 -07:00
Aditya Patwardhan 9f429f0206 Build test packages for windows, linux-x64, linux-arm, linux-arm64 and macOS (#9476) 2019-04-26 15:41:07 -07:00
Aditya Patwardhan f286c8ce63 Remove elements which do not work on earlier version on Windows PowerShell (#9411) 2019-04-18 16:56:53 -07:00
Aditya Patwardhan 99c3fd1757 Convert custom attribute ValidatePathNotInSettings to function (#9406) 2019-04-18 12:49:42 -07:00
Aditya Patwardhan 3ffd998c58 Create codecoverage and test packages for non-windows (#9373)
Refactor the `ci.psm1` to publish the code coverage and test packages.
Allow `CodeCoverage` configuration on non-windows.

## PR Context

We plan to run code coverage on Windows, Linux and macOS. These changes are needed to unblock those runs.
2019-04-16 15:13:30 -07:00
Aditya Patwardhan 02974a986d Create test package for macOS on release builds (#9344) 2019-04-13 19:01:28 -07:00
Aditya Patwardhan 0418246682 Make CodeCoverage configuration build portable PDBs (#9346) 2019-04-13 19:00:30 -07:00
Aditya Patwardhan be505772e2 Add AcessToken variable to jobs that perform signing (#9351) 2019-04-13 18:59:51 -07:00
Aditya Patwardhan 074b344133 Remove duplicate Policheck task and pin to specific version (#9297) 2019-04-04 16:14:57 -07:00
Aditya Patwardhan 4bd41e836c Publish windows daily build to MyGet (#9288) 2019-04-03 13:22:51 -07:00
Aditya Patwardhan 28ec8ac831 Fix build order in windows-daily build (#9275)
The windows-daily build had a bug which caused the packaging builds to be kicked off before tests. This PR fixes the build order.

## PR Context

Fix for failing daily build.
2019-04-02 14:25:36 -07:00
Aditya Patwardhan 4b5fe2e72b Fix variable name in windows-daily.yml (#9274) 2019-04-02 12:45:01 -07:00
Aditya Patwardhan 10fa1fc1dd Move artifacts to artifact staging directory before uploading (#9273) 2019-04-02 11:56:48 -07:00
Aditya Patwardhan 34fa5e472d Fix publishing daily nupkg to MyGet (#9269) 2019-04-01 16:58:43 -07:00
Aditya Patwardhan 8beacd1f7f Update ChangeLog for 6.2.0 (#9245)
Update the change log for 6.2.0 in master
2019-03-28 13:54:55 -07:00
Aditya Patwardhan df513bf7d8 Update docs for v6.2.0 (#9229) 2019-03-28 12:02:14 -07:00
Aditya Patwardhan 8763c0b1d1 Performance improvements for release build (#9179)
This PR optimizes the download tasks to reduce build times. After the change we see a order of magnitude reduction in download times for Windows package signing and also the compliance tasks.

In addition to that the PR also makes changes to organize the build artifacts in folders.
2019-03-21 10:24:49 -07:00
Aditya Patwardhan 337ce63734 Use IL assemblies for NuGet packages to reduce size (#9171) 2019-03-21 10:03:46 -07:00
Aditya Patwardhan 95a8091991 Add tsaVersion property as TsaV1 for compliance build phase (#9176)
Add the tsaVersion property with values as TsaV1 as it defaults to v2 instead. We explicitly need v1.
2019-03-20 14:01:39 -07:00
Aditya Patwardhan 753d31809b Publish global tool packages to pwshtool blob and bug fixes (#9163) 2019-03-20 13:44:40 -07:00
Aditya Patwardhan 0fe9af4856 Fix Restart-Computer to work on localhost when WinRM is not present (#9160) 2019-03-19 14:18:29 -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
Aditya Patwardhan 0752a5502a Add source for install-package to install netDumbster (#9081) 2019-03-06 16:21:03 -08:00
Aditya Patwardhan 7caf59be3e Publish test package on release builds (#9063) 2019-03-06 10:00:35 -08:00
Aditya Patwardhan 861b6c8a5f Update docs for 6.2.0-rc.1 release (#9022) 2019-03-05 11:26:17 -08:00
Aditya Patwardhan 7062297e4e Update version for PowerShell.Native and hosting tests (#8983) 2019-03-04 11:08:19 -08:00
Aditya Patwardhan c22669a236 Update UML to represent SDK and Global tool builds (#8997) 2019-03-01 13:07:25 -08: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
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
Aditya Patwardhan 76e8091513 Publish test and code coverage artifacts for daily builds (#8955) 2019-02-25 13:03:06 -08:00
Aditya Patwardhan 81d37fcb84 Integrate building NuGet package in the coordinated build (#8947) 2019-02-25 09:57:20 -08:00
Aditya Patwardhan 950465492a Update CHANGELOG for release 6.1.3 (#8918) 2019-02-19 11:30:03 -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
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
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
Aditya Patwardhan 3fbf488668 Fix spelling in releaseTool/README.md (#8810) 2019-02-01 14:53:57 -08:00
Aditya Patwardhan 53c76d1658 Update the universal build with framework dependent package for dotnet sdk (#8773)
Update the universal build to also build the framework package needed for the dotnet sdk container image.

## PR Context  

We build the package in individual builds. This change brings over the steps in the universal build.
2019-01-29 10:59:30 -08:00
Aditya Patwardhan 6ccbebda27 Improve check for developer mode by checking minimum required build number (#8749)
* Improve check for developer mode by checking minimum required build number

The test would fail if the developer mode is enabled but the machine has an older build than the minimum required build.
The change adds a check for the build version in the test.

* Update test/powershell/Modules/Microsoft.PowerShell.Management/New-Item.Tests.ps1
2019-01-25 13:14:29 -08:00
Aditya Patwardhan ea0b4de90a Merged PR 6442: Moved the cleanup logic to Restore-PSModuleToBuild
Moved the cleanup logic to Restore-PSModuleToBuild

# Conflicts:
#	build.psm1
2019-01-23 12:27:44 -08:00
Aditya Patwardhan 9e8f5bde33 Merged PR 6644: Update hosting tests and metadata.json for 6.2.0-preview.4 release
Update hosting tests and metadata.json for 6.2.0-preview.4 release
2019-01-22 21:43:47 +00:00
Aditya Patwardhan cf013dd072 Fix the build for fxdependent build for dotnet sdk (#8670) 2019-01-22 11:25:25 -08:00
Aditya Patwardhan 52546f57f2 Change the feed URL to feed name due to changes in AzDevOps (#8664) 2019-01-16 17:47:03 -08:00
Aditya Patwardhan f03cafbdd8 Build package build using ubuntu 18.04 image (#8666) 2019-01-16 15:10:39 -08:00
Aditya Patwardhan be4b82c730 Add function to create a framework dependent package dotnet-sdk containers (#8644) 2019-01-15 16:28:52 -08:00
Aditya Patwardhan 158bd4ea7b Update License and Third Party Notice (#8646)
* remove MS proprietary licenses from TPN

* Use standard MIT license

* Update generate TPN

* remove additional MS proprietary license

* Additional fixes
2019-01-15 13:40:00 -08:00
Aditya Patwardhan 94e37f673f Update README, metadata.json and changelog for release 6.1.2 (#8658)
Update README and metadata.json for release 6.1.2
2019-01-15 13:39:13 -08:00
Aditya Patwardhan 551ed10b36 Fix EnvironmentVariable test and add missing null check in CommandHelpProvider (#8408)
* Disable NewItemUnauthorizedAccessError tests.
* Added expected value for $env:HOMEPATH for user with temporary profile.
* Added a missing null check in CommandHelpProvider.cs
2018-12-11 14:20:22 -08:00
Aditya Patwardhan ee5fc080e2 Remove dotnet dependency to start WebListener (#8390)
WebListener.exe (which was already being built) is sufficient to start web listener. Remove the dependency on `dotnet` being present to start the web listener.

Use `Start-Process` instead of `Start-Job` to launch the WebListener.
2018-12-11 14:15:32 -08:00
Aditya Patwardhan 93de4832b2 Merged PR 6225: Change log for 6.2.0-preview.3 release 2018-12-11 00:19:49 +00:00
Aditya Patwardhan 3bbfd5aa80 Address Joey's feedback 2018-12-10 16:07:36 -08:00
Aditya Patwardhan 09a2230eab Fix spellings 2018-12-10 11:27:18 -08:00
Aditya Patwardhan d4fe7ab86b Address Dongbo's comments 2018-12-10 11:11:47 -08:00
Aditya Patwardhan 2dcc2261a7 Added missing codeblocks 2018-12-10 11:08:37 -08:00
Aditya Patwardhan b34d9a2eda Address Steve's comments 2018-12-10 10:50:45 -08:00
Aditya Patwardhan 158e6e4ba0 Intial draft of changelog 2018-12-07 17:46:03 -08:00
Aditya Patwardhan 1d32d05157 Merged PR 6201: Update docs and csproj version
Update docs and csproj version
2018-12-07 18:24:07 +00:00
Aditya Patwardhan ddd69c845a Update the timeout of CI builds (#8398) 2018-12-04 16:57:29 -08:00
Aditya Patwardhan 13cf8af667 Remove dependabot attribution and generate changelog sections using CL-* labels (#8386)
* Remove dependabot attribution from change log.
* Create sections in generated change log using the `CL-*` labels.
2018-12-03 14:34:29 -08:00
Aditya Patwardhan a62eb62701 Remove all reference to AppVeyor and Travis CI from docs (#8376) 2018-12-03 10:14:11 -08:00
Aditya Patwardhan 3794a5e39f Created a csproj to pin test modules and updated build.psm1 accordingly (#8350) 2018-11-30 11:49:38 -08:00
Aditya Patwardhan 13e2559392 Fix Get-Help for advanced functions with MAML help content (#8353) 2018-11-30 09:49:32 -08:00