Skip to content

Commit 77a3f8a

Browse files
Sync eng/common directory with azure-sdk-tools for PR 11968 (#43057)
* 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 <[email protected]> Co-authored-by: Praven Kuttappan <[email protected]>
1 parent 757f51e commit 77a3f8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

eng/common/instructions/azsdk-tools/sdk-details-in-release-plan.instructions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ description: 'Identify languages configured in the TypeSpec project and add it t
55
**Goal**: Identify languages configured in the TypeSpec project and generate the json object with language and package name.
66
1. Identify the language emitter configuration in the `tspconfig.yaml` file in the TypeSpec project root.
77
2. Identify the package name or namespace for each language emitter.
8+
- 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.
9+
- For .NET, use namespace property to get package name.
10+
- For JavaScript, use `packagedetails:name` property to get package name.
11+
- For Go, use module name and remove `github.com/Azure/azure-sdk-for-go/` to get package name
812
3. Map the language name in emitter to one of the following in Pascal case(except .NET):
913
- .NET
1014
- Java
1115
- Python
1216
- JavaScript
1317
- Go
14-
4. Remove `github.com/Azure/azure-sdk-for-go/` from Go package name.
1518
4. Create a JSON array object with the following structure:
1619
```json
1720
[

0 commit comments

Comments
 (0)