Comments (8)
vcstools already has it. On checkout use shallow=True.
from bloom.
Neat, I'll add that and run it against a few repositories to see how well it works.
from bloom.
I don't think it will work in this case:
From here: http://www.kernel.org/pub/software/scm/git/docs/git-clone.html
A shallow repository has a number of limitations (you cannot clone or
fetch from it, nor push from nor into it), but is adequate if you are only
interested in the recent history of a large project with a long history,
and would want to send in fixes as patches
On Thu, Oct 18, 2012 at 10:49 AM, William Woodall
[email protected]:
Neat, I'll add that and run it against a few repositories to see how well
it works.—
Reply to this email directly or view it on GitHubhttps://github.com/ros/bloom/issues/42#issuecomment-9573919.
Tully Foote
[email protected]
(650) 475-2827
from bloom.
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.
from bloom.
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.
from bloom.
It does not necessarily save a lot of data:
http://blogs.gnome.org/simos/2009/04/18/git-clones-vs-shallow-git-clones/
On Thu, Oct 18, 2012 at 11:36 AM, William Woodall
[email protected]:
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.—
Reply to this email directly or view it on GitHubhttps://github.com/ros/bloom/issues/42#issuecomment-9576612.
Tully Foote
[email protected]
(650) 475-2827
from bloom.
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)
from bloom.
The shallow_checkout option is passed to vcstools as of 0.2.
from bloom.
Related Issues (20)
- How to delete a certain patch from a release repo ? HOT 2
- A command line workflow for adding just source/doc entries to rosdistro without a bloom release.
- ament_cmake binarydeb job cannot find own package for tests
- support meson HOT 2
- Cannot Release for Humble on Ubuntu 18.04 HOT 2
- CI failing on master HOT 3
- Generation of copyright files HOT 11
- bloom-release does not open PR on rosdistro HOT 4
- status of dependency vcstools? HOT 5
- Allow using the rosdistro source version as a track's devel_branch
- bloom fails to push to release repo with --new-track HOT 1
- Bloom fails to open rosdistro PR HOT 1
- AMENT_PREFIX_PATH: Environment variable vs CMake variable HOT 1
- linking issues during LTO HOT 1
- http://bloom.readthedocs.org/ defaults to an old version (0.5.10) HOT 1
- Empy v4 incompatibility
- bloom-generate not executable
- bloom config is hardcoded to look at master branch new repositories use main as default HOT 4
- BUG: bloom-release fails to run on humble because of mac_ver HOT 2
- Packages containing pytest tests create conflicting cache files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bloom.