Skip to content

Commit bf023fe

Browse files
azure-sdkl0lawrencebenbp
authored
Sync eng/common directory with azure-sdk-tools for PR 12531 (#43765)
* prompt * this * line * update bens suggestions * update * remove try to find pkg path logic * Update eng/common/instructions/azsdk-tools/check-package-validation.instructions.md Co-authored-by: Ben Broderick Phillips <[email protected]> * path * updates * list numbering incorrect * linting --------- Co-authored-by: l0lawrence <[email protected]> Co-authored-by: Ben Broderick Phillips <[email protected]>
1 parent ef1081c commit bf023fe

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
description: 'Run the package validation checks for the SDK package.'
3+
---
4+
## Goal
5+
Run the validation checks for the SDK package by collecting the required information from the user and executing the `azsdk_package_run_check` tool.
6+
7+
## Instructions
8+
1. **Collect Required Information**:
9+
- Prompt the user for the absolute package path to the package directory for the SDK package they want to check.
10+
- Prompt the user to specify values for each of the parameters required by the azsdk_package_run_check tool. Present the user with options to pick from for the allowed values specified by the parameter schema.
11+
12+
2. **Execute Check**:
13+
- Use the `azsdk_package_run_check` tool with the package path and check type.
14+
15+
3. **Present Results**:
16+
- If the package has passed all validation checks, highlight and finish
17+
- If the package is not ready, display the specific check types that need to be fixed for each language.
18+
19+
## Expected User Interaction Flow
20+
1. Ask: "What is the exact path of the package you want to check for validation?"
21+
2. Ask: "Please specify the check type you want to run (e.g., 'all', 'linting', 'format', etc.)"
22+
3. Execute the check using the provided information
23+
4. Display results and next steps

0 commit comments

Comments
 (0)