-
Notifications
You must be signed in to change notification settings - Fork 27
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
Use cabal.config with constraints as primary means of using Stackage #51
Comments
In principle this sounds good to me. But, potential annoyances: |
Sigh. Story of my life, a nice idea trampled on by cabal bugs :( |
Well, haskell/cabal#1992 isn't any worse than using the remote-repo trick. With remote-repo, you're required to wipe out your old package database to ensure no old packages linger. Seems like the same applies with that cabal bug, with the improvement that- when the bug is fixed- you won't need to wipe out your database. So I don't think that should be a blocker, but I'm not sure yet. Actually, seems like the same argument applies to the other bug as well. So I'm thinking we can move ahead with this anyway. Am I mis-analyzing? |
The pro- points make sense. Another advantage is:
I don't quite understand the bug. What's the point in |
It looks to me like the constraints are being used when choosing dependencies to install, but are being ignored when selecting which set of installed dependencies should be used. |
Hm, so that alone is a big argument in my mind in favour of I don't think that the two bugs I uncovered are blockers, just potential annoyances that we need to be aware of. The good news is that while it's arguably the case that @mietek has a lot of experience using |
Funny you should mention Halcyon, I was just looking at that a few hours It sounds like we're in agreement then on how our next iteration of On Wed, Dec 10, 2014, 2:41 PM Mathieu Boespflug [email protected]
|
Halcyon already includes a workaround for haskell/cabal#2143 and haskell/cabal#1992, and many other Cabal bugs. I am also working on improving the dependency upgrade workflow. Remember the |
Please take a look at haskell/cabal#2265. |
Another issue with @mboes I think you are right about Which can only really be changed with issues about what use cases it is currently failing to support. So if you come across any odd behaviour which doesn't already have a ticket, please create one. I don't have that much time to work on fixing the issues, but I do intend to get to them eventually. |
This discussion has been good. AFAICT, there's no strong argument right now to avoid using the cabal.config approach, though we should keep an eye out on various cabal issues. I'm going to close this issue as resolved, but if someone thinks there's something else to be addressed, please reopen. |
recommended use of stackage has changed, see commercialhaskell/stackage-server#51 additionally, the inclusive snapshots are no longer maintained
recommended use of stackage has changed, see commercialhaskell/stackage-server#51
Reasoning:
Downsides:
Should do:
@chrisdone What do you think of this transition?
The text was updated successfully, but these errors were encountered: