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

opam switch list-available doesn't handle pkg.version pattern #6152

Open
rjbou opened this issue Aug 13, 2024 · 0 comments
Open

opam switch list-available doesn't handle pkg.version pattern #6152

rjbou opened this issue Aug 13, 2024 · 0 comments

Comments

@rjbou
Copy link
Collaborator

rjbou commented Aug 13, 2024

$ opam switch list-available 'ocaml-b*'
# Listing available compilers from repositories: default
# Name              # Version     # Synopsis
ocaml-base-compiler 3.07          Official 3.07 release
ocaml-base-compiler 3.07+1        Official 3.07+1 release
[..]
ocaml-base-compiler 5.2.0~beta2   Second beta release of OCaml 5.2.0
ocaml-base-compiler 5.2.0~rc1     First release candidate of OCaml 5.2.0
ocaml-base-compiler 5.2.0         Official release 5.2.0
$ opam switch list-available 'ocaml-base-compiler'
# Listing available compilers from repositories: default
# Name              # Version     # Synopsis
ocaml-base-compiler 3.07          Official 3.07 release
ocaml-base-compiler 3.07+1        Official 3.07+1 release
[..]
ocaml-base-compiler 5.2.0~beta2   Second beta release of OCaml 5.2.0
ocaml-base-compiler 5.2.0~rc1     First release candidate of OCaml 5.2.0
ocaml-base-compiler 5.2.0         Official release 5.2.0
$ opam switch list-available 'ocaml-base-compiler.4.14.0'
# Listing available compilers from repositories: default
# No matches found
$ opam list 'ocaml-base-compiler.4.14.0'
# Packages matching: name-match(ocaml-base-compiler) & version-match(4.14.0) & (installed | available)
# Package                  # Installed # Synopsis
ocaml-base-compiler.4.14.0 4.14.2      Official release 4.14.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant