Display information about deprecated versions and packages #318
Replies: 5 comments 1 reply
-
Indeed it looks quite easy to retrieve this data. |
Beta Was this translation helpful? Give feedback.
-
Here is the ticket: #319 |
Beta Was this translation helpful? Give feedback.
-
@TravisCardwell Would you be interested in working on this? |
Beta Was this translation helpful? Give feedback.
-
Though interested, I currently lack time to work on it. I took a look at the issue, and it looks nice! Great project management! Regarding pruning deprecated packages from search listings, I think that it is more developer-friendly to display deprecated packages but clearly mark them as deprecated. For example, the |
Beta Was this translation helpful? Give feedback.
-
closed by #319 |
Beta Was this translation helpful? Give feedback.
-
Package pages do not display any information about deprecated versions or deprecated packages. Should this information be added? Personally, I have needlessly spent a significant amount of time in "dependency hell" when I did not notice such deprecation information, I wish it was more prominently visible on Hackage.
As an example of deprecated versions, consider the
mtl
package (Hackage, Flora). Hackage displays deprecated versions using a red font. When displaying a most recent release that is deprecated, however, the version is displayed in bold black and there is no way to determine that it is a deprecated version without navigating to an older version. This information is included in the Hackage index tarball; check out thepreferred-versions
files for applicable packages.As an example of a deprecated package, consider the
ansi-wl-pprint
package (Hackage, Flora). Hackage displays package deprecation information at the top of the page, just above the package description. It is pretty easy to miss, IMHO. This information is unfortunately not included in the Hackage index tarball, as far as I can tell. The only way I know to get this information is to use the Hackage API:Beta Was this translation helpful? Give feedback.
All reactions