Skip to content

Pujol cg 10460 make codebasefetch codebase work on the sdk #50

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

Merged

Conversation

kopekC
Copy link
Member

@kopekC kopekC commented Jan 24, 2025

Motivation

Allows us to fetch remote codebases

  • [ x] I have added tests for my changes
  • [ x] I have updated the documentation or added new documentation as needed
  • [x ] I have read and agree to the Contributor License Agreement

@kopekC kopekC requested a review from codegen-team as a code owner January 24, 2025 01:30
Copy link

linear bot commented Jan 24, 2025

@kopekC kopekC merged commit afed72b into develop Jan 24, 2025
1 of 11 checks passed
@kopekC kopekC deleted the pujol-cg-10460-make-codebasefetch_codebase-work-on-the-sdk branch January 24, 2025 18:40
@@ -82,6 +82,49 @@ def create_from_commit(cls, repo_path: str, default_branch: str, commit: str, ur
op.checkout_commit(commit)
return op

@classmethod
def create_from_repo(cls, repo_path: str, url: str) -> Self:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this not take in a commit?

jayhack pushed a commit that referenced this pull request Feb 9, 2025
# Motivation
Allows us to fetch remote codebases


- [ x] I have added tests for my changes
- [ x] I have updated the documentation or added new documentation as
needed
- [x ] I have read and agree to the [Contributor License
Agreement](../CLA.md)

---------

Co-authored-by: KopekC <[email protected]>
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.

2 participants