Skip to content
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 should check current version and warn. #3412

Closed
bitemyapp opened this issue Sep 3, 2017 · 2 comments
Closed

Stack should check current version and warn. #3412

bitemyapp opened this issue Sep 3, 2017 · 2 comments

Comments

@bitemyapp
Copy link
Contributor

Stack update, setup, other things will sometimes fail if you are running an ancient version. I find myself asking people what version they're running and helping them upgrade from time to time. Often this is because they apt-get'd it rather than going to haskellstack.org, but not always.

Ideally Stack would warn you when you're running an old version and tell you how to upgrade from the official website. I think there's precedent for this with Homebrew.

@borsboom
Copy link
Contributor

borsboom commented Sep 3, 2017

Quite a lot of tools do this. Terraform and minikube are a couple of others I can think of off the top of my head. The main thing is that such a check shouldn't slow things down and shouldn't be done too often.

@mgsloan
Copy link
Contributor

mgsloan commented Sep 3, 2017

Yep this is a good idea. Closing as a duplicate of #1681

Unfortunately, not much that can be done about the old versions of course, as they will always lack the check. Makes sense to implement it soon, since a few years from now today's version will be the old version.

@mgsloan mgsloan closed this as completed Sep 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants