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

Fix package promotion to snapshot #3758

Merged
merged 3 commits into from
Jan 11, 2018
Merged

Fix package promotion to snapshot #3758

merged 3 commits into from
Jan 11, 2018

Conversation

snoyberg
Copy link
Contributor

Fixes commercialhaskell/stackage#3185

Note: Documentation fixes for https://docs.haskellstack.org/en/stable/ should target the "stable" branch, not master.

Please include the following checklist in your PR:

  • Any changes that could be relevant to users have been recorded in the ChangeLog.md
  • The documentation has been updated, if necessary.

Please also shortly describe how you tested your change. Bonus points for added tests!

@@ -0,0 +1 @@
resolver: lts-3.12
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having integration tests with old resolvers will cause them to fail on Linux distributions with GCC with PIE enabled by default (which is the latest versions of most distributions now), since older GHC versions don't support it. I'm not sure what we should do about this, since it obviously does make sense to be able to test against old snapshots sometimes.

I haven't confirmed this, but I believe also that, if ~/.stack doesn't already happen to have the required GHC version installed, every time the test is run it will re-install GHC which makes the tests take extra long.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, new commit pushed that should address this.

See added README.md for an explanation of why we're doing this and why
this test actually matters.
Copy link
Contributor

@mgsloan mgsloan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@mgsloan mgsloan merged commit 5cfa623 into stable Jan 11, 2018
@mihaimaruseac mihaimaruseac deleted the fix-snapshot-promotion branch July 30, 2018 03:02
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

Successfully merging this pull request may close these issues.

3 participants