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
Comments
Blaisorblade
added this to the P2: Should milestone
Nov 23, 2016
This comment has been minimized.
This comment has been minimized.
Off the top of my head: should that URL become configurable through the description in |
This comment has been minimized.
This comment has been minimized.
Yes, that would work. Or stack new could itself take a template location. Or it could be in the global stack.yaml file |
This comment has been minimized.
This comment has been minimized.
jpnp
commented
Nov 29, 2016
This comment has been minimized.
This comment has been minimized.
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? I would like to add this as one of the issues for the upcoming Haskell Weekly's Call for Participation section. See discussion in #75. These are the guidelines we'd like to stick to in the future:
Thank you! |
This comment has been minimized.
This comment has been minimized.
AleXoundOS
commented
Jul 8, 2017
@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. |
decentral1se
removed
the
ready
label
Sep 12, 2017
This comment has been minimized.
This comment has been minimized.
juanpaucar
commented
Aug 21, 2018
@Blaisorblade I think I could work on this. Is it okay if I take this issue? |
This comment has been minimized.
This comment has been minimized.
I believe this has been fixed — see #4103 — so I'm closing. See GUIDE.md for the details. To use the new version, you'll need to Perhaps, @juanpaucar, you could test to confirm it has been fixed? And then we can find a new issue for which you can implement a feature! |
philipcraig commentedNov 23, 2016
General summary/comments (optional)
"stack new" can't be pointed at an intranet site
Steps to reproduce
For example:
stack new foo
Expected
Some configuration option to get the templates from some intranet site
Actual
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
--stack-setup-yaml
argument, pointing at intranet stuff), but notstack new
Stack version
Method of installation