-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Update $HOME to $env:HOME in azure-sdk-mcp.ps1 InstallDirectory parameter #35266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Next Steps to MergeNext steps that must be taken to merge this PR:
|
|
PR validation pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment. |
…eter Co-authored-by: praveenkuttappan <[email protected]>
|
@copilot Run typeSpec validation |
TypeSpec validation has been successfully executed on multiple projects in the repository. Results: ✅ MongoDB Cluster project: All validation rules passed (FolderStructure, NpmPrefix, EmitAutorest, FlavorAzure, LinterRuleset, Compile, Format, SdkTspConfigValidation) ✅ App Compliance Automation project: Validation completed successfully with expected SDK configuration warnings The PowerShell script change ( Commit: 8cf53f0 Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot Run TypeSpec validation |
TypeSpec validation has been successfully executed on multiple projects in the repository. Results: ✅ MongoDB Cluster project: Compilation completed successfully The PowerShell script change ( Commit: 8cf53f0 Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Description
Updates the default value of the
$InstallDirectoryparameter ineng/common/mcp/azure-sdk-mcp.ps1to use$env:HOMEinstead of$HOMEfor improved PowerShell compatibility across different environments.Changes
Rationale
Using
$env:HOMEinstead of$HOMEprovides:Testing
$env:HOMEresolves to the correct path value$HOMEfound in the file requiring updatesThis is a minimal, targeted change that improves compatibility without affecting functionality.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/Azure/azure-sdk-tools/releasespwsh -File eng/common/mcp/azure-sdk-mcp.ps1 -WhatIf(http block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.