Skip to content

Sync eng/common directory with azure-sdk-tools for PR 10694 #50188

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

azure-sdk
Copy link
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#10694 See eng/common workflow

@Copilot Copilot AI review requested due to automatic review settings May 21, 2025 18:40
@azure-sdk azure-sdk requested a review from a team as a code owner May 21, 2025 18:40
@azure-sdk azure-sdk requested a review from benbp May 21, 2025 18:40
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels May 21, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Syncs the local eng/common directory with updates from the azure-sdk-tools repository, specifically aligning path resolution scripts.

  • Switched path separators in common.ps1 from backslashes to forward slashes.
  • Updated the Resolve-Path call in common.ps1 to use a new relative path.

@@ -1,6 +1,6 @@
# cSpell:ignore Apireview
# cSpell:ignore Onboarded
$RepoRoot = Resolve-Path "${PSScriptRoot}..\..\..\.."
$RepoRoot = Resolve-Path "${PSScriptRoot}/../../../"
Copy link
Preview

Copilot AI May 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new path uses three '../' segments but the original used four, altering the computed $RepoRoot. Update it to '/../../../../' to match the original intent.

Suggested change
$RepoRoot = Resolve-Path "${PSScriptRoot}/../../../"
$RepoRoot = Resolve-Path "${PSScriptRoot}/../../../../"

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants