From c95cc34b8d739d0f67892930d9cac6b4df572797 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sat, 5 Aug 2023 02:50:36 +0000 Subject: [PATCH 1/5] Create sweep.yaml config file --- 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 000000000..4f98c7279 --- /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 e9d3379a29e34020b990de588979566fed71e1f8 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sat, 5 Aug 2023 02:50:36 +0000 Subject: [PATCH 2/5] Create bugfix template --- .github/ISSUE_TEMPLATE/sweep-bugfix.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/sweep-bugfix.yml diff --git a/.github/ISSUE_TEMPLATE/sweep-bugfix.yml b/.github/ISSUE_TEMPLATE/sweep-bugfix.yml new file mode 100644 index 000000000..25f43c357 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/sweep-bugfix.yml @@ -0,0 +1,11 @@ +name: Bugfix +title: 'Sweep: ' +description: Write something like "We notice ... behavior when ... happens instead of ..."" +labels: sweep +body: + - type: textarea + id: description + attributes: + label: Details + description: More details about the bug + placeholder: The bug might be in ... file \ No newline at end of file From 656df91630cd6ebacc388959a10cc8d2d77de573 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sat, 5 Aug 2023 02:50:36 +0000 Subject: [PATCH 3/5] Create feature template --- .github/ISSUE_TEMPLATE/sweep-feature.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/sweep-feature.yml diff --git a/.github/ISSUE_TEMPLATE/sweep-feature.yml b/.github/ISSUE_TEMPLATE/sweep-feature.yml new file mode 100644 index 000000000..6b985bc8c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/sweep-feature.yml @@ -0,0 +1,11 @@ +name: Feature Request +title: 'Sweep: ' +description: Write something like "Write an api endpoint that does "..." in the "..." file" +labels: sweep +body: + - type: textarea + id: description + attributes: + label: Details + description: More details for Sweep + placeholder: The new endpoint should use the ... class from ... file because it contains ... logic \ No newline at end of file From 96c27ca72dcb30cf0332359a6d2bd15278c70562 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sat, 5 Aug 2023 02:50:37 +0000 Subject: [PATCH 4/5] Create refactor template --- .github/ISSUE_TEMPLATE/sweep-refactor.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/sweep-refactor.yml diff --git a/.github/ISSUE_TEMPLATE/sweep-refactor.yml b/.github/ISSUE_TEMPLATE/sweep-refactor.yml new file mode 100644 index 000000000..ed0f8a666 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/sweep-refactor.yml @@ -0,0 +1,11 @@ +name: Refactor +title: 'Sweep: ' +description: Write something like "Modify the ... api endpoint to use ... version and ... framework" +labels: sweep +body: + - type: textarea + id: description + attributes: + label: Details + description: More details for Sweep + placeholder: We are migrating this function to ... version because ... \ No newline at end of file From e41981c0d5d144af6ed41733328d551266370a33 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sat, 5 Aug 2023 04:17:29 +0000 Subject: [PATCH 5/5] Update sweep.yaml --- sweep.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweep.yaml b/sweep.yaml index 4f98c7279..69dd7e5db 100644 --- a/sweep.yaml +++ b/sweep.yaml @@ -7,6 +7,6 @@ branch: 'main' 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: '' +description: 'react-abac is a TypeScript project that provides Attribute Based Access Control for React applications. The main functionalities are defined in the src directory. The project uses React and TypeScript, and adheres to the best practices for these technologies.' # Default Values: https://github.com/sweepai/sweep/blob/main/sweep.yaml