Fix opam switch list-available pkg.version pattern#6186
Fix opam switch list-available pkg.version pattern#6186kit-ty-kate merged 2 commits intoocaml:masterfrom
opam switch list-available pkg.version pattern#6186Conversation
1538737 to
32b9d00
Compare
7c83981 to
4a5dc46
Compare
rjbou
left a comment
There was a problem hiding this comment.
Thanks! As we discussed, I've reworked the change.
kit-ty-kate
left a comment
There was a problem hiding this comment.
I'm not sure ands made sense in general in the first place. I think we should change the behaviour to use ors instead.
Otherwise there is no use to allow several parameters. e.g.
$ opam switch list-available ocaml-base-compiler ocaml-variants
# Listing available compilers from repositories: kit-ty-kate, default
# No matches found
If we switch to ors instead we can also simply remove the addition of the ?concat, which doesn't seem useful to me.
Ideally we should also have a test showing the behaviour of list-available with several parameters
|
If we switch from |
Done in #6318. This should be merged first. I've marked this here PR as queued on it. |
opam switch list-available pkg.version pattternopam switch list-available pkg.version pattern
4a5dc46 to
e45202e
Compare
|
rebased |
e45202e to
06b9efd
Compare
|
new proposal queued on top of #6318 with one extra test |
…in presence of several pkg.ver arguments
06b9efd to
69a1fc5
Compare
|
Thanks! |
Adresses #6152
Queued on #6318