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

Failure due to no Git config even with keyword arguments #149

Closed
ChrisRackauckas opened this issue Mar 22, 2020 · 1 comment · Fixed by #158
Closed

Failure due to no Git config even with keyword arguments #149

ChrisRackauckas opened this issue Mar 22, 2020 · 1 comment · Fixed by #158

Comments

@ChrisRackauckas
Copy link

MWE:

using PkgTemplates
t = Template(;user="ChrisRackauckas")
generate("testpkg", t)

This used to work on Windows where Git shells generally don't exist, but it doesn't seem to work and I can't find out how to fix it with kwargs.

@christopher-dG
Copy link
Member

I think the prerequisite has always been user.name and user.email to make commits, PkgTemplates does no Git configuration for you. If you're on 0.6.x you can also just disable Git via generate(...; git=false), or on master you can do Template(...; disable_defaults=[Git]).

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

Successfully merging a pull request may close this issue.

2 participants