rodjek / librarian-puppet

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

Adding functionality for the --strip-dot-git flag #332

Closed rhwlo closed 8 years ago

rhwlo commented 8 years ago

What’s this PR do?

This PR adds some functionality so that the already-present --strip-dot-git flag does what it says, following the pattern of librarian-chef’s code for --strip-dot-git.

Motivation

As it is, modules checked out from git by librarian-puppet can’t be added to another repo because the .git directory causes .git to think they’re submodules. In some cases, people want to check these modules into another git repo, as noted in #78.

Thanks for taking a look at this!

rhwlo commented 8 years ago

@carlossg, since you had looked at/responded to #78, would you have time to look at this PR?

igoraj commented 8 years ago

It would make sense to open a PR here: https://github.com/voxpupuli/librarian-puppet as I believe project has transferred over there.