-
Notifications
You must be signed in to change notification settings - Fork 696
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
Change 'optional-packages' default on missing cabal.project #6740
Conversation
Thanks.
I’m not sure whether the behavior we are changing is documented (doesn’t seem so, could you double check). This definitely requires changelog entry. Add a file to `changelog.d`, see other files for examples.
… On 25. Apr 2020, at 19.51, Julian Ospald ***@***.***> wrote:
Fixes #6739
You can view, comment on, or merge this pull request online at:
#6740
Commit Summary
Change 'optional-packages' default on missing cabal.project
File Changes
M cabal-install/Distribution/Client/ProjectConfig.hs (5)
Patch Links:
https://github.com/haskell/cabal/pull/6740.patch
https://github.com/haskell/cabal/pull/6740.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I’d remove the field completely. Commit messages tell history, let’s not leave/repeat it in the source :)
… On 25. Apr 2020, at 19.51, Julian Ospald ***@***.***> wrote:
Fixes #6739
You can view, comment on, or merge this pull request online at:
#6740
Commit Summary
Change 'optional-packages' default on missing cabal.project
File Changes
M cabal-install/Distribution/Client/ProjectConfig.hs (5)
Patch Links:
https://github.com/haskell/cabal/pull/6740.patch
https://github.com/haskell/cabal/pull/6740.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
e300cc8
to
ec88484
Compare
Apparently there are multiple references to this default: https://github.com/haskell/cabal/blob/master/Cabal/doc/cabal-project.rst |
ec88484
to
e7dfd6d
Compare
Thanks for responding to my confusion. I agree that this API is better. On the other hand, I have been bitten by cabal changing its public API a few times in the past and for the sake of others I would be cautious about this going in without a very obvious warning/deprecation cycle. |
@tomjaguarpaw We don't have resources to manage warnings&deprecations. Either stuff is changed, or it's not. We'll try to highlight major changes in the changelog. |
Specifically, when people upgrade from ancient, say |
As you wish. All in all, I do believe the behaviour in this PR is the better one. |
Fixes #6739