From ce49dd68204b2710266015fcec0d4482e7fc211a Mon Sep 17 00:00:00 2001 From: bowenlan-amzn Date: Mon, 13 Nov 2023 09:37:15 -0800 Subject: [PATCH 1/7] Convert issue template to markdown Signed-off-by: bowenlan-amzn --- .github/ISSUE_TEMPLATE/bug_template.md | 33 ---------- .github/ISSUE_TEMPLATE/bug_template.yml | 84 +++++++++++++++++++++++++ 2 files changed, 84 insertions(+), 33 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_template.md create mode 100644 .github/ISSUE_TEMPLATE/bug_template.yml diff --git a/.github/ISSUE_TEMPLATE/bug_template.md b/.github/ISSUE_TEMPLATE/bug_template.md deleted file mode 100644 index be3ae51b237ee..0000000000000 --- a/.github/ISSUE_TEMPLATE/bug_template.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -name: 🐛 Bug report -about: Create a report to help us improve -title: "[BUG]" -labels: 'bug, untriaged' -assignees: '' ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Plugins** -Please list all plugins currently enabled. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Host/Environment (please complete the following information):** - - OS: [e.g. iOS] - - Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug_template.yml b/.github/ISSUE_TEMPLATE/bug_template.yml new file mode 100644 index 0000000000000..f2c3b0837c04f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_template.yml @@ -0,0 +1,84 @@ +name: 🐛 Bug report +description: Create a report to help us improve +title: "[BUG] " +labels: ['bug, untriaged'] +body: + - type: textarea + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + validations: + required: true + - type: dropdown + attributes: + label: Choose the related component + description: Choose one specific OpenSearch component your problem belongs to. + multiple: false + options: + - Search:Resiliency + - Search:Performance + - Search:Query Capabilities + - Search:Query Insights + - Search:Aggregations + - Search:Remote Search + - Search:Relevance + - Search:Searchable Snapshots + - Search + - Indexing:Replication + - Indexing:Performance + - Indexing + - Storage:Snapshots + - Storage:Performance + - Storage:Durability + - Storage:Remote + - Storage + - Cluster Manager + - Extensions + - Build Libraries & Interfaces + - Plugins + - Others + validations: + required: true + - type: textarea + attributes: + label: To Reproduce + description: Steps to reproduce the behavior. + value: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + validations: + required: true + - type: textarea + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: textarea + attributes: + label: Documents, Screenshots + description: If applicable, please attach more information in this area, like log files or screenshoots, to help debug your problem. + validations: + required: false + - type: textarea + attributes: + label: Host/Environment + value: | + - OS: [e.g. iOS] + - Version [e.g. 22] + validations: + required: false + - type: textarea + attributes: + label: Plugins + description: Please list all plugins currently enabled. + validations: + required: false + - type: textarea + attributes: + label: Additional context + description: Add any other context about the problem here. + validations: + required: false From ba7a280f0bda5e15a31d5ed669564171efdfb9b5 Mon Sep 17 00:00:00 2001 From: bowenlan-amzn <bowenlan23@gmail.com> Date: Mon, 13 Nov 2023 15:37:58 -0800 Subject: [PATCH 2/7] Convert feature request template Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com> --- .github/ISSUE_TEMPLATE/feature_request.md | 19 ------- .github/ISSUE_TEMPLATE/feature_request.yml | 60 ++++++++++++++++++++++ 2 files changed, 60 insertions(+), 19 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 53b3614a34342..0000000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -name: 🎆 Feature request -about: Suggest an idea for this project -title: '' -labels: 'enhancement, untriaged' -assignees: '' ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000000000..4cf0f51dc91d9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,60 @@ +name: 🎆 Feature request +description: Suggest an idea for this project +title: '[Feature Request] <title>' +labels: ['enhancement, untriaged'] +body: + - type: textarea + attributes: + label: Is your feature request related to a problem? Please describe + description: A clear and concise description of what the problem is. + placeholder: Ex. I'm always frustrated when [...] + validations: + required: true + - type: textarea + attributes: + label: Describe the solution you'd like + description: A clear and concise description of what you want to happen. + validations: + required: true + - type: dropdown + attributes: + label: Choose the related component + description: Choose one specific OpenSearch component your problem belongs to. + multiple: false + options: + - Search:Resiliency + - Search:Performance + - Search:Query Capabilities + - Search:Query Insights + - Search:Aggregations + - Search:Remote Search + - Search:Relevance + - Search:Searchable Snapshots + - Search + - Indexing:Replication + - Indexing:Performance + - Indexing + - Storage:Snapshots + - Storage:Performance + - Storage:Durability + - Storage:Remote + - Storage + - Cluster Manager + - Extensions + - Build Libraries & Interfaces + - Plugins + - Others + validations: + required: true + - type: textarea + attributes: + label: Describe alternatives you've considered + description: A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false + - type: textarea + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. + validations: + required: false From 6955815e94ff0d72923d94ec4d15086fa892e1bd Mon Sep 17 00:00:00 2001 From: bowenlan-amzn <bowenlan23@gmail.com> Date: Mon, 13 Nov 2023 17:16:05 -0800 Subject: [PATCH 3/7] Testing Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com> --- .github/ISSUE_TEMPLATE/bug_template.yml | 2 +- .github/ISSUE_TEMPLATE/feature_request.yml | 4 ++-- .github/workflows/triage.yml | 28 ++++++++++++++++++++++ 3 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/triage.yml diff --git a/.github/ISSUE_TEMPLATE/bug_template.yml b/.github/ISSUE_TEMPLATE/bug_template.yml index f2c3b0837c04f..8bb30192524cb 100644 --- a/.github/ISSUE_TEMPLATE/bug_template.yml +++ b/.github/ISSUE_TEMPLATE/bug_template.yml @@ -11,7 +11,7 @@ body: required: true - type: dropdown attributes: - label: Choose the related component + label: Related component description: Choose one specific OpenSearch component your problem belongs to. multiple: false options: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 4cf0f51dc91d9..d90de1c67207e 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -18,8 +18,8 @@ body: required: true - type: dropdown attributes: - label: Choose the related component - description: Choose one specific OpenSearch component your problem belongs to. + label: Related component + description: Choose one specific OpenSearch component your feature request belongs to. multiple: false options: - Search:Resiliency diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml new file mode 100644 index 0000000000000..be1dede36cf58 --- /dev/null +++ b/.github/workflows/triage.yml @@ -0,0 +1,28 @@ +name: Auto triage based on the component label in issue + +on: + issues: + types: [opened] + +jobs: + apply-label: + if: github.repository == 'opensearch-project/OpenSearch' + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v7 + with: + script: | + const { issue, repository } = context.payload; + const { number, body } = issue; + const { owner, name } = repository; + const regex = /###\sRelated\scomponent\n\n(\w*)\n/gm; + let match; + while ( ( match = regex.exec( body ) ) ) { + const [ , component_label ] = match; + await github.rest.issues.addLabels( { + owner: owner.login, + repo: name, + issue_number: number, + labels: [ `${ component_label }` ], + } ); + } From 65aded64ebdccdeec6a45fcd522180ecd9a7c6b5 Mon Sep 17 00:00:00 2001 From: Marc Handalian <marc.handalian@gmail.com> Date: Thu, 7 Dec 2023 15:35:17 -0800 Subject: [PATCH 4/7] Sort component options and add description Signed-off-by: Marc Handalian <marc.handalian@gmail.com> --- .github/ISSUE_TEMPLATE/bug_template.yml | 32 +++++++++++----------- .github/ISSUE_TEMPLATE/feature_request.yml | 32 +++++++++++----------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_template.yml b/.github/ISSUE_TEMPLATE/bug_template.yml index 8bb30192524cb..32e50c1833ddc 100644 --- a/.github/ISSUE_TEMPLATE/bug_template.yml +++ b/.github/ISSUE_TEMPLATE/bug_template.yml @@ -12,31 +12,31 @@ body: - type: dropdown attributes: label: Related component - description: Choose one specific OpenSearch component your problem belongs to. + description: Choose a specific OpenSearch component your bug belongs to. If you are unsure which to select or if the component is not present, select "Other". multiple: false options: - - Search:Resiliency + - Build Libraries & Interfaces + - Cluster Manager + - Extensions + - Indexing + - Indexing:Performance + - Indexing:Replication + - Other + - Plugins + - Search + - Search:Aggregations - Search:Performance - Search:Query Capabilities - Search:Query Insights - - Search:Aggregations - - Search:Remote Search - Search:Relevance + - Search:Remote Search + - Search:Resiliency - Search:Searchable Snapshots - - Search - - Indexing:Replication - - Indexing:Performance - - Indexing - - Storage:Snapshots - - Storage:Performance + - Storage - Storage:Durability + - Storage:Performance - Storage:Remote - - Storage - - Cluster Manager - - Extensions - - Build Libraries & Interfaces - - Plugins - - Others + - Storage:Snapshots validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index d90de1c67207e..fe920a22e4e5c 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -19,31 +19,31 @@ body: - type: dropdown attributes: label: Related component - description: Choose one specific OpenSearch component your feature request belongs to. + description: Choose a specific OpenSearch component your feature request belongs to. If you are unsure of which component to select or if the component is not present, select "Other". multiple: false options: - - Search:Resiliency + - Build Libraries & Interfaces + - Cluster Manager + - Extensions + - Indexing + - Indexing:Performance + - Indexing:Replication + - Other + - Plugins + - Search + - Search:Aggregations - Search:Performance - Search:Query Capabilities - Search:Query Insights - - Search:Aggregations - - Search:Remote Search - Search:Relevance + - Search:Remote Search + - Search:Resiliency - Search:Searchable Snapshots - - Search - - Indexing:Replication - - Indexing:Performance - - Indexing - - Storage:Snapshots - - Storage:Performance + - Storage - Storage:Durability + - Storage:Performance - Storage:Remote - - Storage - - Cluster Manager - - Extensions - - Build Libraries & Interfaces - - Plugins - - Others + - Storage:Snapshots validations: required: true - type: textarea From 6bcf739a9a746d180dd2d843c5033cc0e23722d2 Mon Sep 17 00:00:00 2001 From: Marc Handalian <marc.handalian@gmail.com> Date: Fri, 8 Dec 2023 09:40:28 -0800 Subject: [PATCH 5/7] Add missing labels - Clients, Libraries, Build Signed-off-by: Marc Handalian <marc.handalian@gmail.com> --- .github/ISSUE_TEMPLATE/bug_template.yml | 4 +++- .github/ISSUE_TEMPLATE/feature_request.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_template.yml b/.github/ISSUE_TEMPLATE/bug_template.yml index 32e50c1833ddc..00492baba7e3d 100644 --- a/.github/ISSUE_TEMPLATE/bug_template.yml +++ b/.github/ISSUE_TEMPLATE/bug_template.yml @@ -15,12 +15,14 @@ body: description: Choose a specific OpenSearch component your bug belongs to. If you are unsure which to select or if the component is not present, select "Other". multiple: false options: - - Build Libraries & Interfaces + - Build + - Clients - Cluster Manager - Extensions - Indexing - Indexing:Performance - Indexing:Replication + - Libraries - Other - Plugins - Search diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index fe920a22e4e5c..413ec690f036e 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -22,12 +22,14 @@ body: description: Choose a specific OpenSearch component your feature request belongs to. If you are unsure of which component to select or if the component is not present, select "Other". multiple: false options: - - Build Libraries & Interfaces + - Build + - Clients - Cluster Manager - Extensions - Indexing - Indexing:Performance - Indexing:Replication + - Libraries - Other - Plugins - Search From 56d4abd7588819751293737c86e9dbd98a3adff3 Mon Sep 17 00:00:00 2001 From: Marc Handalian <marc.handalian@gmail.com> Date: Fri, 8 Dec 2023 11:56:42 -0800 Subject: [PATCH 6/7] Move storage/search/indexing labels under their sub categories Signed-off-by: Marc Handalian <marc.handalian@gmail.com> --- .github/ISSUE_TEMPLATE/bug_template.yml | 8 ++++---- .github/ISSUE_TEMPLATE/feature_request.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_template.yml b/.github/ISSUE_TEMPLATE/bug_template.yml index 00492baba7e3d..ba6b12f51f3dd 100644 --- a/.github/ISSUE_TEMPLATE/bug_template.yml +++ b/.github/ISSUE_TEMPLATE/bug_template.yml @@ -15,17 +15,16 @@ body: description: Choose a specific OpenSearch component your bug belongs to. If you are unsure which to select or if the component is not present, select "Other". multiple: false options: + - Other - Build - Clients - Cluster Manager - Extensions - - Indexing - Indexing:Performance - Indexing:Replication + - Indexing - Libraries - - Other - Plugins - - Search - Search:Aggregations - Search:Performance - Search:Query Capabilities @@ -34,11 +33,12 @@ body: - Search:Remote Search - Search:Resiliency - Search:Searchable Snapshots - - Storage + - Search - Storage:Durability - Storage:Performance - Storage:Remote - Storage:Snapshots + - Storage validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 413ec690f036e..d93ac8b590706 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -22,17 +22,16 @@ body: description: Choose a specific OpenSearch component your feature request belongs to. If you are unsure of which component to select or if the component is not present, select "Other". multiple: false options: + - Other - Build - Clients - Cluster Manager - Extensions - - Indexing - Indexing:Performance - Indexing:Replication + - Indexing - Libraries - - Other - Plugins - - Search - Search:Aggregations - Search:Performance - Search:Query Capabilities @@ -41,11 +40,12 @@ body: - Search:Remote Search - Search:Resiliency - Search:Searchable Snapshots - - Storage + - Search - Storage:Durability - Storage:Performance - Storage:Remote - Storage:Snapshots + - Storage validations: required: true - type: textarea From 60b1cb5326d6d790a77c2ca1bca4b011a5a35963 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 04:00:15 +0000 Subject: [PATCH 7/7] Bump com.gradle.enterprise from 3.15.1 to 3.16 Bumps com.gradle.enterprise from 3.15.1 to 3.16. --- updated-dependencies: - dependency-name: com.gradle.enterprise dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> --- settings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.gradle b/settings.gradle index 139d45013710f..c30a3527233b0 100644 --- a/settings.gradle +++ b/settings.gradle @@ -10,7 +10,7 @@ */ plugins { - id "com.gradle.enterprise" version "3.15.1" + id "com.gradle.enterprise" version "3.16" } ext.disableBuildCache = hasProperty('DISABLE_BUILD_CACHE') || System.getenv().containsKey('DISABLE_BUILD_CACHE')