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 <praveen.kuttappan@gmail.com> Co-authored-by: Praven Kuttappan <55455725+praveenkuttappan@users.noreply.github.com>
This commit is contained in:
parent
6ec7eb07a6
commit
efcdeeb685
@ -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
|
||||
[
|
||||
|
||||
Loading…
Reference in New Issue
Block a user