-
Notifications
You must be signed in to change notification settings - Fork 842
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
stack new requires network to work #3850
Comments
👍 Agreed! |
Hi, I'm sort of a beginner to Haskell and since this issue was marked newcomer friendly I hope I can contribute. Can you @mgsloan @vincenthz give an overview of what has to be done, it would be helpful. |
@sudsj Hi, sounds good! There are a few ways this could be implemented. I think it would be best to have it do the following:
An alternative approach might be to have it clone the templates repo and attempt to do a fetch. This has some nice benefits, but would probably be more complicated. Up to you which approach is taken! |
Should this issue be closed now that #4173 got merged? |
That's true, closing. Thanks. |
General summary/comments (optional)
without a network connection,
stack new
just fails to download a template, even though the template already exists in the template directory.Expected
stack new
try to download (update ? refresh cache ?) the template, but fallback to the existing templateActual
Stack version
The text was updated successfully, but these errors were encountered: