stack new requires network to work #3850
Comments
|
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: