Thicket data repository for the EEG
1{
2 "id": "https://www.tunbury.org/2025/06/12/oxcaml-repository",
3 "title": "opam-repository for OxCaml",
4 "link": "https://www.tunbury.org/2025/06/12/oxcaml-repository/",
5 "updated": "2025-06-12T00:00:00",
6 "published": "2025-06-12T00:00:00",
7 "summary": "This morning, Anil proposed that having an opam-repository that didn’t have old versions of the packages that require patches to work with OxCaml would be good.",
8 "content": "<p>This morning, Anil proposed that having an opam-repository that didn’t have old versions of the packages that require patches to work with OxCaml would be good.</p>\n\n<p>This is a fast-moving area, so this post is likely to be outdated very quickly, but at the time of writing, the development repository is <a href=\"https://github.com/janestreet/opam-repository/tree/with-extensions\">https://github.com/janestreet/opam-repository#with-extensions</a>. This is a fork of <a href=\"https://github.com/ocaml/opam-repository\">opam-repository</a> but with some patched packages designated with <code>+ox</code>.</p>\n\n<p>I have a short shell script which clones both <a href=\"https://github.com/ocaml/opam-repository\">opam-repository</a> and <a href=\"https://github.com/janestreet/opam-repository/tree/with-extensions\">https://github.com/janestreet/opam-repository#with-extensions</a> and searches for all packages with <code>+ox</code>. All versions of these packages are removed from opam-repository and replaced with the single <code>+ox</code> version. The resulting repository is pushed to <a href=\"https://github.com/mtelvers/opam-repository-ox\">https://github.com/mtelvers/opam-repository-ox</a>.</p>\n\n<p>To test the repository (and show that <code>eio</code> doesn’t build), I have created a <code>Dockerfile</code> based largely on the base-image-builder format. This <code>Dockerfile</code> uses this modified opam-repository to build an OxCaml switch.</p>\n\n<p>My build script and test Dockerfile are in [https://github.com/mtelvers/opam-repo-merge] (https://github.com/mtelvers/opam-repo-merge). Thanks to David for being the sounding board during the day!</p>",
9 "content_type": "html",
10 "author": {
11 "name": "Mark Elvers",
12 "email": "mark.elvers@tunbury.org",
13 "uri": null
14 },
15 "categories": [
16 "oxcaml",
17 "tunbury.org"
18 ],
19 "source": "https://www.tunbury.org/atom.xml"
20}