Closed Leonidas-from-XIV closed 2 years ago
I'm working on it as we speak.
Following up the original discussion, I was thinking about writing it in an extension rather than a comment.
We wouldn't parse it back for now but we'll have that ability if we ever need to in the future!
In #307 we discussed how to make the lockfiles reproducible in the presence of command line options (that are able to change the output of the lockfile in a non-trivial way). A compromise that would allow both people to overwrite values via the CLI and yet give hints how to reproduce the generated lockfile is to write the invocation of the
opam-monorepo
call that was used to create the lockfile into the lockfile itself.The potential advantages are:
opam-monorepo
but we don't really provide cross-version reproducibility for plenty of good reasons.opam-monorepo
are aware of it and due to the invocation written there, they have a pointer to see how to useopam-monorepo
While this feature will not be implemented in #307, this issue was created to keep track of the idea.