-
Notifications
You must be signed in to change notification settings - Fork 27
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
"See all snapshot X appears in" should exclude old nightly
s by default
#311
Comments
Maybe it makes sense to split it into all LTS snapshots and all Nightly snapshots, at least as a first step. (Admittedly for ghc libraries I usually just go to https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/version-history |
Hmm but I am not sure if this will help to fix the root problem - looks like the db queries may be struggling now. :-( |
I am wondering if queries like the one in this report trigger the heavy server db query problems we are seeing. Well I could imagine limiting to LTS snapshots could reduce the problem substantially. |
Seems like a reasonable first step here |
It turns out to be a bit more complicated to switch to "LTS only", but limiting to only X entries is simple. I've currently limited responses to 50 only. If this actually fixes the issues, we can do the overhaul necessary to make this an LTS-only change instead. CC @psibi |
@snoyberg wrote:
This fixes the load timeout, but makes the page entirely useless. E.g. I want to know which version of a package appeared first in which LTS. The page is useless in determining this: https://www.stackage.org/package/HsOpenSSL/snapshots How about turning the map around and give for each version of a package the range of snapshots it is in, and separate LTS from nightly? Something like this?
CC @juhp |
What if we just listed on the main package page:
Maybe we should also drop nightly from the snapshots page? @andreasabel I am not sure, but I think your idea could burden the server quite a bit? |
That would be great to have!
That would make room for more LTSs there, but there are still hundreds of LTSs, so condensing the report would still be called for.
This might likely require an index (said reverse map) to work efficiently. |
E.g. https://www.stackage.org/package/Cabal/snapshots times out for me, likely because there are too many snapshots
Cabal
appears in, so the page construction takes too long.But really, I am usually interested in all LTS snapshots X appears in. (And even for LTSs, I am only interested in the latest LTS for each GHC version.)
Maybe restricting the query to the LTSs and the latest nightly should be the default, and one could try to really list all snapshots in a second step.
(Moved from commercialhaskell/stackage-content#100.)
The text was updated successfully, but these errors were encountered: