opam icon indicating copy to clipboard operation
opam copied to clipboard

Deprecating "features"

Open emillon opened this issue 4 years ago • 2 comments

The "features" field is accepted in opam files:

https://github.com/ocaml/opam/blob/4d9db690420e36d995e6a0afe18660bcb45bea49/src/format/opamFile.mli#L457-L458

It is documented as an experiment but it looks like the feature was never used. Something similar is likely to be useful with package variables but it looks like this first implementation can be deprecated in 2.1 or 2.2.

emillon avatar Feb 03 '21 14:02 emillon

See https://github.com/ocaml/opam/issues/4519#issuecomment-868445795

dra27 avatar Jun 25 '21 11:06 dra27

This is different from libraries and syntax in that, although unused, it is documented and doesn't do absolutely nothing. I'd say we can keep it (with the experimental flag) until we have an actual implementation for package variables.

AltGr avatar Jan 04 '22 10:01 AltGr