rodjek / librarian-puppet

http://librarian-puppet.com
MIT License
694 stars 216 forks source link

Add an option to not clone the complete git history... (or something similar) #329

Open kristvanbesien opened 8 years ago

kristvanbesien commented 8 years ago

My problem: For quite a few modules the git history has grown quite large. librarian puppet completely clones each git repository, and this leads to problems on our CI servers, where librarian-puppet is used to get dependencies in order to run spec tests. For the spec tests it is not needed that we have the whole git history... By only getting the latest commit, we could save quite a bit on disk space.

Would it be possible to add an options that would cause librarian-puppet to do a git clone --depth 1 or even better, remove the .git afterwards. (wasn't there once an option that did that?)