Add root and build context to dune describe output
For ROTOR we would like to have access to the original source files, not their locations within the build directory. To get this, we need the build context and the workspace root.
This is an updated PR of https://github.com/ocaml/dune/pull/3834 and https://github.com/ocaml/dune/pull/6092, the latter of which I closed by mistake (sorry).
In this PR the build prefix and the path to the workspace root are added the the beginning of the output of dune describe.
@esope, would you be able to review this updated version? Thanks in advance.
We have addressed the code review comments now.
Can you please add an entry to CHANGES.md?
Done @esope
Thanks. This is fine for me. I guess we need yet somebody else's input. @rgrinberg ?
@rgrinberg can we make some progress on this PR ?
As a reviewer, you can formally approve the PR when you deem it's ready.