Closed brosaplanella closed 2 months ago
Personally I think we should remove the git config commands entirely so that we can let them be inferred from the global config, what do you think, @santacodes?
Personally I think we should remove the git config commands entirely so that we can let them be inferred from the global config, what do you think, @santacodes?
That would be good, but in the case of a user who hasn't set up their credentials how would it work for them? I guess it wouldn't let them commit without a username and an email. Maybe we could do something like infer if they have a global username and email, if they don't we can configure them with the ones they prompted in copier.
@brosaplanella I don't believe it is a quotation mark issue because I remember I fixed it in this PR.
That would be good, but in the case of a user who hasn't set up their credentials how would it work for them? I guess it wouldn't let them commit without a username and an email. Maybe we could do something like infer if they have a global username and email, if they don't we can configure them with the ones they prompted in copier.
I would think anyone working on a project on a VCS platform would have credentials set up. If they don't, at that point, it lies outside the scope of pybamm-cookie
as a "project generation" tool. I opine that removing the commands entirely would be better, since there are no extra steps needed for inferring their global defaults.
I tried the most recent version, both using copier and the PyPI package and I get an error when configuring the git user name. I suspect it is because my name is 3 words so there should be quotation marks somewhere.
Full error log: