haskell / hackage-server

Hackage-Server: A Haskell Package Repository
http://hackage.haskell.org
Other
417 stars 199 forks source link

Highlight package uninstallable versions #1324

Open phadej opened 4 months ago

phadej commented 4 months ago

E.g. there are issues like https://github.com/UnkindPartition/tasty/issues/426

When there is a revision like base <0, the hackage deprecation would only affect UI. Let's make hackage smart enough to figure that out without a a deprecation.

As deprecation is also written to index, it's redundant information added there for no reason.

Semi-deciding out whether package has unjustifiable constraint should be easy:

This information would make sense to calculate on upload and revisions.