From 4ceb72e9d5218efcb0096310e2e7125d7a2419d8 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sun, 10 Sep 2023 08:06:03 +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 3b59cf349a8e55490d031f687d14d8b11db1e7d5 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sun, 10 Sep 2023 08:06:04 +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 656aceddf0b8b3ecef5bf94beb76d8ab803879b4 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sun, 10 Sep 2023 08:06:04 +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 15854fb5e05a1c20b318a48cb5eb2a9ba21ae071 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sun, 10 Sep 2023 08:06:05 +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 ...