From 492881a0e00174f6865f70adab8b90813f40be7a Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:51:14 +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..4f98c72 --- /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: 'main' +# 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 c488d6b59352b0c5698f9406f8e8c50ab8112022 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:51:15 +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 f1d3f4d407b00da4dc167995ac205f0109a1a74b Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:51:15 +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 abe0b43e4280d0aa165c038294b2fe67be047804 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:51:16 +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 ...