-
Notifications
You must be signed in to change notification settings - Fork 89
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
[feature-request] Support sparse-checkout #218
Comments
+1 I discussed offline with @aaronplusone and suggested:
|
At least for git, adding a key prior to this PR would still clone the repository if the rest of the yaml entry was correct. I'm assuming cloning in other version control systems would work the same way. Assuming it does, is it better to pull in the entire repo or to fail? I could see cases for either. |
git 2.25+ allows tracking of partial repository directories through sparse-checkout. This is useful when a project needs only a limited set of packages in a monolithic repository. E.g.
swri_yaml_util
in swri-robotics/marti_common.I've been working on a branch to adapt vcs to do sparse-checkouts for our CI/CD pipeline. If you approve of the approach and are comfortable accepting git specific functionality, I can make a PR.
Proposed changes:
YAML
url/uri
.Example from above, with a second package specified.
import_.py
get_repos_in_vcstool_format
andget_repos_in_rosinstall_format
generate_job
Git Client
--no-checkout
--cone
export_data
keyThe text was updated successfully, but these errors were encountered: