Skip to content

Change 'optional-packages' default on missing cabal.project#6740

Merged
phadej merged 1 commit intohaskell:masterfrom
hasufell:jospald/PR/6739
May 4, 2020
Merged

Change 'optional-packages' default on missing cabal.project#6740
phadej merged 1 commit intohaskell:masterfrom
hasufell:jospald/PR/6739

Conversation

@hasufell
Copy link
Copy Markdown
Member

Fixes #6739

@phadej
Copy link
Copy Markdown
Collaborator

phadej commented Apr 25, 2020 via email

@phadej
Copy link
Copy Markdown
Collaborator

phadej commented Apr 25, 2020 via email

@hasufell
Copy link
Copy Markdown
Member Author

Apparently there are multiple references to this default: https://github.com/haskell/cabal/blob/master/Cabal/doc/cabal-project.rst

@tomjaguarpaw
Copy link
Copy Markdown
Member

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.

@phadej
Copy link
Copy Markdown
Collaborator

phadej commented Apr 26, 2020

@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.

@phadej
Copy link
Copy Markdown
Collaborator

phadej commented Apr 26, 2020

Specifically, when people upgrade from ancient, say cabal-install-2.0 to cabal-install-3.0 they do miss deprecation warnings etc. I repeat, there is just no resources to manage warnings & deprecations with 2-3 year cycles, so people have chance to notice them. People do not upgrade cabal-install eagerly, so the 2-3 years is justified so they actually could see those warnings.

@tomjaguarpaw
Copy link
Copy Markdown
Member

As you wish. All in all, I do believe the behaviour in this PR is the better one.

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.

Cabal looks inside subdirectories, but only with later GHC

3 participants