This is a follow up of #4432
I think avoid-version should stay as-is (it's too late to rename the variable anyway IMO) but I'd like to propose a new flag: invisible which would make the package flagged with it effectively unavailable unless already installed or explicitly required (either via a lock file or an explicit call to opam install).
This would help opam-repository greatly as currently the way to """remove""" packages (i.e. available: false) effectively breaks any body using it explicitly in CI systems, lock files or that already installed it.
Would help partially fix ocaml/opam-repository#10531
This is a follow up of #4432
I think
avoid-versionshould stay as-is(it's too late to rename the variable anyway IMO)but I'd like to propose a new flag:invisiblewhich would make the package flagged with it effectively unavailable unless already installed or explicitly required (either via a lock file or an explicit call toopam install).This would help opam-repository greatly as currently the way to """remove""" packages (i.e.
available: false) effectively breaks any body using it explicitly in CI systems, lock files or that already installed it.Would help partially fix ocaml/opam-repository#10531