Skip to content

Commit 7d856b2

Browse files
azure-sdkjeo02
andauthored
Sync eng/common directory with azure-sdk-tools for PR 11839 (#46505)
* snake case * change file name to .instructions.md * Revert "change file name to .instructions.md" This reverts commit c4bb65dc03258a45f74590edff6ccbf889d9e559. --------- Co-authored-by: Juan Ospina <[email protected]>
1 parent 0274e96 commit 7d856b2

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

eng/common/instructions/azsdk-tools/check-package-readiness.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Check the release readiness of an SDK package by collecting the required informa
1515
- Go
1616

1717
2. **Execute Readiness Check**:
18-
- Use the `CheckPackageReleaseReadiness` tool with the provided package name and selected language
18+
- Use the `azsdk_check_package_release_readiness` tool with the provided package name and selected language
1919
- Do not check for existing pull requests to run this step.
2020
- Do not ask the user to create a release plan to run this step.
2121

eng/common/instructions/azsdk-tools/create-release-plan.instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Follow these steps in order to create or manage a release plan for an API specif
88
- Validate that the provided pull request link is accessible and valid
99

1010
## Step 2: Check Existing Release Plan
11-
- Use `GetReleasePlanForPullRequest` to check if a release plan already exists for the API spec pull request
11+
- Use `azsdk_get_release_plan_for_spec_pr` to check if a release plan already exists for the API spec pull request
1212
- If a release plan exists:
1313
- Display the existing release plan details to the user
1414
- Skip to Step 5 (Link SDK Pull Requests)
@@ -33,7 +33,7 @@ If any details are missing, prompt the user accordingly:
3333
## Step 4: Create Release Plan
3434
- If the user doesn't know the required details, direct them to create a release plan using the release planner
3535
- Provide this resource: [Release Plan Creation Guide](https://eng.ms/docs/products/azure-developer-experience/plan/release-plan-create)
36-
- Once all information is gathered, use `CreateReleasePlan` to create the release plan
36+
- Once all information is gathered, use `azsdk_create_release_plan` to create the release plan
3737
- Display the newly created release plan details to the user for confirmation
3838
- Refer to #file:sdk-details-in-release-plan.instructions.md to identify languages configured in the TypeSpec project and add them to the release plan
3939

@@ -45,7 +45,7 @@ If any details are missing, prompt the user accordingly:
4545
- Ask the user if they have already created SDK pull requests locally for any programming language
4646
- If SDK pull requests exist:
4747
- Collect the pull request links from the user
48-
- Use `LinkSdkPullRequestToReleasePlan` to link each SDK pull request to the release plan
48+
- Use `azsdk_link_sdk_pull_request_to_release_plan` to link each SDK pull request to the release plan
4949
- Confirm successful linking for each SDK pull request
5050

5151
## Step 7: Summary

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ description: 'Identify languages configured in the TypeSpec project and add it t
3434

3535
# Step 3: Update Release Plan with SDK Information
3636
**Goal**: Update the release plan with the languages and package names identified in Step 1.
37-
1. Use `UpdateReleasePlanSDKInfo` to update the release plan work item with the JSON object created in Step 1.
37+
1. Use `azsdk_update_sdk_details_in_release_plan` to update the release plan work item with the JSON object created in Step 1.
3838
2. Confirm successful update of the release plan with the SDK information and summary of languages and package names.
3939
**Success Criteria**: Release plan updated with languages and package names.

eng/common/instructions/azsdk-tools/typespec-to-sdk.instructions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ Your goal is to guide user through the process of generating SDKs from TypeSpec
2626
## Step 3: Verify Authentication and Repository Status
2727
**Goal**: Ensure user is authenticated and working in correct repository
2828
**Actions**:
29-
1. Run `GetGitHubUserDetails` to verify login status
29+
1. Run `azsdk_get_github_user_details` to verify login status
3030
2. If not logged in, prompt: "Please login to GitHub using `gh auth login`"
3131
3. Once logged in, display user details to confirm identity
32-
4. Run `CheckIfSpecInPublicRepo` to verify repository
32+
4. Run `azsdk_check_typespec_project_in_public_repo` to verify repository
3333
5. If not in public repo, inform: "Please make spec changes in Azure/azure-rest-api-specs public repo to generate SDKs"
3434
**Success Criteria**: User authenticated and working in public Azure repo
3535

3636
## Step 4: Review and Commit Changes
3737
**Goal**: Stage and commit TypeSpec modifications
3838
**Actions**:
39-
1. Run `GetModifiedTypeSpecProjects` to identify changes
39+
1. Run `azsdk_get_modified_typespec_projects` to identify changes
4040
2. If no changes found, inform: "No TypeSpec projects were modified in current branch"
4141
3. Display all modified files (excluding `.github` and `.vscode` folders)
4242
4. Prompt user: "Please review the modified files. Do you want to commit these changes? (yes/no)"
@@ -63,7 +63,7 @@ Your goal is to guide user through the process of generating SDKs from TypeSpec
6363
## Step 6: Create Specification Pull Request
6464
**Goal**: Create PR for TypeSpec changes if not already created
6565
**Actions**:
66-
1. Check if spec PR already exists using `GetPullRequestForCurrentBranch`
66+
1. Check if spec PR already exists using `azsdk_get_pull_request_link_for_current_branch`
6767
2. If PR exists, display PR details and proceed to Step 7
6868
3. If no PR exists:
6969
- Refer to #file:create-spec-pullrequest.instructions.md
@@ -86,7 +86,7 @@ Your goal is to guide user through the process of generating SDKs from TypeSpec
8686
## Step 8: Show Generated SDK PRs
8787
**Goal**: Display all created SDK pull requests
8888
**Actions**:
89-
1. Run `GetSDKPullRequestDetails` to fetch generated SDK PR info.
89+
1. Run `azsdk_get_sdk_pull_request_link` to fetch generated SDK PR info.
9090

9191
## Step 9: Validate Label and Codeowners
9292
**Goal**: Validate the label and all codeowners for a service. Create new label and codeowner entry if none exist.

eng/common/instructions/azsdk-tools/verify-namespace-approval.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ check if they want to link a different namespace approval issue to the release p
1717
**Goal**: Link namespace approval issue to the release plan.
1818
**Actions**:
1919
1. Collect GitHub issue created in Azure/azure-sdk repo for namespace approval. Do not use any other repo name.
20-
2. Run `LinkNameSpaceApprovalIssue` to link the issue to the release plan work item id.
20+
2. Run `azsdk_link_namespace_approval_issue` to link the issue to the release plan work item id.
2121
3. Confirm successful linking of the namespace approval issue to the release plan.
2222
**Success Criteria**: Namespace approval issue linked to the release plan or confirmed as already linked.

0 commit comments

Comments
 (0)