eng/common/instructions/azsdk-tools/sdk-details-in-release-plan.instructions.md
Goal: Identify languages configured in the TypeSpec project and generate the json object with language and package name.
tspconfig.yaml file in the TypeSpec project root.emitter-output-dir for package name if it exists. Otherwise use package-dir to get the package name as fallback approach.packagedetails:name property to get package name.github.com/Azure/azure-sdk-for-go/ to get package name.[
{
"language": "<LanguageName>",
"packageName": "<PackageName>"
},
...
]
Goal: Determine if a release plan exists for the API spec pull request or work item Id or release plan Id in current context.
(MANDATORY - DO NOT SKIP) ALWAYS validate all package names against the format rules AND the examples table before calling any update tool, even if the user provides SDK details directly. Auto-correct and inform the user of invalid package names.
- JavaScript: Must start with
@azure/- Go: Must start with
sdk/Valid package name examples (compare against these to catch invalid formats):
Language Valid Invalid JavaScript @azure/arm-computearm-compute,azure/arm-compute,@azure-arm-computeGo (management plane) sdk/resourcemanager/compute/armcomputesdk/armcompute,/sdk/compute,github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute
Goal: Update the release plan with the languages and package names identified in Step 1.
azsdk_update_sdk_details_in_release_plan to update the release plan work item with the JSON object created in Step 1.