Commit Graph
10902 Commits
Author SHA1 Message Date
Bob D c3fbd2c293 Allow DSC parsing through OS architecture translation layers (#24852) 2025-02-24 13:50:42 -08:00
Travis Plunk 462585a66b Make sure the vPack pipeline does not produce an empty package (#24988) 2025-02-24 10:30:40 -08:00
Justin Chung c6594c2ecc Update metadata.json for the v7.6.0-preview.3 release (#25012) 2025-02-21 12:33:07 -08:00
Justin ChungandJustin Chung e302fb42ab Add 7.6.0-preview.3 changelog (#25001)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
v7.6.0-preview.3
2025-02-21 13:06:27 -06:00
MartinGC94 f47b14e7ff Improve the type inference for binary expressions (#25030) 2025-02-20 10:39:29 +05:00
Dongbo Wang 1b03005d1a Never load a module targeting the PSReadLine module's SessionState (#24909) 2025-02-18 10:18:30 -08:00
Dongbo Wang 4d174fcbb7 Filter out the nested modules of PSReadLine from module name tab completion (#24910) 2025-02-18 10:13:35 -08:00
Aditya Patwardhan d62ff8a211 Fix the expected path of .NET after using UseDotnet 2 task to install (#25020) 2025-02-18 11:13:38 -06:00
MartinGC94 b565679961 Fix completion of variables with an attribute in the assignment (#25016) 2025-02-18 09:57:58 +00:00
MartinGC94 fd85f6c35a Use types from both sides of the pipeline chain for the type inference (#25031) 2025-02-18 05:44:28 +00:00
Armaan Mcleod d95d96ac85 Add experimental feature completion single/double quote support for -Name parameter (#25014) 2025-02-15 23:14:32 +05:00
PowerShell Team BotandTravis Plunk 848dccf63d Update security extensions (#25021)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-02-15 00:42:28 +00:00
Aditya Patwardhan bc75960130 Add default .NET install path for SDK validation (#25017) 2025-02-14 12:21:41 -06:00
Justin ChungandJustin Chung df248bd782 Update Third Party Notices (#25006)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2025-02-13 14:10:07 -08:00
crazyjncsu 14fb6f2618 Fix PSMethodInvocationConstraints.GetHashCode method (#24965)
There is a difference between GetHashCode for array object itself and cumulative GetHashCode based on hashes of the array members.
2025-02-13 09:31:05 +05:00
PowerShell Team BotandTravis Plunk 6d6515b7e4 Update branch for release - Transitive - false - none (#24995)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-02-12 12:21:42 -06:00
Travis Plunk 4c291d1f1d Add setup dotnet action to the build composite action (#24996) 2025-02-11 15:25:45 -08:00
Aditya Patwardhan 6b374e558d Update CODEOWNERS (#24989) 2025-02-11 21:04:40 +00:00
Travis Plunk cdbee91042 Give the pipeline runs meaningful names (#24987) 2025-02-11 11:48:56 -08:00
Steven Bucher bbb0a0858d Add the label In-PR to not close issues (#24883) 2025-02-11 11:00:00 -08:00
Armaan Mcleod 0f7ba437eb Add completion single/double quote support for -Noun parameter (#24977) 2025-02-11 14:20:19 +05:00
MartinGC94 9941e38c19 Remove trailing space from event source name (#24192) 2025-02-11 09:24:36 +05:00
7a582dc510 Fix V-Pack download package name (#24866)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-02-10 12:08:36 -06:00
Matěj Kafka 9071eac574 Stringify ErrorRecord with empty exception message to empty string (#24949) 2025-02-10 11:43:10 +05:00
xtqqczze 57bdd9c686 Fix RunspacePool, RunspacePoolInternal and RemoteRunspacePoolInternal IDisposable implementation (#24720) 2025-02-10 10:34:41 +05:00
Armaan Mcleod b385e5406c Add completion single/double quote support for -PSEdition parameter (#24971) 2025-02-08 18:29:15 +05:00
xtqqczze f22ad2e384 Set LangVersion compiler option to 13.0 in Test.Common.props (#24621) 2025-02-08 07:24:31 +00:00
Kris Borowinski 8854c00ec2 Fix New-Item -Force to error on invalid directory name (#24936) 2025-02-07 22:32:23 +05:00
Kris Borowinski 0beb24e10f Fix Start-Transcript error when $Transcript is a PSObject wrapped string (#24963) 2025-02-07 22:23:05 +05:00
xtqqczze 1790f3a3e9 Remove redundant Attribute suffix (#24940) 2025-02-07 22:18:29 +05:00
Travis Plunk 8f1d1115f2 Fix release branch filters (#24933) 2025-02-04 14:22:11 -08:00
Sean Wheeler f84c777b72 Fix formatting of the XML comment for SteppablePipeline.Clean() (#24941) 2025-02-04 09:37:22 -08:00
Flavien MICHALECZEK 141da816ab Use Environment.ProcessId in SpecialVariables.PID (#24926) 2025-02-04 17:07:01 +05:00
Travis Plunk 268c7f9a37 Fix GitHub Action filter overmatching (#24929) 2025-02-03 15:34:29 -08:00
Aditya PatwardhanandTravis Plunk 0cf23a841a Add UseDotnet task for installing dotnet (#24905)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-02-03 14:37:32 -08:00
Travis Plunk 174df290e5 Convert powershell/PowerShell-CI-macos to GitHub Actions (#24914) 2025-02-03 12:28:26 -08:00
Armaan Mcleod ed982b4338 Replace char[] array in CompletionRequiresQuotes with cached SearchValues<char> (#24907) 2025-02-01 21:17:42 +05:00
Armaan Mcleod 459fc8d285 Add quote handling in Verb, StrictModeVersion, Scope & PropertyType Argument Completers with single helper method (#24839) 2025-02-01 14:52:52 +05:00
Travis Plunk c505f4ba39 Convert powershell/PowerShell-CI-linux to GitHub Actions (#24913) 2025-01-31 15:57:18 -08:00
Travis Plunk 2066eb62e4 Convert powershell/PowerShell-Windows-CI to GitHub Actions (#24899) 2025-01-31 12:34:31 -08:00
2259f56c07 Fix MSIX stage in release pipeline (#24900)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-01-31 10:42:58 -06:00
PowerShell Team Bot 6c216bff4d Update .NET SDK (#24906) 2025-01-30 23:54:18 +00:00
Armaan Mcleod 2a1d17eda6 Update IndexOfAny calls with invalid path/filename to SearchValues<char> for more efficient char searching (#24896) 2025-01-30 17:42:57 +05:00
Jordan Borean 4e7942135f Fix Start-Process -Wait polling (#24711) 2025-01-28 13:52:48 +05:00
Armaan Mcleod bca20334c7 Convert InvalidCommandNameCharacters in AnalysisCache to SearchValues<char> for more efficient char searching (#24880) 2025-01-28 10:33:26 +05:00
Armaan Mcleod c1abc73def Convert s_charactersRequiringQuotes in Completion Completers to SearchValues<char> for more efficient char searching (#24879) 2025-01-28 10:29:29 +05:00
Justin ChungandJustin Chung 85fcb720da Update metadata.json (#24862)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2025-01-24 11:16:28 -08:00
Anam Navied 251bf0da6f PMC parse state correctly from update command's response (#24850)
* Parse Json before accessing state property for PMC

* fix typo
2025-01-23 09:20:42 -08:00
Justin ChungandJustin Chung 1318d6ab25 Add 7.4.7 Changelog (#24844)
* Add 7.4.7 Changelog

* Change summary comment to Update .NET SDK

---------

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2025-01-23 11:15:03 -06:00
+1 262ae51460 Add EV2 support for publishing PowerShell packages to PMC (#24841)
* added checks to see if pwsh will install

* Upload download folder to artifacts

* Build.ArtifactStagingDirectory

* added verbose

* download folder copy-item -recurse

* Filter copy-item to exclude msix and nupkg

* fixed error with piping objects along

* adding pwsh to path, added checks to see if it was installed

* removed error with write Verbose

* Write-Host ##vstsCommandString

* vsts command string

* trying again

* added path in a new way

* checking if the folder contain pwsh.exe

* added \

* checking the next step with out pwsh

* checking the next step with out pwsh

* trying ##

* ##vso[task.prependpath]$env:PATH

* fixed variable $

* fixed path

* fixed string path issue, and env:Path

* trying pwsh: true

* added pwsh true, refactored publish release draft step to original

* fixed CL file location

* refactoring to original format

* made approval jobs a separate stage and template

* copilot auto fixed wrong approvalJob

* removed job dependency because stage dependency exists

* copying packages in separate folders

* changed package path, turned on DBP on nuget

* removed nugetcommand

* Production, turn on dependencies

* Added Deploy Box Product Pathway to Github Release
and Nuget Release Pipelines

* Templatized pwsh install and repo checkout, clean ups

* Fix seed max value for Container Linux CI (#24510)

* Bump .NET to 9.0.100-rc.2.24474.11 (#24509)

* Update PSResourceGet to v1.1.0-RC2 (#24512)

* Update PSResourceGet to v1.1.0-RC2

* Fix windows packaging

* Update windows bom

* Update version string to be lowercase

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>

* Update changelog for v7.4.6 release (#24496)

* Add a way to use only NuGet feed sources (#24528)

* Update build.psm1

* update default feeds

* fix issue with cgmanifest having duplicate existing entries

* update pattern

* Revert "Update package references (#24414)" (#24532)

This reverts commit 01ae632636.

* [master] Update branch for release (#24534)

* Update package references

* Update cgmanifest

* Update IsolatedModule.Tests.ps1

---------

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>

* Bump github/codeql-action from 3.26.10 to 3.27.0 (#24483)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/e2b3eafc8d227b0241d48be5f425d47c2d750a13...662472033e021d55d94146f66f6058822b0b39fd)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/upload-artifact from 4.4.0 to 4.4.3 (#24410)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/50769540e7f4bd5e21e526ee35c689e35e0d6874...b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump agrc/reminder-action from 1.0.14 to 1.0.15 (#24384)

Bumps [agrc/reminder-action](https://github.com/agrc/reminder-action) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/agrc/reminder-action/releases)
- [Changelog](https://github.com/agrc/reminder-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/agrc/reminder-action/compare/b5cc06580b6a711baddf6a947131f85a422fa263...45201302ec0071cce809a483111bda4cdc7d10f2)

---
updated-dependencies:
- dependency-name: agrc/reminder-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/checkout from 4.2.1 to 4.2.2 (#24488)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871...11bd71901bbe5b1630ceea73d27597364c9af683)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/dependency-review-action from 4.3.4 to 4.4.0 (#24503)

Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/5a2ce3f5b92ee19cbb1541a4984c76d921601d7c...4081bf99e2866ebe428fc0477b69eb4fcda7220a)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Support PSObject wrapped values in ArgumentToEncodingTransformationAttribute (#24555)

* Bump .NET 9 and dependencies (#24573)

* added stage uploading cl and tool to artifacts, removed ob_release_env variable on first stage

* removed publish artifact

* removed variables like tsa config template

* updated image windows container image

* using REPOROOT, removed pwsh checkout, -recurse tools

* added turning off tsa config, credscan, and codesignValidation

* removed cl and tool stage

* combined approval stages

* removed unnecessary variable srcPath

* commented out package pipeline changes

* added package gathering in the release template

* added variable template

* fixed dependsonjob

* added depnedency, added filtering file by ext

* removed dependency

* .gz

* added depends on

* added verbose, fixed checkout

* fixed dependencies

* fixed dependencies 2

* fixed dependcies 3

* enabled sbom

* disabled signing setup

* fixed checkout

* single qute problem

* checking env build source

* testing checkout

* using old pipeline

* checkout

* branch name

* refs/heads

* fixed back to original intention

* separating out ev2

* added ob_release to test

* removed release and ob for first stage

* correct and to And

* removed ob_outputdirectory

* removed ob_outputdirectory

* adding ob_outputDirectory

* added Test_

* added ev2 folders

* approval service env to Test

* removed approval service

* changed inputs

* removed invalid inputs

* modified inputs

* moved jsons to correct location

* copied verbatim from eng hub

* removed dependency to blob public

* added copy

* added docker deployment test service connection

* added mscodehubPAT variable group

* signing profile to internal azure service

* capture workspace

* comment out internal tools signing for now

* move EV2Specs folder and fix path reference to it

* test path of Run.ps1 and change files to sign pattern

* refer to PowerShell files with project name in path as  multiple repo's were checked out

* comment out signing for now

* enable TiP signing

* comment out unused tasks for now

* add in prep steps

* use higher python version available

* use repoRoot in path

* add verbose and error logging to pip3 download command

* fix typo in pip3 command

* add other pip3 command

* use full path of pip3 executable

* check exe path

* fix pip3 command syntax and dir location

* try bash step

* Remove bash step

* change artifactFeed name

* set artifactFeedName to project/feed per docs

* Remove the service connection

* add pip verbose command

* use correct feed name

* remove the service connection and add verbose logging

* get version info only

* fix typo in Push-Location

* use pip instead of pip3

* upgrade pip

* add pip download command

* add code to download needed artifacts and create .tar.gz uploaded to ob_outputdirectory

* add verbose logging

* add one more folder

* add -ItemType Directory

* add variable group reference

* remove var group and var for now

* fix path to mapping.json

* add credscan suppression file var

* copy over EV2Specs folder with fixed path

* specify SourceFolder for CopyFiles task

* put packages.tar.gz under ServiceGroupRoot/Parameters

* create Parameters folder once and refer to pmc MI var

* refer to variable group

* update EV2 json files and test pmc tool in run script

* add tsaconfig file var and fix typo

* add buildVer.txt file

* populate version

* have EV2 task be seperated out into its own stage

* update service connection name in EV2 test task

* see which versions are available

* add -Recurse parameter

* specify version as 3

* test expected path

* comment out python package related code for now

* try recommended version

* try checking onebranch container image path for python

* fix logging statement

* add back rest of python related tasks to see if OB installed python will work

* get repolist.json

* debug why file doesn't exist

* fix path

* fix path in Run.ps1

* update container version

* invoke crane tool which should come installed like python

* refer to python exe

* just use pip

* upgrade pip

* use linux pool image when installing pip package

* use python3 on linux

* revert use of python 3

* comment out python code for now

* mitigate file watcher issue

* set linuxEsrpSigning: true

* try moving set up signing task to right before signing

* remove other ob_restore_phase

* keep using windows image, but specify platform for pip download

* add binaries only flag needed by pip

* try latest manylinux platform

* use linux pool image for job

* use manylinux platform from run that only failed at signing

* use linux pool image for job again with ob_restore_phase

* use python3 on linux

* add ob_restore_phase: true to more tasks

* move the file tasks up

* move the file tasks up again

* add ob_restore_phase: true to all tasks

* move template call before checkout step

* add ob_restore_phase based parameter to template that sets tag and container name

* remove ob_restore_phase from initial checkout

* check pipeline workspace

* more verbose statements for debugging

* more verbose statements for debugging

* move Ev2Specs folder out of .pipelines as ob_restore_phase doesn't copy folders beggining with period

* change casing

* move EV2 files back to .pipelines folder

* update location of rg

* remove which command

* see accessible pmc repos

* fix var names

* limit pmc repo list and add Get-PackageInfo() implementation

* remove repo list command that was writing and fix typo

* add New-RepoPackageObject() implementation

* fix verbose statement and add commented out implementation of Publish-PackageFromBlob()

* add extraction of packages from packages.tar.gz

* change release tag version

* add Skip publish CI param

* add Skip publish as template param as well

* fix boolean written to pmcMetadata.json

* correctly convert boolean written to pmcMetadata.json

* test the function

* add final publishing code in

* fix typo

* trim 'v' off release version

* fix the testing version

* clean up code into methods

* remove call to dead method

* add final publishing code in

* add return

* add missing param

* combine code that creates package objects into one method

* remove unused param

* clean up unused vars

* clean up unused code

* use actual tag

* update conflicting files

* remove code changes to uploadToAzure.yml

* use official template

* use correct official template

* remove generic guardian suppression and tip signing enabling

* temporarily use non official template and fix how pipeline env var is called

* fix indentation

* skip calling pmc code for now

* log version

* log version again

* refer to releaseTag output var correctly

* clean up

* use official template

* fix signing errors- set linuxEsrpSigning: true

* linuxEsrpSigning is a featureFlag

* remove reference to repoList.json which is no longer used and use created vars

* clean up code

* clean up code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Justin Chung <t-juchung@microsoft.com>
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: alerickson <25858831+alerickson@users.noreply.github.com>
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jordan Borean <jborean93@gmail.com>
2025-01-22 12:40:54 -08:00