-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support Stackage better #19
Comments
All you really need is an appropriate Of course this won't get you nightly updates or anything. A Actually, if it's going to be a fully Windows-native solution, commandline |
So far I've used Stackage on a per-project basis, so dump it in each project file separately. Not sure what's the "correct" way to do it though. I'd certainly want to run from I'd be wary of FTP - its such ancient and rare technology that things like firewalls might object. |
I'm definitely up for having some kind of a I haven't thought through this at all yet, I'll think some more on it tomorrow. |
I generally hate interactive question-based stuff, other than trivial "do you want to proceed y/n" questions. Otherwise I'm forever having to retype stuff that should be accessible in the command line history, and having a nightmare scripting stuff. |
Something like:
Default to local, and output current/resulting configuration in every case (incl. Anything missing? |
Pinging @chrisdone. I think having such a command line tool would be useful. We may want to rename the existing |
Note that either it must come with the ability to download a file (e.g. depends on the I guess the alternative would be to release new versions of the stackage tool for each release, and have the constraints shipped with it, but that's a lot of new stackage tools. |
I'm in favor of shipping the binary. I'm also not averse to include wget.exe. But I thought that by including msys, everyone is now able to install |
There might be people who aren't using MinGHC who want to use the Stackage tool. Even with MinGHC, I wouldn't be shocked to find out that some small fraction of people still can't compile Network - it's certainly a very complex part. |
We've just released a stackage-cli tool: https://www.fpcomplete.com/blog/2015/04/announcing-stackage-cli |
@snoyberg This is extremely cool! I'm working very hard to get Haskell code into production for a Windows client app. (I'm guessing that's not the most common place for Haskell to show up.) These types of tools make Haskell so much more appealing, especially to newcomers. |
Good, I'm glad you like it! More to follow :) On Mon, Apr 20, 2015 at 7:41 PM Elliot Cameron notifications@github.com
|
@snoyberg The current installer leaves out |
@DanBurton Can you look into providing an up-to-date https://github.com/fpco/minghc/blob/master/bin/stackage-cli.7z file with the missing executables? |
I'll look into that today. |
This seems done to me. |
Good catch |
At the moment to setup Stackage you need
wget
on your PATH (not available as standard with Windows, although pretty easy to get) and you need to remember the URL. We could make that better by doing one of:wget.exe
and astackage.bat
file that does the appropriate command line.stackage.exe
binary (probably backed by a Cabal package on Hackage) that links in network and defaults to the right URL (that seems useful anyway). This could have more smarts, and wouldn't require wget.Not sure if this should be moved to the Stackage tracker...
The text was updated successfully, but these errors were encountered: