Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
"stack new" can't be pointed at an intranet site #2804
General summary/comments (optional)
"stack new" can't be pointed at an intranet site
Steps to reproduce
Some configuration option to get the templates from some intranet site
It ends up going to the url https://raw.githubusercontent.com/commercialhaskell/stack-templates/master/new-template.hsfiles which is not on the intranet site.
We've been able to control every other aspect of stack onto our intranet (via the
Method of installation
Hi there! Is this issue still relevant? If so, would any of the maintainers be interested in providing some mentorship/general help on resolving this so that the newcomers and first-time contributors would have an easier time?
These are the guidelines we'd like to stick to in the future:
@alexeyzab, yes the issue is relevant. The core problem has much wider scope: stack cannot work offline. Personally, I've developed a script that downloads everything stack needs. Although in order to use the downloaded stuff, you still need manual operations. Some of them are required only once to configure the offline mirror and others every time you run "stack setup", "stack new", which becomes complicated for newcomers.