Skip to content
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

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

Open
kristvanbesien opened this issue Dec 2, 2015 · 0 comments

Comments

@kristvanbesien
Copy link

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?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant