mfetch
A tool to download sources of OCaml projects
mfetch is a tool that allows you to download the source code for projects
specified in an _mfetch file. These projects can be specified in several
ways, but the most common method is to specify them using their ocamlfind
names.
The tool therefore aggregates all these projects and attempts to locate their source code, which may be:
- the tarball of the project's release
- a Git repository (local or remote)
mfetch then maintains a status of the downloaded source code in order to
detect any changes to it (so that possible upstream patches can be
submitted).
Finally, mfetch can generate a _mfetch.locked file containing a description
(in OPAM format) of the source code the tool has downloaded (including their
hashes), thereby ensuring the reproducibility of a project using, for example,
[orb][orb].