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 list --with-{test,doc} should not set the with-{test,doc} variable recursively #4543

Open
kit-ty-kate opened this issue Feb 12, 2021 · 2 comments

Comments

@kit-ty-kate
Copy link
Member

The behivour of opam install --with-{test,doc} and opam list --with-{test,doc} are different.
The latter does set the corresponding variables recursively, where-as the former does not.

@kit-ty-kate kit-ty-kate added this to To do in Opam 2.2.0 via automation Feb 12, 2021
@kit-ty-kate
Copy link
Member Author

kit-ty-kate commented Feb 12, 2021

Related to ocaml-opam/opam-depext#121
Related to #3923
Related to #4541

@kit-ty-kate kit-ty-kate added this to To do in Opam 2.1.x via automation Feb 12, 2021
@kit-ty-kate kit-ty-kate removed this from To do in Opam 2.2.0 Feb 12, 2021
@dra27
Copy link
Member

dra27 commented Feb 12, 2021

For the 2.1 CLI, should --resolve simply be the default - and therefore a different named option perhaps to restore the previous behaviour? Although if the previous behaviour is not useful, maybe it's enough that you can get it with OPAMCLI=2.0 opam list --with-test...

@dra27 dra27 removed this from To do in Opam 2.1.x Feb 26, 2021
@dra27 dra27 added this to To do in Feature Wish via automation Feb 26, 2021
@dra27 dra27 added this to To do in Opam 2.2.0 via automation Jul 2, 2021
@dra27 dra27 removed this from To do in Feature Wish Jul 2, 2021
@dra27 dra27 added this to To do in Opam 2.3 via automation Jan 14, 2022
@dra27 dra27 removed this from To do in Opam 2.2.0 Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Opam 2.3
  
To do
Development

No branches or pull requests

2 participants