Open Fuuzetsu opened 9 years ago
Should we hide the deprecated packages by default? That seems like the most friendly thing to me.
Main problem here seems to be that the information about whether the package is deprecated is not available inside D.C.List
. In general, deprecating a package on Hackage currently has no effect on cabal-install
behaviour.
To fix this we need to modify both cabal-install
and hackage-server
:
preferred-versions
).cabal-install
code there should be a flag inside the SourcePackage
record specifying whether a package is deprecated.re #1518 where an user ask for a warning when building a deprecated package, so other way, more direct of communicate the fact it would need some of the changed described above
So we just had someone in #yi install a deprecated package (marked as deprecated) from 2008:
It seems to me that cabal should make at least some attempt to communicate that this may in fact not be the right package to install.