From e29cb536ecf46c657db1d53a19a38a60564322e3 Mon Sep 17 00:00:00 2001 From: "puresweep2[bot]" <144288832+puresweep2[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 23:09:24 +0000 Subject: [PATCH 1/4] Create sweep.yaml --- sweep.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sweep.yaml diff --git a/sweep.yaml b/sweep.yaml new file mode 100644 index 0000000..9767a9b --- /dev/null +++ b/sweep.yaml @@ -0,0 +1,12 @@ +# Sweep AI turns bug fixes & feature requests into code changes (https://sweep.dev) +# For details on our config file, check out our docs at https://docs.sweep.dev + +# If you use this be sure to frequently sync your default branch(main, master) to dev. +branch: 'master' +# By default Sweep will read the logs and outputs from your existing Github Actions. To disable this, set this to false. +gha_enabled: True +# This is the description of your project. It will be used by sweep when creating PRs. You can tell Sweep what's unique about your project, what frameworks you use, or anything else you want. +# Here's an example: sweepai/sweep is a python project. The main api endpoints are in sweepai/api.py. Write code that adheres to PEP8. +description: '' + +# Default Values: https://github.com/sweepai/sweep/blob/main/sweep.yaml From 2dcbc45dfb566ecf26afb85227fe803586deadce Mon Sep 17 00:00:00 2001 From: "puresweep2[bot]" <144288832+puresweep2[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 23:09:24 +0000 Subject: [PATCH 2/4] Create sweep template --- .github/ISSUE_TEMPLATE/sweep-template.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/sweep-template.yml diff --git a/.github/ISSUE_TEMPLATE/sweep-template.yml b/.github/ISSUE_TEMPLATE/sweep-template.yml new file mode 100644 index 0000000..98811de --- /dev/null +++ b/.github/ISSUE_TEMPLATE/sweep-template.yml @@ -0,0 +1,14 @@ +name: Sweep Issue +title: 'Sweep: ' +description: For small bugs, features, refactors, and tests to be handled by Sweep, an AI-powered junior developer. +labels: sweep +body: + - type: textarea + id: description + attributes: + label: Details + description: Tell Sweep where and what to edit and provide enough context for a new developer to the codebase + placeholder: | + Bugs: The bug might be in ... file. Here are the logs: ... + Features: the new endpoint should use the ... class from ... file because it contains ... logic. + Refactors: We are migrating this function to ... version because ... From c1815230f873880cd3a48efde0a7773fabf5a05e Mon Sep 17 00:00:00 2001 From: "puresweep2[bot]" <144288832+puresweep2[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 23:09:25 +0000 Subject: [PATCH 3/4] Create sweep slow template --- .github/ISSUE_TEMPLATE/sweep-slow-template.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/sweep-slow-template.yml diff --git a/.github/ISSUE_TEMPLATE/sweep-slow-template.yml b/.github/ISSUE_TEMPLATE/sweep-slow-template.yml new file mode 100644 index 0000000..1f23840 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/sweep-slow-template.yml @@ -0,0 +1,14 @@ +name: Sweep Slow Issue +title: 'Sweep (slow): ' +description: For larger bugs, features, refactors, and tests to be handled by Sweep, an AI-powered junior developer. Sweep will perform a deeper search and more self-reviews but will take longer. +labels: sweep +body: + - type: textarea + id: description + attributes: + label: Details + description: Tell Sweep where and what to edit and provide enough context for a new developer to the codebase + placeholder: | + Bugs: The bug might be in ... file. Here are the logs: ... + Features: the new endpoint should use the ... class from ... file because it contains ... logic. + Refactors: We are migrating this function to ... version because ... From 812d76a0417c294152d0dc11d52875c9c1f267f7 Mon Sep 17 00:00:00 2001 From: "puresweep2[bot]" <144288832+puresweep2[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 23:09:25 +0000 Subject: [PATCH 4/4] Create sweep fast template --- .github/ISSUE_TEMPLATE/sweep-fast-template.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/sweep-fast-template.yml diff --git a/.github/ISSUE_TEMPLATE/sweep-fast-template.yml b/.github/ISSUE_TEMPLATE/sweep-fast-template.yml new file mode 100644 index 0000000..ff4aab1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/sweep-fast-template.yml @@ -0,0 +1,14 @@ +name: Sweep Fast Issue +title: 'Sweep (fast): ' +description: For few-line fixes to be handled by Sweep, an AI-powered junior developer. Sweep will use GPT-3.5 to quickly create a PR for very small changes. +labels: sweep +body: + - type: textarea + id: description + attributes: + label: Details + description: Tell Sweep where and what to edit and provide enough context for a new developer to the codebase + placeholder: | + Bugs: The bug might be in ... file. Here are the logs: ... + Features: the new endpoint should use the ... class from ... file because it contains ... logic. + Refactors: We are migrating this function to ... version because ...