Skip to content

Commit

Permalink
Merge branch 'main' into spector_spoc_owner
Browse files Browse the repository at this point in the history
  • Loading branch information
allenjzhang authored Jan 8, 2025
2 parents 04e9043 + fe47f65 commit f42fd00
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .chronus/changes/rust-client-names-2025-0-6-15-6-10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: fix
packages:
- "@azure-tools/azure-http-specs"
---

Add Rust to client naming scenarios
8 changes: 8 additions & 0 deletions .github/policies/issues.triage.generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ configuration:
label: eng
- hasLabel:
label: ide
- hasLabel:
label: cli/psh
then:
- addLabel:
label: needs-area
Expand All @@ -51,6 +53,8 @@ configuration:
label: eng
- labelAdded:
label: ide
- labelAdded:
label: cli/psh
then:
- removeLabel:
label: needs-area
Expand All @@ -74,6 +78,8 @@ configuration:
label: eng
- labelRemoved:
label: ide
- labelRemoved:
label: cli/psh
- not:
or:
- hasLabel:
Expand All @@ -88,6 +94,8 @@ configuration:
label: eng
- hasLabel:
label: ide
- hasLabel:
label: cli/psh
then:
- addLabel:
label: needs-area
6 changes: 6 additions & 0 deletions .github/policies/prs.triage.generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,9 @@ configuration:
then:
- addLabel:
label: ide
- if:
- includesModifiedFiles:
files: []
then:
- addLabel:
label: cli/psh
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ Area of the codebase
| `emitter:autorest` | #957300 | Issues for @azure-tools/typespec-autorest emitter |
| `eng` | #65bfff | |
| `ide` | #846da1 | Issues for Azure specific ide features |
| `cli/psh` | #9EB120 | Issues for Azure CLI/PSH features |

#### issue_kinds

Expand Down
2 changes: 2 additions & 0 deletions packages/azure-http-specs/specs/client/naming/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ namespace Property {
@clientName("JavaName", "java")
@clientName("TSName", "javascript")
@clientName("python_name", "python")
@clientName("rustName", "rust")
defaultName: boolean;
}

Expand Down Expand Up @@ -150,6 +151,7 @@ namespace Model {
@clientName("JavaModel", "java")
@clientName("TSModel", "javascript")
@clientName("PythonModel", "python")
@clientName("rustName", "rust")
model ModelWithLanguageClientName {
@doc("Pass in true")
defaultName: boolean;
Expand Down

0 comments on commit f42fd00

Please sign in to comment.