commercialhaskell/stackage-server

Search shows wrong snapshot version

dten opened this issue · 6 comments

dten commented

https://www.stackage.org/lts-16.12/hoogle?q=Aeson

shows search results for lts-17.0

clicking search again navs to

https://www.stackage.org/lts-17.0/hoogle?q=Aeson

image

I should clarify it better in the display. We were having disk space issues with providing access to all of the Hoogle snapshots, so we now only support a single LTS and a single Nightly. The alternative was causing unnecessary pod ejection.

I've added a comment at the top of each search result page, linking back to this issue.

dten commented

Ouch that's a shame but understandable

This caused a little confusion in #haskell today. If it's possible, I think having https://www.stackage.org/OLDVERSIONS/hoogle* redirect to https://www.stackage.org/ACTUALLYINDEXEDVERSION/hoogle* would make it much clearer.

Sorry, I meant the hoogle urls. Doing a hoogle search at https://www.stackage.org/lts-18.28 currently takes you to https://www.stackage.org/lts-18.28/hoogle?q=test, which is actually showing 19.23 results, hence the confusion. Normally the URL is definitive so we tend to look at that more than fine print on the page.

@snoyberg

We were having disk space issues with providing access to all of the Hoogle snapshots

How much disk space is required? I might be interested to rebuild the docs locally since i have some old spare HDD's

Searching old versions was such a power feature, i'm not sure what to do without.