-
Notifications
You must be signed in to change notification settings - Fork 27
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
.gitignore files ignored on kickstart #24
Comments
Yes, right now VCS files are ignored: https://github.com/Keats/kickstart/blob/master/src/generation.rs#L99 |
Maybe it would be to, by default, avoid copying the kickstart template's .gitignore file? Still, for now I think it should be mentioned, or made more explicit on the readme, then later changed. Why not do a "dotffiles" config parameter? You'd have a file named That'd also allow having every dotfile in "clear" and not "hidden by default" like on Unix-based systems. |
That sounds good but maybe some general could make it easier. Eg the template from git has to be in a folder with a specific name and everything in it is copied with no regards to VCS or not. That allows each template to have their own README, CI, docs etc out of the actual template. |
Wouldn't a way to specifically ignore (or include) files be a technically valid solution? I've never tried cookiecutter, so I can't attest on how they manage it. |
It would work but look at a big template like https://github.com/pydanny/cookiecutter-django which has tons of files not part of the template. |
Not happening anymore when v1 is released |
I have a template (here) that contains a
.gitignore
file, but when I try to kickstart it, everything's copied, except for the gitignore file, which I'd like to include.Any bug or implicit rule related to that?
The text was updated successfully, but these errors were encountered: