Skip to content

Commit c494011

Browse files
Merge branch 'main' into fix/servicebus-admin-kwargs-44999
2 parents 3fa067a + de23b45 commit c494011

5,845 files changed

Lines changed: 812427 additions & 1401661 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
# ServiceLabel: %AI Projects %Service Attention
5454
# PRLabel: %AI Projects
55-
/sdk/ai/azure-ai-projects/ @dargilco @glharper @howieleung @kingernupur @nick863 @trangevi @trrwilson
55+
/sdk/ai/azure-ai-projects/ @dargilco @glharper @howieleung @kingernupur @nick863 @trangevi @trrwilson @bobogogo1990
5656

5757
# PRLabel: %App Configuration
5858
/sdk/appconfiguration/ @albertofori @avanigupta @jimmyca15 @mrm9084 @rossgrambo @xiangyan99

.github/copilot-instructions.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,37 @@ Ask the user for clarification if repository path or configuration file is ambig
129129

130130
---
131131

132+
## MGMT SDK Code Review Rules
133+
134+
### SCOPE
135+
These rules apply to management-plane SDK packages located at `sdk/*/azure-mgmt-*/`.
136+
137+
### REVIEW EXCLUSIONS
138+
- **Skip** the `generated_samples/` and `generated_tests/` folders entirely — do not review generated sample or test code.
139+
- **Skip** source code under `azure/mgmt/**/` **except** `_client.py` — only review `_client.py` among the generated source files.
140+
141+
### VERSION CONSISTENCY
142+
- The version string in `_version.py` **must** match the latest version listed in `CHANGELOG.md`.
143+
144+
### CHANGELOG DATE
145+
- If the release date of the latest version in `CHANGELOG.md` is **more than 3 weeks in the future** from the current date, remind the author to verify and update the date.
146+
147+
### PYPROJECT.TOML STABILITY FLAGS
148+
- **Stable version** (version string does **not** contain `b`):
149+
- `is_stable` in `pyproject.toml` must be `true`
150+
- `classifiers` must include `"Development Status :: 5 - Production/Stable"`
151+
- **Preview version** (version string contains `b`):
152+
- `is_stable` in `pyproject.toml` must be `false`
153+
- `classifiers` must include `"Development Status :: 4 - Beta"`
154+
155+
### CLIENT SIGNATURE
156+
- The `__init__` method of the client class in `_client.py` must include the parameters `credential`, `subscription_id`, and `base_url` **in that order**. Default values are not checked.
157+
158+
### README CODE SNIPPETS
159+
- Code snippets in `README.md` must follow the real client class signatures and usage patterns. Verify that sample code matches the actual client API.
160+
161+
---
162+
132163
## SDK release
133164

134165
For detailed workflow instructions, see [SDK Release](https://github.com/Azure/azure-sdk-for-python/blob/main/eng/common/instructions/copilot/sdk-release.instructions.md).

.github/hooks/hooks.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"hooks": {
3+
"PostToolUse": [
4+
{
5+
"type": "command",
6+
"command": "pwsh eng/common/scripts/azsdk_tool_telemetry.ps1",
7+
"timeoutSec": 5
8+
}
9+
]
10+
}
11+
}

0 commit comments

Comments
 (0)