Skip to content
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

fix: add validation for GitHub repo paths in Codebase constructor #529

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

When users try to pass a GitHub repo path (e.g., 'fastapi/fastapi') to the Codebase constructor, raise a ValueError guiding them to use Codebase.from_repo() instead.

Link to Devin run: https://app.devin.ai/sessions/d473cf74f08b405eb98d4b7043ff5e5e
Requested by: [email protected]

When users try to pass a GitHub repo path (e.g., 'fastapi/fastapi') to the
Codebase constructor, raise a ValueError guiding them to use
Codebase.from_repo() instead.

Co-Authored-By: [email protected] <[email protected]>
@devin-ai-integration devin-ai-integration bot requested review from codegen-team and a team as code owners February 17, 2025 22:46
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@jayhack jayhack changed the title Add validation for GitHub repo paths in Codebase constructor fix: add validation for GitHub repo paths in Codebase constructor Feb 17, 2025
Copy link

codecov bot commented Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants