-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add Ability to Recursively Clone Git Repo #38
Comments
hello @indiv0, thanks for your request. I opted for using the ZIP-Archive download, because it has the lower footprint. git clone can easily – as it syncs the entire repo – take a long time and consume lots of bandwidth. And as we are currently not keeping any cached version, it would download everything every time – that's an awefull lot of traffic. I am wondering: are the submodules also exposed in the ZIP-Archive? Could we instead of fetching with In any case I'd only opt for that feature if we make all of that part of the 10min sandboxed limit, thus, if anyone wants to download too much stuff, it goes of their compile-time... |
What about |
Yeah, shallow clone should have a much smaller footprint. I checked the zip, and it does include the |
This sounds like a reasonable approach. We could download one level deep and unpack those, too. PRs about this would be welcome. |
Currently,
clippy-service
only loads the contents of the specified repo as a zip. This causes issues for projects which have git submodules that they depend on (e.g. rusoto).Would it be possible to either add a feature to use the
git clone --recursive
command to obtain the code along with the submodules, or replace the current functionality altogether?The text was updated successfully, but these errors were encountered: