-
Notifications
You must be signed in to change notification settings - Fork 48
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
Allow building the superbuild with "Shallow" cloned repos #662
Comments
If you need a specific version of dependencies and you are download limited, probably the best option is to just install them via conda, as via conda you can specify the required version for each dependency (see #652). At the moment we just have the latest version, but as soon as #652 is merged we will start to generate new packages every week, and this will permit us to offer all the versions of the dependencies.
Actually as long as you switch between tagged releases, it should work fine, the problem is switching from a branch to another (like going from Stable to Unstable and back).
ExternalProject offers a
So I am not sure if it make sense to add this complexity, for bandwidth limited user I think that pushing for a robust solution (that also support caching, etc etc) such as conda binaries may be the best option. |
Indeed, you're right, it is probably not worth adding such complexity if we have the conda binaries solution, specially considering that...
(I wasn't aware of this subtlety). In addition, this limitation...
... is really a deal-breaker. So, unless anyone has anything to add, I'll close this issue. |
When testing a given PR from a project for which we need a specific release of the superbuild, it would be quite interesting and effective to be able to populate the superbuild with shallow clones of the sub-projects. the motivation for such choice is the following:
This problem would be avoided if we could just download the required commit for each repo, which can significantly reduce the amount of data to download for some repositories with a large history. We can also avoid to download all the tags, branches, etc.
This way of cloning a repository is done through a Git Shallow Clone. Actually I added a post on this in Teams some time ago (same link).
This is specially interesting for people working on multiple projects.
@traversaro @diegoferigo @S-Dafarra @gabrielenava
What do you think?
The text was updated successfully, but these errors were encountered: