-
Notifications
You must be signed in to change notification settings - Fork 200
Link to tslib on the packages page is broken #800
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
Comments
This turned out to be a quirk with the Nginx configuration; you don't actually get a 404 but instead you get a 451 but with the wrong content-type header... and for some reason browsers make it look like a 404 to you:
I've fixed this up, and now this should interact better with browsers: https://hackage.haskell.org/package/tslib |
Hmm. Well if that's what the link is supposed to do, then so be it. But from a user perspective, is there a reason we want that link to appear on the Hackage page? Is it useful information to anyone? Seems to me that since this happens so rarely, we could just manually remove it from the HTML, or put HTML/CSS/JS on the site so that this particular entry isn't visible, or whatever. And then do it again if this happens for some other package in the future. |
The proper "front page" is the browse page now, and since tslib is deprecated, its it goes all the way to the end: http://hackage.haskell.org/packages/browse But yeah, in general we could do a better job "really" hiding tombstoned packages. |
What do you mean that tslib "goes all the way to the end"? If I jump to the last page, it has packages starting with "z", tslib is not there. That's the "proper front page"? I never saw it until now. The name "browse" is a bad name for this page - it's nearly useless for browsing. You can't display more than 100 packages at a time, and besides a jump to one of the first or last 5 pages, you can't move more than one page at a time. So to "browse" to the middle of the list would take hours. It's OK for searching though. I'll stick with the old packages page until this is improved. |
Fair enough on the difficulty of jumping to the middle. The lib we use for table display is pretty configurable, so PRs to improve that welcome. The in-page filter is quite nice though, among other things. I could have sworn we had logic to push things to the end, when they were deprecated, but I'm seeing that we currently don't, whoops. We should just add filter-deprecated-by-default as part of improving the datatables stuff generally: #680 |
There is a package called "tslib" listed on the packages page, ostensibly the "front page" of hackage, very visible right near the top of the page. This is a broken link -
/package/tslib
is a 404.See also #524. OK, I get it, we currently have no way to get rid of tslib from the index. But can we at least mark it somehow so that it doesn't show up as an ugly splotch on the site? It could even be hard-coded CSS or Javascript.
The text was updated successfully, but these errors were encountered: