From ed102dc730fe4fde3b0ac98d9d1f19f4fa338846 Mon Sep 17 00:00:00 2001 From: ofir-frd Date: Thu, 23 Jan 2025 13:35:30 +0200 Subject: [PATCH 1/7] 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 2/7] 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 3/7] 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 4/7] 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 5/7] 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 6/7] 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 7/7] 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