From ed102dc730fe4fde3b0ac98d9d1f19f4fa338846 Mon Sep 17 00:00:00 2001 From: ofir-frd Date: Thu, 23 Jan 2025 13:35:30 +0200 Subject: [PATCH 01/12] feat: add GitHub issue templates for bug reports and feature requests --- .github/ISSUE_TEMPLATE/bug-report.yml | 56 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 12 +++++ .github/ISSUE_TEMPLATE/feature-request.yml | 31 ++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 000000000..cfe062746 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,56 @@ +name: "\U0001FAB2 Bug Report" +description: Submit a bug report to help us improve PR-Agent +labels: [ "bug" ] +body: + - type: textarea + id: system-info + attributes: + label: System Info + description: Please share your system info with us. + render: shell + placeholder: platform, python version, model used, etc... + validations: + required: true + + - type: checkboxes + id: information-scripts-examples + attributes: + label: Information + description: 'The problem arises when using:' + options: + - label: "The official example scripts" + - label: "My own modified scripts" + + - type: checkboxes + id: information-tasks + attributes: + label: Tasks + description: "The tasks I am working on are:" + options: + - label: "An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)" + - label: "My own task or dataset (give details below)" + + - type: textarea + id: reproduction + validations: + required: true + attributes: + label: Reproduction (minimal, reproducible, runnable) + description: | + Please provide a code sample that reproduces the problem you ran into. It can be a GitHub link or just a code snippet. + If you have code snippets, error messages, stack traces please provide them here as well. + Important! Use code tags to correctly format your code. See https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting + Do not use screenshots, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code. + Providing a **minimal**, **reproducible** reproduction using a **publicly available model** significantly increase the chances of a fix in a timely manner. + + placeholder: | + Providing a minimal, reproducible reproduction using a publicly available model significantly increase the chances of a fix in a timely manner. + + + - type: textarea + id: expected-behavior + validations: + required: true + attributes: + label: Expected behavior + description: "A clear and concise description of what you would expect to happen." diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..493a1ecbd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,12 @@ +blank_issues_enabled: true +version: 0.1 +contact_links: + - name: Discord community + url: https://discord.gg/kG35uSHDBc + about: Join our discord community + - name: Qodo Merge documentation + url: https://qodo-merge-docs.qodo.ai/ + about: Access comprehensive guides + - name: Qodo site + url: https://www.qodo.ai/ + about: Visit our main website diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 000000000..9ff76dad7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,31 @@ +name: "\U0001F4A1 Feature request" +description: Submit a proposal/request for a new PR-Agent feature +labels: [ "feature" ] +body: + - type: textarea + id: feature-request + validations: + required: true + attributes: + label: Feature request + description: | + A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. + + - type: textarea + id: motivation + validations: + required: true + attributes: + label: Motivation + description: | + Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too. + + + - type: textarea + id: contribution + validations: + required: true + attributes: + label: Your contribution + description: | + Is there any way that you could help, e.g. by submitting a PR? \ No newline at end of file From 2f69c8989c5af1bf7e46e7bec5a8b4a89dbaa401 Mon Sep 17 00:00:00 2001 From: ofir-frd Date: Thu, 23 Jan 2025 13:38:02 +0200 Subject: [PATCH 02/12] clean-up --- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 9ff76dad7..6d41795fb 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -28,4 +28,4 @@ body: attributes: label: Your contribution description: | - Is there any way that you could help, e.g. by submitting a PR? \ No newline at end of file + Is there any way that you could help, e.g. by submitting a PR? From 20bbe4187a0b7ff6c897b7b865abda491133d6a4 Mon Sep 17 00:00:00 2001 From: ofir-frd Date: Thu, 23 Jan 2025 15:57:13 +0200 Subject: [PATCH 03/12] docs: reorder contact links in issue template config --- .github/ISSUE_TEMPLATE/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 493a1ecbd..157a41046 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,12 +1,12 @@ blank_issues_enabled: true version: 0.1 contact_links: - - name: Discord community - url: https://discord.gg/kG35uSHDBc - about: Join our discord community - name: Qodo Merge documentation url: https://qodo-merge-docs.qodo.ai/ about: Access comprehensive guides + - name: Discord community + url: https://discord.gg/kG35uSHDBc + about: Join our discord community - name: Qodo site url: https://www.qodo.ai/ about: Visit our main website From 68f219854921cb892afd6463b7607bb94cee947c Mon Sep 17 00:00:00 2001 From: ofir-frd Date: Thu, 23 Jan 2025 16:11:30 +0200 Subject: [PATCH 04/12] feat: update issue template dropdowns for git providers and task types --- .github/ISSUE_TEMPLATE/bug-report.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index cfe062746..d90d9a9a7 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -12,23 +12,26 @@ body: validations: required: true - - type: checkboxes + - type: dropdown id: information-scripts-examples attributes: label: Information description: 'The problem arises when using:' options: - - label: "The official example scripts" - - label: "My own modified scripts" + - "Github" + - "Gitlab" + - "Bitbucket" + - "Other" - - type: checkboxes + - type: dropdown id: information-tasks attributes: label: Tasks description: "The tasks I am working on are:" options: - - label: "An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)" - - label: "My own task or dataset (give details below)" + - "Qodo Merge commands" + - "Installation issues" + - "Other" - type: textarea id: reproduction From 97cbfe1c2b67802cbba9da93fed70e976600d84a Mon Sep 17 00:00:00 2001 From: ofir-frd Date: Thu, 23 Jan 2025 16:27:26 +0200 Subject: [PATCH 05/12] fix: update issue template labels and descriptions for git providers and bug types --- .github/ISSUE_TEMPLATE/bug-report.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index d90d9a9a7..601166bc5 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -13,9 +13,9 @@ body: required: true - type: dropdown - id: information-scripts-examples + id: information-git-provider attributes: - label: Information + label: Git provider description: 'The problem arises when using:' options: - "Github" @@ -24,12 +24,12 @@ body: - "Other" - type: dropdown - id: information-tasks + id: information-bug-type attributes: - label: Tasks - description: "The tasks I am working on are:" + label: Bug type + description: "The bugs I am experiencing are originated from:" options: - - "Qodo Merge commands" + - "PR-Agent commands" - "Installation issues" - "Other" From 363ea3eec87ac63a653d24f662144459b319b3e0 Mon Sep 17 00:00:00 2001 From: Tal Date: Thu, 23 Jan 2025 16:51:12 +0200 Subject: [PATCH 06/12] Update .github/ISSUE_TEMPLATE/bug-report.yml Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 601166bc5..f2a45f515 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -8,7 +8,7 @@ body: label: System Info description: Please share your system info with us. render: shell - placeholder: platform, python version, model used, etc... + placeholder: platform, model used, etc... validations: required: true From c4a70f4852127014d839c9b3222aba1720388392 Mon Sep 17 00:00:00 2001 From: Tal Date: Thu, 23 Jan 2025 16:52:22 +0200 Subject: [PATCH 07/12] Update .github/ISSUE_TEMPLATE/bug-report.yml Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/bug-report.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index f2a45f515..a5db12e5e 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -21,6 +21,7 @@ body: - "Github" - "Gitlab" - "Bitbucket" + - "Azure" - "Other" - type: dropdown From e5e30f7bd31a2a206fd4f7c8a10193d01508de68 Mon Sep 17 00:00:00 2001 From: ofir-frd <85901822+ofir-frd@users.noreply.github.com> Date: Mon, 27 Jan 2025 16:00:03 +0200 Subject: [PATCH 08/12] Update bug-report.yml --- .github/ISSUE_TEMPLATE/bug-report.yml | 54 +++++++++------------------ 1 file changed, 17 insertions(+), 37 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index a5db12e5e..bb70db87f 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -2,15 +2,6 @@ name: "\U0001FAB2 Bug Report" description: Submit a bug report to help us improve PR-Agent labels: [ "bug" ] body: - - type: textarea - id: system-info - attributes: - label: System Info - description: Please share your system info with us. - render: shell - placeholder: platform, model used, etc... - validations: - required: true - type: dropdown id: information-git-provider @@ -19,42 +10,31 @@ body: description: 'The problem arises when using:' options: - "Github" + - "Github Enterprise" - "Gitlab" - - "Bitbucket" + - "Bitbucket Cloud" + - "Bitbucket Server" - "Azure" - "Other" - - - type: dropdown - id: information-bug-type - attributes: - label: Bug type - description: "The bugs I am experiencing are originated from:" - options: - - "PR-Agent commands" - - "Installation issues" - - "Other" + validations: + required: true - type: textarea - id: reproduction + id: system-info + attributes: + label: System Info + description: Please share your system info with us. + render: shell + placeholder: model used, deployment type (action/app/cli/...), etc... validations: required: true - attributes: - label: Reproduction (minimal, reproducible, runnable) - description: | - Please provide a code sample that reproduces the problem you ran into. It can be a GitHub link or just a code snippet. - If you have code snippets, error messages, stack traces please provide them here as well. - Important! Use code tags to correctly format your code. See https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting - Do not use screenshots, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code. - Providing a **minimal**, **reproducible** reproduction using a **publicly available model** significantly increase the chances of a fix in a timely manner. - - placeholder: | - Providing a minimal, reproducible reproduction using a publicly available model significantly increase the chances of a fix in a timely manner. - - type: textarea - id: expected-behavior + id: bug-details + attributes: + label: Bug details + description: Please share your system info with us. + render: shell + placeholder: Describe the problem validations: required: true - attributes: - label: Expected behavior - description: "A clear and concise description of what you would expect to happen." From b81d686561cf60aa0f7c8212ae2b1d875bfa6158 Mon Sep 17 00:00:00 2001 From: ofir-frd <85901822+ofir-frd@users.noreply.github.com> Date: Mon, 27 Jan 2025 16:02:29 +0200 Subject: [PATCH 09/12] Update feature-request.yml --- .github/ISSUE_TEMPLATE/feature-request.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 6d41795fb..be48ff7b7 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -9,7 +9,7 @@ body: attributes: label: Feature request description: | - A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. + Description of the feature proposal. - type: textarea id: motivation @@ -18,14 +18,4 @@ body: attributes: label: Motivation description: | - Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too. - - - - type: textarea - id: contribution - validations: - required: true - attributes: - label: Your contribution - description: | - Is there any way that you could help, e.g. by submitting a PR? + Outline the motivation for the proposal. From a7bea3b16603a5d1fbe0bd5b3f7185d9056960ac Mon Sep 17 00:00:00 2001 From: ofir-frd Date: Mon, 27 Jan 2025 16:17:33 +0200 Subject: [PATCH 10/12] feat: add miscellaneous issue template and update template configurations --- .github/ISSUE_TEMPLATE/bug-report.yml | 6 ++-- .github/ISSUE_TEMPLATE/config.yml | 10 +++--- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- .github/ISSUE_TEMPLATE/miscellaneous.yml | 38 ++++++++++++++++++++++ 4 files changed, 46 insertions(+), 10 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/miscellaneous.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index bb70db87f..ed6845335 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,6 +1,6 @@ name: "\U0001FAB2 Bug Report" description: Submit a bug report to help us improve PR-Agent -labels: [ "bug" ] +labels: ["bug"] body: - type: dropdown @@ -9,7 +9,7 @@ body: label: Git provider description: 'The problem arises when using:' options: - - "Github" + - "Github Cloud" - "Github Enterprise" - "Gitlab" - "Bitbucket Cloud" @@ -33,7 +33,7 @@ body: id: bug-details attributes: label: Bug details - description: Please share your system info with us. + description: Please describe the problem. render: shell placeholder: Describe the problem validations: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 157a41046..70588e911 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,12 +1,10 @@ blank_issues_enabled: true version: 0.1 contact_links: - - name: Qodo Merge documentation - url: https://qodo-merge-docs.qodo.ai/ - about: Access comprehensive guides + - name: Discussions + url: https://github.com/qodo-ai/pr-agent/discussions + about: GitHub Discussions + - name: Discord community url: https://discord.gg/kG35uSHDBc about: Join our discord community - - name: Qodo site - url: https://www.qodo.ai/ - about: Visit our main website diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index be48ff7b7..141ec876d 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,6 +1,6 @@ name: "\U0001F4A1 Feature request" description: Submit a proposal/request for a new PR-Agent feature -labels: [ "feature" ] +labels: ["feature"] body: - type: textarea id: feature-request diff --git a/.github/ISSUE_TEMPLATE/miscellaneous.yml b/.github/ISSUE_TEMPLATE/miscellaneous.yml new file mode 100644 index 000000000..9132c3e3a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/miscellaneous.yml @@ -0,0 +1,38 @@ +name: "❔ General Issues" +description: Submit a bug report to help us improve PR-Agent +labels: ["general"] +body: + + - type: dropdown + id: information-git-provider + attributes: + label: Git provider + description: 'Git Provider:' + options: + - "Github Cloud" + - "Github Enterprise" + - "Gitlab" + - "Bitbucket Cloud" + - "Bitbucket Server" + - "Azure" + - "Other" + + - type: textarea + id: system-info + attributes: + label: System Info + description: Please share your system info with us. + render: shell + placeholder: model used, deployment type (action/app/cli/...), etc... + validations: + required: false + + - type: textarea + id: issues-details + attributes: + label: Issues details + description: Please share the issues details. + render: shell + placeholder: Describe the issue + validations: + required: true From 62aaeb267a2c7033c31237e5ea11f75b91b42b16 Mon Sep 17 00:00:00 2001 From: ofir-frd <85901822+ofir-frd@users.noreply.github.com> Date: Mon, 27 Jan 2025 16:20:24 +0200 Subject: [PATCH 11/12] Update bug-report.yml --- .github/ISSUE_TEMPLATE/bug-report.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index ed6845335..329eb2c7b 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -16,8 +16,8 @@ body: - "Bitbucket Server" - "Azure" - "Other" - validations: - required: true + validations: + required: true - type: textarea id: system-info From 33ed6927fc6224ad0ddc07a0b9f7e4ce689e53b3 Mon Sep 17 00:00:00 2001 From: Tal Date: Mon, 27 Jan 2025 16:21:11 +0200 Subject: [PATCH 12/12] Update .github/ISSUE_TEMPLATE/miscellaneous.yml Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/miscellaneous.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/miscellaneous.yml b/.github/ISSUE_TEMPLATE/miscellaneous.yml index 9132c3e3a..b05a87ff6 100644 --- a/.github/ISSUE_TEMPLATE/miscellaneous.yml +++ b/.github/ISSUE_TEMPLATE/miscellaneous.yml @@ -1,5 +1,5 @@ name: "❔ General Issues" -description: Submit a bug report to help us improve PR-Agent +description: Submit a general issue labels: ["general"] body: