osrelease - detect system and distro information in OCaml#
Status: WIP
This library is used to detect local information about which operating system, architecture, distribution and version the program is running under.
For self-hosted knots, clone URLs may differ based on your setup.
Download tar.gz
Adds 108 missing dependency declarations across 52 packages.
Most common missing dep was fmt (38 packages), followed by wire,
eio, and bytesrw. Also improves lint output with tty tables and
better subtree filtering display.
- Fix catch-all exception → Scanf.Scan_failure | Failure (E105)
- Add module documentation comment to osrelease.mli (E400)
- Add docs for all 20 public values in Arch, OS, Distro, Version (E405)
- Create test/test_osrelease.ml/mli, test.ml, dune (E605)
Migrate Printf.sprintf to Fmt.str, Format.fprintf to Fmt.pf, and
Format.pp_print_string to Fmt.string across bundle, gpt, hap, homebrew,
jsonwt, matter, mbr, meross, paseto, precommit, publicsuffix, qemu,
retry, sdnv, slack, sle, space-packet, spake2, sqlite, squashfs, tar,
tc, tcf, tcpcl, tm, tomlt, tty, uslp, vlog, wal, wire, yamlrw, yamlt,
osrelease, space, xdge, and crypto test runner.
Status: WIP
This library is used to detect local information about which operating system, architecture, distribution and version the program is running under.