-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sweep: Add repo config file #246
Comments
Hey @lukejagg, I've started working on this PR. Here's a rough summary of my plan:
Give me a minute! Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description.sweep/sweepai/utils/github_utils.py Lines 1 to 100 in c23ac48
Lines 1 to 104 in c23ac48
sweep/sweepai/utils/constants.py Lines 1 to 27 in c23ac48
sweep/sweepai/app/api_client.py Lines 1 to 62 in c23ac48
Lines 506 to 738 in c23ac48
I'm a bot that handles simple bugs and feature requests but I might make mistakes. Please be kind! |
Hey @lukejagg! 👋 I've started working on your PR to add the repo config file. Here's a rough summary of my plan: 💡 I'll create the following PR: Add repo config file Create a new file Here is my plan:
Reply with "ok" to create the PR or anything else to propose changes. Give me a minute! 😊 Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description.sweep/sweepai/utils/github_utils.py Lines 1 to 100 in c23ac48
Lines 1 to 104 in c23ac48
sweep/sweepai/utils/constants.py Lines 1 to 27 in c23ac48
sweep/sweepai/app/api_client.py Lines 1 to 62 in c23ac48
Lines 506 to 738 in c23ac48
I'm a bot that handles simple bugs and feature requests but I might make mistakes. Please be kind! |
This is for a GitHub bot, so the repo is not local. We have to use the github repo type instead, which should be somewhere else in the code. So, take the github repo as input into the class instead. |
Hey @lukejagg, I've started working on this PR. Here's a rough summary of my plan:
Give me a minute! Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description.Lines 1 to 104 in c23ac48
Lines 1 to 34 in c23ac48
sweep/sweepai/utils/github_utils.py Lines 1 to 100 in c23ac48
sweep/sweepai/utils/constants.py Lines 1 to 27 in c23ac48
sweep/sweepai/handlers/on_ticket.py Lines 1 to 98 in c23ac48
I'm a bot that handles simple bugs and feature requests but I might make mistakes. Please be kind! |
Hey @lukejagg, I've started working on this PR. Here's a rough summary of my plan:
Give me a minute! Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description.Lines 1 to 104 in c23ac48
Lines 1 to 34 in c23ac48
sweep/sweepai/utils/github_utils.py Lines 1 to 251 in c23ac48
sweep/sweepai/utils/constants.py Lines 1 to 27 in c23ac48
sweep/sweepai/handlers/on_ticket.py Lines 1 to 98 in c23ac48
I'm a bot that handles simple bugs and feature requests but I might make mistakes. Please be kind! |
Hey @lukejagg! 👋 I've started working on your PR to add the 💡 I'll create the following PR: Add repo config file I'll create a new file called Here is my plan:
Reply with "ok" to create the PR or anything else to propose changes. Give me a minute! 😊 Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description.Lines 1 to 104 in c23ac48
sweep/sweepai/utils/github_utils.py Lines 1 to 100 in c23ac48
Lines 1 to 109 in c23ac48
Lines 506 to 738 in c23ac48
sweep/sweepai/app/api_client.py Lines 1 to 62 in c23ac48
I'm a bot that handles simple bugs and feature requests but I might make mistakes. Please be kind! |
Hey @lukejagg, I've started working on this PR. Here's a rough summary of the plan:
Give me a minute! Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description.Lines 1 to 104 in c23ac48
sweep/sweepai/utils/github_utils.py Lines 1 to 100 in c23ac48
Lines 1 to 109 in c23ac48
Lines 506 to 738 in c23ac48
sweep/sweepai/app/api_client.py Lines 1 to 62 in c23ac48
I'm a bot that handles simple bugs and feature requests but I might make mistakes. Please be kind! |
Description
Create new file for sweepai/utils/repo_config.py, that will go from a "repo" type, read the "sweep.yaml" file, and load the settings into the RepoConfig class.
Example:
class RepoConfig
def init(self, repo: Repository):
...
be sure to import the correct packages at top of file
Relevant files
No response
The text was updated successfully, but these errors were encountered: