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

ensure git is properly configured #112

Open
ghistes opened this issue Jan 22, 2021 · 1 comment
Open

ensure git is properly configured #112

ghistes opened this issue Jan 22, 2021 · 1 comment

Comments

@ghistes
Copy link

ghistes commented Jan 22, 2021

Hi,

when running dstask for the very first time it should ensure that git is usable.

This means:

  • it should bail out (with an appropriate error message) should there be no git installed
  • prompt the user for email and name in case git is installed but not configured and use this to configure git so that it is usable
@dontlaugh
Copy link
Contributor

I would not endorse actually writing to their git configs. However an error message that includes a prompt "is git installed?" could be fine during the first-run initialization, but maybe not on every invocation.

So I like the first suggestion, but not the second so much

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

No branches or pull requests

2 participants