Skip to content

Conversation

@scastlara
Copy link
Collaborator

@scastlara scastlara commented Sep 17, 2025

Tested:
image

We got rid of one dependency (go-git), yay!

As we agreed, I moved the uncompressing thing to its own package.

closes #52

@scastlara scastlara self-assigned this Sep 17, 2025
@scastlara scastlara requested a review from sacha-c as a code owner September 17, 2025 16:04
@scastlara
Copy link
Collaborator Author

/lgtm review

@scastlara
Copy link
Collaborator Author

/lgtm review

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

🦉 lgtm Review

Score: LGTM 👍

🔍 Summary

The PR is a well-executed refactor that successfully replaces the go-git dependency with a direct download and extraction mechanism. The extraction logic has been correctly moved to a new compress package, promoting code reuse and maintainability. The new Download functionality in both GitHub and GitLab services is properly implemented, including error handling, context with timeouts for HTTP requests, and robust path traversal prevention in the extractor. Comprehensive tests have been added for the GitHub download feature, ensuring its correctness.

Overall, the changes improve the project's dependency footprint, code organization, and maintainability. No major issues were found.

More information
  • Id: 6976451242324e6f93090ba757525b37
  • Model: gemini-2.5-flash-preview-05-20
  • Created at: 2025-09-18T10:30:40.400968+00:00
Usage summary
  • Request count: 2
  • Request tokens: 80,108
  • Response tokens: 3,407
  • Total tokens: 83,515

See the 📚 lgtm-ai repository for more information about lgtm.

@scastlara scastlara merged commit 34f674f into main Sep 18, 2025
2 checks passed
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.

Download the project instead of cloning with git

3 participants