Skip to content
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

package search bringing up stale packages #2884

Open
v-gb opened this issue Dec 19, 2024 · 0 comments
Open

package search bringing up stale packages #2884

v-gb opened this issue Dec 19, 2024 · 0 comments

Comments

@v-gb
Copy link
Contributor

v-gb commented Dec 19, 2024

I was running the following search earlier: https://ocaml.org/packages/search?q=msgpack. It returns two main packages: first msgpack, then msgpck. After looking at the first one for a bit, I realized: well, it doesn't even support ocaml 5, and the pull request to add such support hasn't been looked at. It's a bit annoying to waste time looking at a library only to realize that you can't even build it.

Out of curiosity, I listed all packages that don't support ocaml 5 (comm -23 <(opam list -A --short | sort) <(opam list -A --short --coinstallable-with=ocaml.5.0 | sort)), and there are 1600 of them vs 3300 that support ocaml 5. So on average, every third package returned by a search is uninstallable.

Maybe this could be improved somehow? Maybe by giving the user more ways to filter results. Or maybe by displaying the dependencies better (the page for msgpack does say ocaml < 5.0 so I could have seen this earlier, but sometimes the constraint comes from a dependency, for instance https://ocaml.org/p/msgpck-repr/latest is uninstallable on ocaml 5 due to https://ocaml.org/p/ocplib-json-typed/latest, due to https://ocaml.org/p/dune/2.9.3).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant