-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
feat: add GitExtractor component #5459
base: main
Are you sure you want to change the base?
feat: add GitExtractor component #5459
Conversation
f2d65d0
to
68737d2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, @raphaelchristi
This is looking good.
The tmpdir calls are blocking and it would be better if they were async. Could you refactor that?
Also, you don't need to delete the folder because you could use a context manager that will remove the folder once the code block runs.
… cleanup - Convert methods to async using async/await - Add asynccontextmanager for automatic tmpdir cleanup - Remove manual shutil.rmtree calls
Hi @ogabrielluiz , Thank you for the review! I've implemented the suggested changes:
Let me know if you'd like me to make any additional adjustments to the implementation. |
This pull request introduces the GitExtractor component for analyzing Git repositories. Key features: