-
Notifications
You must be signed in to change notification settings - Fork 95
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
bloom should not do a full checkout when creating tags #42
Comments
vcstools already has it. On checkout use shallow=True. |
Neat, I'll add that and run it against a few repositories to see how well it works. |
I don't think it will work in this case: From here: http://www.kernel.org/pub/software/scm/git/docs/git-clone.html
fetch from it, nor push from nor into it), but is adequate if you are only On Thu, Oct 18, 2012 at 10:49 AM, William Woodall
Tully Foote |
That should be fine (for the upstream), I clone it with shallow, then query a file in a branch and then call git archive on a tag. We'll see if that works. |
It seems to run fine (re)importing ros_comm, but it is hard for me to tell if I saved much time, I'll look into a larger checkout. |
It does not necessarily save a lot of data: On Thu, Oct 18, 2012 at 11:36 AM, William Woodall
Tully Foote |
well, this comparison is about GNOME modules that have evolved over time and they probably just got bigger and bigger. If you look at vision_opencv, it's 876K. The .git folder is 18 M .... (long history, parts of OpenCV were in there and so on) |
The shallow_checkout option is passed to vcstools as of 0.2. |
Some repos have heavy history and some users have low bandwidth.
use of --depth 1 in git would be nice. Maybe that should be a feature in vcstools ?
The text was updated successfully, but these errors were encountered: