From 268f15309d4ab1537e9f55d66351e9601d4d0276 Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Mon, 4 Nov 2024 11:12:27 -0800 Subject: [PATCH] Java server label --- .github/policies/issues.triage.generated.yml | 8 ++++++++ .github/policies/prs.triage.generated.yml | 12 ++++++++++-- CONTRIBUTING.md | 1 + eng/common/config/area.ts | 5 +++-- eng/common/config/labels.ts | 4 ++++ 5 files changed, 26 insertions(+), 4 deletions(-) diff --git a/.github/policies/issues.triage.generated.yml b/.github/policies/issues.triage.generated.yml index b9a24b68c6..e4e967a20d 100644 --- a/.github/policies/issues.triage.generated.yml +++ b/.github/policies/issues.triage.generated.yml @@ -55,6 +55,8 @@ configuration: label: emitter:service:csharp - hasLabel: label: emitter:service:js + - hasLabel: + label: emitter:service:java - hasLabel: label: eng - hasLabel: @@ -109,6 +111,8 @@ configuration: label: emitter:service:csharp - labelAdded: label: emitter:service:js + - labelAdded: + label: emitter:service:java - labelAdded: label: eng - labelAdded: @@ -164,6 +168,8 @@ configuration: label: emitter:service:csharp - labelRemoved: label: emitter:service:js + - labelRemoved: + label: emitter:service:java - labelRemoved: label: eng - labelRemoved: @@ -210,6 +216,8 @@ configuration: label: emitter:service:csharp - hasLabel: label: emitter:service:js + - hasLabel: + label: emitter:service:java - hasLabel: label: eng - hasLabel: diff --git a/.github/policies/prs.triage.generated.yml b/.github/policies/prs.triage.generated.yml index c41d4e2b5f..ebe79e0dfe 100644 --- a/.github/policies/prs.triage.generated.yml +++ b/.github/policies/prs.triage.generated.yml @@ -131,16 +131,24 @@ configuration: label: openapi3:converter - if: - includesModifiedFiles: - files: [] + files: + - packages/http-server-csharp then: - addLabel: label: emitter:service:csharp - if: - includesModifiedFiles: - files: [] + files: + - packages/http-server-javascript then: - addLabel: label: emitter:service:js + - if: + - includesModifiedFiles: + files: [] + then: + - addLabel: + label: emitter:service:java - if: - includesModifiedFiles: files: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 060f863e3c..3652215176 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -322,6 +322,7 @@ Area of the codebase | `openapi3:converter` | #957300 | Issues for @typespec/openapi3 openapi to typespec converter | | `emitter:service:csharp` | #967200 | | | `emitter:service:js` | #967200 | | +| `emitter:service:java` | #967200 | Issue for Java service emitter | | `eng` | #65bfff | | | `ui:playground` | #3256a8 | | | `ui:type-graph-viewer` | #3256a8 | | diff --git a/eng/common/config/area.ts b/eng/common/config/area.ts index f1ba2e9262..281fed6bc9 100644 --- a/eng/common/config/area.ts +++ b/eng/common/config/area.ts @@ -21,8 +21,9 @@ export const AreaPaths: Record = { "emitter:protobuf": ["packages/protobuf/"], "emitter:openapi3": ["packages/openapi3/"], "openapi3:converter": ["packages/openapi3/src/cli/actions/convert/"], - "emitter:service:csharp": [], - "emitter:service:js": [], + "emitter:service:csharp": ["packages/http-server-csharp"], + "emitter:service:js": ["packages/http-server-javascript"], + "emitter:service:java": [], eng: ["eng/", ".github/"], "ui:playground": ["packages/playground/"], "ui:type-graph-viewer": ["packages/html-program-viewer/"], diff --git a/eng/common/config/labels.ts b/eng/common/config/labels.ts index 20754ac639..c8911703d2 100644 --- a/eng/common/config/labels.ts +++ b/eng/common/config/labels.ts @@ -83,6 +83,10 @@ export const AreaLabels = defineLabels({ color: "967200", description: "", }, + "emitter:service:java": { + color: "967200", + description: "Issue for Java service emitter", + }, eng: { color: "65bfff", description: "",