You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating opam files via dune-project, there's a big diff between the default order of opam fields generated by dune and those normalised by opam lint <file> --normalise
This is a minor hassle since the submitted version in dune-release could be run through opam lint before generating the release archive. But if it's easy with the existing opam libraries vendored in dune, it would be nice to have the generated order match the opam linted field order.
The text was updated successfully, but these errors were encountered:
The logic for the field order used by `opam lint --normalise`
is in opam-file and not opam-file-format. This is too much to
vendor, so this commit hardcodes the field order based on
the opam-file logic.
It won't change very often upstream so this shouldn't impose
too much of a maintenance overhead.
Closesocaml#2290
Signed-off-by: Anil Madhavapeddy <[email protected]>
The logic for the field order used by `opam lint --normalise`
is in opam-file and not opam-file-format. This is too much to
vendor, so this commit hardcodes the field order based on
the opam-file logic.
It won't change very often upstream so this shouldn't impose
too much of a maintenance overhead.
Closesocaml#2290
Signed-off-by: Anil Madhavapeddy <[email protected]>
When generating opam files via dune-project, there's a big diff between the default order of opam fields generated by dune and those normalised by
opam lint <file> --normalise
This is a minor hassle since the submitted version in dune-release could be run through
opam lint
before generating the release archive. But if it's easy with the existing opam libraries vendored in dune, it would be nice to have the generated order match the opam linted field order.The text was updated successfully, but these errors were encountered: