-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
Unbreak cookbooks and tutorial (Mono or multi repo?) #1404
Comments
Haskell-ci respected the We could add that behaviour to the GitHub-actions based CI as well perhaps. Cookbooks were never meant to be built against all supported GHC versions. |
That's definitely possible. What's the rationale for it though ? I'd argue that it could be quite surprising for new users that copy-pasting code from the cookbooks doesn't work, even though servant core libraries do build. |
I think cookbooks shouldn't be limited to the lowest common denominator. e.g. I don't see why a cookbook wouldn't be allowed use |
Fair point 👍 I'll re-introduce those usages and exclude those cookbooks from being tested with lower versions of GHC. I'll probably add some comment in the cookbooks themselves to mention which minimal version of GHC they rely on. |
If we can keep the cookbooks using newer features; then Mono-repo seems the easiest road to success to me! |
Some cookbooks have been forsaken for many years now. I think it is very important to bring them back to life for the community.
I can't do it yet, for some of them, without breaking the CI.
Here are the external servant packages on which the cookbooks/tutorial depend on :
2 options are in front of us :
Mono repo
To avoid dependency loops (like this), It think it would be nice to bring the packages back into the main servant repository.
Pros
Cons
Cookbooks and tutorial in their own repo
We could put the cookbooks and tutorial in their own repo and pin the packages they depend on.
Pros
Cons
---*-
IMHO, the mono repository solution is better. What do you think?
The text was updated successfully, but these errors were encountered: