-
Notifications
You must be signed in to change notification settings - Fork 710
Add a ci test for cabal-install self-upgrade policy #4259
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
Comments
Is this the dogfood test? |
I think the actual dogfood test builds master version of cabal-install with itself. The rest of tests builds master with one choosen cabal-install released version. This asks to build master version with the three lastest released versions (so two more than now) |
Right, I understand now. I am aware this is what the website suggests but the question is: Is this something we want to support and test? Users could simply install a new version of cabal with ghcup or perhaps download a static binary (from here) |
I think So imo we can close/mark as low priority |
Perhaps we can change the documentation then :) happy to close this (in this form). We can have another ticket/discussion about what install methods we want to support. EDIT: the website mentions GHCup, Haskell Platform and self-upgrade. |
I think this would be a valuable test and doubly so because it reflects a recommended activity, but the CI may be growing too much already. Perhaps let's keep it for when we setup a separate low frequency CI that only runs overnight or only runs when PRs merge or something? |
Let me make sure I understand it: we want a job with And installing from the local package, not from Hackage, right? (Otherwise it'd make no sense to run it in CI any time other than release.)
|
Let's stick with 2.4 until it doesn't work any more (and is beyond the window). Yes, from the repo using the commandline from README makes sense. OTOH, we could have a job that uses master to install the last version available on Hackage from Hackage. That tests both the "from Hackage" instruction from README and the downgrade posibility. Both can break as the source on master evolves (the latter is less important, but may point to more important problems). |
In 6c2eba7 we clarified our
cabal-install
support policy with respect to self-upgrade: upgrading to the latest version withcabal install cabal-install
must work with allcabal-install
versions released in the last three years. As discussed in #4250, we should also have a CI check that this guarantee actually holds. Testing thatcabal install Cabal/ cabal-install/
succeeds withcabal-install
1.18 should be enough.The text was updated successfully, but these errors were encountered: