Repository activity
40458 results across all weeks
flake.lock: Update
Automated changes by the update-flake-lock GitHub Action.
github-actions*Standard Library API* pages not generated for ocaml < 4.12.0
In the release page, for each OCaml release there is a link to the Standard Library API page.
R. Boujbel (@rjbou)API links broken for old versions of compiler (releases page)
https://staging.ocaml.org/releases
Dmitrii Kosarev (@Kakadu)Bump opam-repository pin to ca403de
Moves the opam-repository pin from 8cdfa329 to ca403de (2026-11-13), the tip bundled in the current ocaml/opam:alpine-3.24-ocaml-5.2 and ocaml/opam:debian-13-ocaml-5.2 images, so the Docker builds still reset without fetching.
Cuihtlauac Alvarado (@cuihtlauac)Data: precompute indexes over static data; consider immutable arrays for top-level collections
The data packer's output (Data_intf.All_data.t) is deserialized once at startup and never changes. Even so, request handlers keep recomputing things that depend only on that data, and every top-level collection is stored as a list.
Cuihtlauac Alvarado (@cuihtlauac)Doc links in versions page are broken
The documentation links here are broken:
Ali Caglayan (@Alizter)Doc-module facts: CI-published reference + memory-mapped index, loaded next to the package state
The stack #3986 ← #3981 lets package search answer "which package provides module X" (Lwt_io → lwt), from the module paths in the documentation backend's per-package doc/sidebar.json. As first written, a daily workflow scrapes them into a committed data file, data/doc_modules.txt, which a bot PR updates and the build packs into data.bin.
Cuihtlauac Alvarado (@cuihtlauac)Dockerfile: build and run on Debian 13 instead of Alpine
Moves the production Dockerfile from Alpine 3.24 to Debian 13 (trixie), the current Debian stable.
Cuihtlauac Alvarado (@cuihtlauac)Dockerfile: drop autoconf and curl-dev from the build stage
Follow-up to #4032 and #4033, which removed the CI steps that installed system packages by hand.
Cuihtlauac Alvarado (@cuihtlauac)Dockerfile: make the copied runtime assets readable by the server
The runtime stage copies two directories from the build context: playground/asset (COPY) and data/v2 (ADD). Both keep each file's mode from the checkout and become owned by root. Since #3945 the server runs as the unprivileged ocamlorg user, so it can read them only if they are world-readable.
Cuihtlauac Alvarado (@cuihtlauac)Dockerfile: strip the server binary
Strip the server binary in the build stage of the deployment Dockerfile and copy the stripped binary into the runtime image.
Cuihtlauac Alvarado (@cuihtlauac)Documentation: Misleading example in Finding Entries in a Map
Affected page: https://ocaml.org/docs/maps#finding-entries-in-a-map
georgeefDocumentation: concurrent misses on a docs-ci cache each fetch the same key
The four docs-ci caches in src/ocamlorg_package/lib/documentation.ml look up a key and, on a miss, fetch from docs-ci. Concurrent misses on the same key each start their own fetch: nothing remembers a fetch in flight.
Cuihtlauac Alvarado (@cuihtlauac)Documentation: don't cache a failed status.json fetch as "no documentation" for an hour
When ocaml.org couldn't read a package version's status.json from docs-ci, it cached the result as "no documentation" for the full OCAMLORG_PACKAGE_CACHES_TTL (1 hour by default), exactly like a version that really has no documentation. So a transient docs-ci problem (a timeout, a 5xx, a body that doesn't parse) made a documented package look undocumented fo…
Jérôme Vouillon (@vouillon)Documentation: treat a non-JSON response from docs-ci as a miss
ocaml.org reads three JSON files from docs-ci: status.json, sidebar.json and the rendered pages (.html.json). When the body is not JSON at all (an HTML error page served with a 200, or a response cut short by a dropped connection), Yojson.Safe.from_string raises Yojson.Json_error, and only well-formed JSON of the wrong shape was handled:
Jérôme Vouillon (@vouillon)Drop odoc from dev environments, declare yaml and cohttp-lwt
Two dependency clean-ups, one commit each.
Cuihtlauac Alvarado (@cuihtlauac)HACKING: lowercase ocaml.org in URLs, hostnames, and commands
The Docker Hub link was broken: ocurrent/v3.OCaml.org-server returns 400 from the Docker Hub API, whereas v3.ocaml.org-server returns 200.
Cuihtlauac Alvarado (@cuihtlauac)Ignore nine more mechanical passes in git blame
Adds 9 mechanical commits to .git-blame-ignore-revs. They still own lines on main but were missing from the list.
Cuihtlauac Alvarado (@cuihtlauac)Improve old API doc link redirects
Old links such as https://v3.ocaml.org/p/base/v0.15.0 301 redirect to https://ocaml.org, effectively breaking a wide variety of links to ocaml.org across the web.
Zachary Vance (@za3k)Include full blog post content instead of snippets on OCaml Planet
Thank you for maintaining ocaml.org and the OCaml Planet feed.
Puneeth Chaganti (@punchagan)