Skip to content

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

Description

@kristvanbesien

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions