From efcdeeb6856c3c55914e9fd80118d45586615f30 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 18 Sep 2025 12:43:40 -0700 Subject: [PATCH] Sync eng/common directory with azure-sdk-tools for PR 11968 (#6745) * Add copilot instruction for package name properties in typespec config * Update eng/common/instructions/azsdk-tools/sdk-details-in-release-plan.instructions.md --------- Co-authored-by: Praveen Kuttappan Co-authored-by: Praven Kuttappan <55455725+praveenkuttappan@users.noreply.github.com> --- .../azsdk-tools/sdk-details-in-release-plan.instructions.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eng/common/instructions/azsdk-tools/sdk-details-in-release-plan.instructions.md b/eng/common/instructions/azsdk-tools/sdk-details-in-release-plan.instructions.md index d6574bb8b..c88a598ed 100644 --- a/eng/common/instructions/azsdk-tools/sdk-details-in-release-plan.instructions.md +++ b/eng/common/instructions/azsdk-tools/sdk-details-in-release-plan.instructions.md @@ -5,13 +5,16 @@ description: 'Identify languages configured in the TypeSpec project and add it t **Goal**: Identify languages configured in the TypeSpec project and generate the json object with language and package name. 1. Identify the language emitter configuration in the `tspconfig.yaml` file in the TypeSpec project root. 2. Identify the package name or namespace for each language emitter. + - For Java and Python, use `emitter-output-dir` for package name if it exists. Otherwise use `package-dir` to get the package name as fallback approach. + - For .NET, use namespace property to get package name. + - For JavaScript, use `packagedetails:name` property to get package name. + - For Go, use module name and remove `github.com/Azure/azure-sdk-for-go/` to get package name 3. Map the language name in emitter to one of the following in Pascal case(except .NET): - .NET - Java - Python - JavaScript - Go -4. Remove `github.com/Azure/azure-sdk-for-go/` from Go package name. 4. Create a JSON array object with the following structure: ```json [