-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
$InstallDirectory
parameter ineng/common/mcp/azure-sdk-mcp.ps1
to use$env:HOME
instead of$HOME
for improved PowerShell compatibility across different environments.Changes
Rationale
Using
$env:HOME
instead of$HOME
provides:Testing
$env:HOME
resolves to the correct path value$HOME
found 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/releases
pwsh -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.