* Change logging functions to use Write-Host
Change logging helpers to always write to host and either set color or use devops/gh formatting.
We do not want to use Write-Error or Write-Warning directly because they can stop the script or not depending on preferences which makes it difficult to ensure local runs of scripts work the same as in the pipelines. So, we should never depend on these logging commands to cause a script to stop execution.
* Clean up error handling in CommandInvocation-Helpers
Removed legacy error handling for command failures.
* Fix error logging for command execution
* Add option to skip exiting
---------
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Fails if you don't have `bicep` installed but do have `az bicep` and was unnecessary since the check below it did it anyway.
Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Updated validate pkg template to use packageInfo
* Fixed typo
* Fixed the right variable to use
* output debug log
* Fixed errors in expression evaluation
* removed debug code
* Fixed an issue in pipeline
* Updated condition for variable setting step
* Join paths of the script path
* Use join-path
* return from the function rather than exit
---------
Co-authored-by: ray chen <raychen@microsoft.com>
* Delete cgmanifest.json when being installed via vcpkg, but also update SHAs
* Update cspell
---------
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
* Increment package version after release of azure-storage-common
* Increment package version after release of azure-storage-blobs
* Increment package version after release of azure-storage-files-datalake
* Increment package version after release of azure-storage-files-shares
* Increment package version after release of azure-storage-queues
* Added token credential tests to blob tests
* Fixed linux build error
* HasOption shouldn't crash if option isn't present
* Added token credential tests to all relevant blob tests and added to the perf-tests outputs
* PR feedback
* Mark TypeSpec upgrade PR as draft when generation fails
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
* Add condition to run Create_PR job even when Generate fails
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
* Include emitter name in PR title
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
* Use emitterIdentifier variable for PR title instead of recalculating
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
* Include scope in emitterIdentifier for branch and PR names
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
* Read emitter name from package.json instead of extracting from path
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
* Resolve emitterPackagePath to absolute path before reading
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
* Append package.json to emitterPackagePath directory
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
* Add log statement for fallback to package path
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
* Update create-apireview template to use packageInfo
* Use new signature for FindArtifactForApiReviewFn
* Used new signature of FindArtifactForApiReviewFn
---------
Co-authored-by: ray chen <raychen@microsoft.com>
* Added 'ArtifactsJson' parameter
* Made script work for non-java
* Reduced duplicated parsing
* Fixed type error
---------
Co-authored-by: ray chen <raychen@microsoft.com>
* Revise tsp-client usage instructions in README
Updated usage instructions to use 'npm exec --prefix' for running tsp-client commands. The reason is `tsp-client` needs to resolve the input parameters based on the root folder of SDK repository.
* Update README.md to use brace expansion for variables
* Update README.md
---------
Co-authored-by: Ray Chen <raychen@microsoft.com>
* Pass packageInfo parameter conditionally to Find-Language-Artifacts-For-Apireview
* Use new parameter
---------
Co-authored-by: ray chen <raychen@microsoft.com>
* DAC: Disable probe when MIC is selected via env var
* Fix missing newline at end of default_azure_credential_test.cpp
* Update sdk/identity/azure-identity/test/ut/managed_identity_credential_test.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update sdk/identity/azure-identity/test/ut/default_azure_credential_test.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Clang fix
* Make options always the last parameter
* Clang-format
* Add const char overload
* MIC: do not send probe request by default, unless it is used in DAC, unless DAC has MIC only selected via env var
* Rename isProbeEnabled to useProbeRequest, make options the last arg even in internal APIs
* Include the rest of the files
* Fix
* only expose UseProbeRequest in options
* Clang-format
---------
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Set pr creator to empty when it's bot
* Removed bot accounts while setting the reviewers and assignees
* Allowed copilot as reviewer
---------
Co-authored-by: ray chen <raychen@microsoft.com>
* bump the test-proxy version
* bump proxy to one that includes our multipart/formdata fix
---------
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>