Commit Graph
10734 Commits
Author SHA1 Message Date
Travis Plunk 30b9b9ddbf Revert "Add windows signing for pwsh.exe (#24219) (#24306)" (#24408)
This reverts commit f0461bc00f.
2024-10-10 12:28:43 -07:00
04efcdc3f0 Bring preview.5 release fixes to release/v7.5 (#24379)
* added ks2 to release pipeline

* Merged PR 32752: Copy global tools to static site

Rather than an intermediate folder that must be manually copied into the static site.

----
#### AI description  (iteration 1)
#### PR Classification
Code modification to enhance functionality.

#### PR Summary
This pull request updates the release pipeline to copy global tools to a static site.
- Changes in `/.pipelines/templates/release-MakeBlobPublic.yml` to set `prefix` and `destinationPrefix` for blob copying.
- Adjusted destination container name to use `$web` and updated blob naming conventions.

* Merged PR 32759: Switch to single quotes for container name in global tool copy

#### AI description  (iteration 1)
#### PR Classification
Code cleanup

#### PR Summary
This pull request updates the container name string to use single quotes for consistency.
- Changes in `/.pipelines/templates/release-MakeBlobPublic.yml` to switch `$destinationContainerName` from double quotes to single quotes.

* Added condition for make blob public

* moved conditional from global tools to copy

* conditional as a paramter instead of var

* removed dependency

* blob folder name to release Tag

---------

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Patrick Meinecke <pmeinecke@microsoft.com>
2024-10-03 15:21:14 -07:00
Travis PlunkandPatrick Meinecke 34c679ec05 Add BaseUrl to buildinfo json file (#24376) (#24377)
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
2024-10-03 13:09:57 -07:00
113e15ef34 Fix found during 7.5-preview.5 release (#24368)
* Merged PR 32689: Fix typo in release-MakeBlobPublic.yml

Fix typo in release-MakeBlobPublic.yml

* Merged PR 32693: Add back local NuGet source for test packages

Add back local NuGet source for test packages

* Merged PR 32696: Fixed Test Scenario for Compress-PSResource

The test was failing because a relative path was provided to parameter -DestinationPath.
Should update Compress-PSResource to accept relative paths for -DestinationPath.

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix for a failing test scenario.

#### PR Summary
This pull request fixes the test scenario for the `Compress-PSResource` function.
- `Microsoft.PowerShell.PSResourceGet.Tests.ps1`: Updated the path resolution for `$PublishedNupkgs` using `Resolve-Path` and added a missing line break in the test for compressing a module.

* Merged PR 32709: Changelog for v7.5.0-preview.5

Added 7.5.0-preview.5 change log

----
#### AI description  (iteration 1)
#### PR Classification
Changelog update for the new preview release.

#### PR Summary
This pull request updates the changelog for the v7.5.0-preview.5 release, documenting breaking changes, engine updates, new features, and other improvements.
- `ConvertTo-Json`: Treat large Enum values as numbers.
- `Import-Module`: Fix processor architecture validation.
- `Resolve-Path` and `Convert-Path`: Add `-Force` parameter to support wildcard hidden files.
- `PSResourceGet` test: Fix cleanup.
- Various build and packaging improvements, including updates to dependencies and test scenarios.

* fixed readme lint error

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: Justin Chung <t-juchung@microsoft.com>
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2024-10-02 17:59:44 +00:00
Aditya Patwardhan 508825bb40 Fix cleanup in PSResourceGet test (#24339) (#24345) 2024-09-25 11:43:17 -07:00
Aditya Patwardhan ecf40d6f5f Copy to static site instead of making blob public (#24269) (#24343) 2024-09-25 11:12:11 -07:00
Aditya Patwardhan 20ad8f3fd7 Add -Force parameter to Resolve-Path and Convert-Path cmdlets to support wildcard hidden files (#20981) (#24344) 2024-09-25 11:02:35 -07:00
Aditya Patwardhan 5733a9c104 Update Microsoft.PowerShell.PSResourceGet to 1.1.0-preview2 (#24300) (#24337) 2024-09-24 09:19:11 -07:00
Aditya Patwardhan 91c96f3186 Add telemetry to track the use of features (#24247) (#24331) 2024-09-23 10:55:16 -07:00
Aditya Patwardhan 652c6b3b6d Remove the MD5 branch in the strong name signing token calculation (#24288) (#24321) 2024-09-20 14:56:38 -07:00
Aditya Patwardhan 8ff65501a4 Treat large Enum values as numbers in ConvertTo-Json (#20999) (#24304) 2024-09-20 14:55:44 -07:00
Aditya Patwardhan 4ac60c9548 Add updated libicu dependency for Debian packages (#24301) (#24324) 2024-09-20 14:55:20 -07:00
Aditya PatwardhanandAnam Navied 7d1ab31ce2 Add mapping to AzureLinux repo (#24290) (#24322)
Co-authored-by: Anam Navied <anam.naviyou@gmail.com>
2024-09-20 14:54:42 -07:00
Aditya Patwardhan fd4e71b1fa Update and add new NuGet package sources for different environments. (#24264) (#24316) 2024-09-20 14:48:06 -07:00
Aditya Patwardhan f484c607d2 Bump .NET 9 to 9.0.100-rc.1.24452.12 (#24273) (#24320) 2024-09-20 12:43:27 -07:00
Aditya Patwardhan 7742238959 Update experimental-feature json files (#24271) (#24319) 2024-09-20 12:43:08 -07:00
Aditya PatwardhanandTravis Plunk ca88d3c4a7 Make some release tests run in a hosted pools (#24270) (#24318)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2024-09-20 12:42:42 -07:00
Aditya Patwardhan 95850df6e9 Fix how processor architecture is validated in Import-Module (#24265) (#24317) 2024-09-20 12:42:16 -07:00
Aditya Patwardhan ea39b567a5 Do not build the exe for Global tool shim project (#24263) (#24315) 2024-09-20 12:40:59 -07:00
Aditya Patwardhan ec222e62b1 Delete demos directory (#24258) (#24314) 2024-09-20 12:40:38 -07:00
Aditya Patwardhan 1b895ef858 Delete assets/AppImageThirdPartyNotices.txt (#24256) (#24313) 2024-09-20 12:40:19 -07:00
Aditya Patwardhan a82b7972f2 Create new pipeline for compliance (#24252) (#24312) 2024-09-20 12:40:04 -07:00
Aditya PatwardhanandSteve Lee 099ed06fbf Make features PSCommandNotFoundSuggestion, PSCommandWithArgs, and PSModuleAutoLoadSkipOfflineFiles stable (#24246) (#24310)
Co-authored-by: Steve Lee <slee@microsoft.com>
2024-09-20 12:38:25 -07:00
Aditya PatwardhanandTravis Plunk fa6f09f59a Add specific path for issues in tsaconfig (#24244) (#24309)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2024-09-20 12:37:57 -07:00
Aditya Patwardhan 068f524bfc Use Managed Identity for APIScan authentication (#24243) (#24308) 2024-09-20 12:37:35 -07:00
Aditya Patwardhan a095a054b0 Handle global tool specially when prepending PSHome to PATH (#24228) (#24307) 2024-09-20 12:37:16 -07:00
Aditya Patwardhan f0461bc00f Add windows signing for pwsh.exe (#24219) (#24306) 2024-09-20 12:36:49 -07:00
Aditya Patwardhan 792945e637 Check Create and Submit in vPack build by default (#24181) (#24305) 2024-09-20 12:36:08 -07:00
Patrick Meinecke e00157e7aa Merged PR 32242: Update CHANGELOG for v7.5.0-preview.4 release
#### AI description  (iteration 1)
#### PR Classification
Documentation update for the v7.5.0-preview.4 release.

#### PR Summary
This pull request updates the changelog to document the changes and improvements introduced in the v7.5.0-preview.4 release.
- `CHANGELOG/preview.md`: Added entries for engine updates, general cmdlet updates, code cleanup, tools, tests, build and packaging improvements, and documentation updates.
v7.5.0-preview.4
2024-08-28 18:24:04 +00:00
Patrick Meinecke 6695ffb6a8 Merged PR 32255: Add PSRedirectToVariable to experimental features json file
#### AI description  (iteration 1)
#### PR Classification
New feature

#### PR Summary
This pull request adds a new experimental feature to the configuration files for both Linux and Windows platforms.
- `experimental-feature-linux.json`: Added `PSRedirectToVariable` to the list of experimental features.
- `experimental-feature-windows.json`: Added `PSRedirectToVariable` to the list of experimental features.
2024-08-21 19:30:56 +00:00
Patrick Meinecke 22285f5c42 Merged PR 32244: Fix Validate SDK step by removing unncessary nuget file modification
#### AI description  (iteration 1)
#### PR Classification
Bug fix to remove unnecessary NuGet file modification in the Validate SDK step.

#### PR Summary
This pull request removes redundant modifications to the NuGet configuration file in the release validation pipeline.
- `.pipelines/templates/release-validate-sdk.yml`: Commented out the code that modifies the NuGet configuration file to prevent unnecessary changes.
2024-08-21 18:22:22 +00:00
Patrick Meinecke 18a498b6cd Merged PR 32128: Update third party notices
#### AI description  (iteration 1)
#### PR Classification
Documentation update

#### PR Summary
This pull request updates the third-party notices to reflect changes in dependencies and their respective licenses.
- Updated `ThirdPartyNotices.txt` to reflect new versions and copyright holders for several dependencies.
- Removed detailed Apache License text for `Microsoft.Extensions.ObjectPool` and replaced it with a summary.
- Added new entries for `Microsoft.Extensions.ObjectPool 8.0.4` and updated versions for other dependencies like `Microsoft.Bcl.AsyncInterfaces`, `System.Security.AccessControl`, and various `Json` libraries.
2024-08-15 20:31:09 +00:00
Patrick Meinecke f69a4b542b Update cgmanifest (#24163) 2024-08-15 10:16:47 -07:00
Travis Plunk 5919a249a1 Fixes to Azure Public feed usage (#24149)
* Fix code PATs

* Fix feed PATs

* remove gallery commit

* update feed url

* Update to new variable groups

* Fix Variable name

* Fix credential template

* Disable Signing setup in prep stage

* Capture nuget source list

* lock down the firewall

* Add creds to feed switch to allow single switch location

* Use switch from build.psm1

* Use switch template instead of commands

* update to test feed

* disable codeql in jobs where we don't compile

* disable code sign validation for prep

* move capture steps to restore phase to see if it speeds things up

* remove duplicate capture of nuget config

* update test service

* Only build windows test service on windows

* warn when no config is generated

* try to fix test service

* fix web listener refs

* try removing dotnet tool

* update feedname with user info

* update package version that is not found

* try moving failing jobs to restore phase

* allow nuget inset in either phase

* update package ref

* use the right reporoot

* Move everything to restore

* Try adding build phase

* put nuget files in the right place

* move bootstrap into yaml

* remove onebranch agent items from macos build

* switch to environment variable

* bump a couple of packages

* fix formatting

* Fix static analysis issue

* update feed url to test restoring everything

* install the AzFeed cred provider

* fix binlog issues
2024-08-15 09:06:29 -07:00
alerickson 8c98b5cf60 Bump PSResourceGet to 1.1.0-preview1 (#24129) 2024-08-14 14:50:54 -07:00
Travis PlunkandDongbo Wang b409e5613a Add support for back porting PRs from GitHub or the Private Azure Repos (#20670)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>

---------

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2024-08-13 13:07:53 -07:00
Travis PlunkandJames Truher [MSFT] c11e4cf0d1 Move to 9.0.0-preview.6.24327.7 (#24133)
---------

Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com>
2024-08-13 10:18:39 -07:00
Travis Plunk 61fa143ede update path (#24134) 2024-08-12 12:25:11 -07:00
PowerShell Team Bot f3c6791046 Update to the latest NOTICES file (#24131) 2024-08-12 11:21:05 -07:00
Travis Plunk a90b03b428 Fix semver issue with updating cgmanifest (#24132) 2024-08-09 18:58:35 +00:00
dependabot[bot] 828c32709c Bump github/codeql-action from 3.25.15 to 3.26.0 (#24118) 2024-08-09 11:05:42 -07:00
dependabot[bot] 3bb830cc9b Bump actions/upload-artifact from 4.3.5 to 4.3.6 (#24119) 2024-08-09 11:05:36 -07:00
Travis Plunk 345707c2a1 Add ability to capture MSBuild Binary logs when restore fails (#24128)
* Capture binary logs

* Update .pipelines/PowerShell-Coordinated_Packages-Official.yml
2024-08-09 10:23:31 -07:00
Travis Plunk 8cc7f4c712 add ability to skip windows stage (#24116) 2024-08-08 14:08:39 -07:00
Snowman-25 9456685252 Change type of LineNumber to ulong in Select-String (#24075) 2024-08-08 08:53:19 +05:00
Travis Plunk a1774fd933 Update docs sample nuget.config (#24109) 2024-08-05 12:25:31 -07:00
dependabot[bot] 5ad1f1d2c8 Bump actions/upload-artifact from 4.3.4 to 4.3.5 (#24113) 2024-08-05 12:24:03 -07:00
Justin Chung 13e9aac36f Fix Invoke-RestMethod to allow -PassThru and -Outfile work together (#24086) 2024-08-05 12:23:47 -07:00
Dongbo Wang d173d8c2b5 Minor cleanup on local variable names within a method (#24105) 2024-08-05 11:41:07 -07:00
Travis Plunk 947a41b556 chore: Refactor Nuget package source creation to use New-NugetPackageSource function (#24104) 2024-08-02 12:56:52 -07:00