From 4f5eff123b578adffbe5cc8109e4f9236ea63633 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Tue, 7 Jan 2025 15:34:20 -0800 Subject: [PATCH 1/2] Add Rust to client naming scenarios (#2039) --- .chronus/changes/rust-client-names-2025-0-6-15-6-10.md | 8 ++++++++ packages/azure-http-specs/specs/client/naming/main.tsp | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 .chronus/changes/rust-client-names-2025-0-6-15-6-10.md diff --git a/.chronus/changes/rust-client-names-2025-0-6-15-6-10.md b/.chronus/changes/rust-client-names-2025-0-6-15-6-10.md new file mode 100644 index 0000000000..6090fc7df1 --- /dev/null +++ b/.chronus/changes/rust-client-names-2025-0-6-15-6-10.md @@ -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 diff --git a/packages/azure-http-specs/specs/client/naming/main.tsp b/packages/azure-http-specs/specs/client/naming/main.tsp index 9cbf413a08..198bfea6b5 100644 --- a/packages/azure-http-specs/specs/client/naming/main.tsp +++ b/packages/azure-http-specs/specs/client/naming/main.tsp @@ -21,6 +21,7 @@ namespace Property { @clientName("JavaName", "java") @clientName("TSName", "javascript") @clientName("python_name", "python") + @clientName("rustName", "rust") defaultName: boolean; } @@ -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; From fe47f651407a540f1fa5ceafe7b9fb5bc2d763ea Mon Sep 17 00:00:00 2001 From: Alitzel Mendez <6895254+AlitzelMendez@users.noreply.github.com> Date: Tue, 7 Jan 2025 15:35:52 -0800 Subject: [PATCH 2/2] Update contributing labels (#2048) Unblock: https://github.com/Azure/typespec-azure/pull/1202 --- .github/policies/issues.triage.generated.yml | 8 ++++++++ .github/policies/prs.triage.generated.yml | 6 ++++++ CONTRIBUTING.md | 1 + 3 files changed, 15 insertions(+) diff --git a/.github/policies/issues.triage.generated.yml b/.github/policies/issues.triage.generated.yml index ac479a958a..69c50119f7 100644 --- a/.github/policies/issues.triage.generated.yml +++ b/.github/policies/issues.triage.generated.yml @@ -29,6 +29,8 @@ configuration: label: eng - hasLabel: label: ide + - hasLabel: + label: cli/psh then: - addLabel: label: needs-area @@ -51,6 +53,8 @@ configuration: label: eng - labelAdded: label: ide + - labelAdded: + label: cli/psh then: - removeLabel: label: needs-area @@ -74,6 +78,8 @@ configuration: label: eng - labelRemoved: label: ide + - labelRemoved: + label: cli/psh - not: or: - hasLabel: @@ -88,6 +94,8 @@ configuration: label: eng - hasLabel: label: ide + - hasLabel: + label: cli/psh then: - addLabel: label: needs-area diff --git a/.github/policies/prs.triage.generated.yml b/.github/policies/prs.triage.generated.yml index 9a40642a7f..7059d19210 100644 --- a/.github/policies/prs.triage.generated.yml +++ b/.github/policies/prs.triage.generated.yml @@ -52,3 +52,9 @@ configuration: then: - addLabel: label: ide + - if: + - includesModifiedFiles: + files: [] + then: + - addLabel: + label: cli/psh diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 709117f94b..1689e9be38 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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