Minimal bootable disk image builder
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

*: migrate consumers from nox-xdge / dune-internal xdg to nox-xdg{,.eio}

Sweep of every consumer that previously depended on either the
standalone [nox-xdge] package (the Eio wrapper) or dune's internal
[xdg] library. Both are gone after the previous commit; consumers
now point at the merged [nox-xdg] package's two libraries:

- Code that used the Eio wrapper ([Xdge.v fs app_name],
[Xdge.config_dir], etc.) -> [Xdg_eio.foo], library [nox-xdg.eio].
- Code that used the pure spec ([Xdg.create ~env ()],
[Xdg.cache_dir]) -> unchanged module name [Xdg], library
[nox-xdg].

Touched packages:

- gauth, gdocs, gsheets, gslides -- the Google credential stack;
[Gauth.Local_store] uses [Xdg_eio] internally.
- ocaml-requests, ocaml-cookie -- HTTP client and cookie jar;
[Requests.t] takes an [?xdg:Xdg_eio.t] for cookie persistence.
- ocaml-agent, ocaml-atp, ocaml-slack, ocaml-linkedin, monopam,
uniboot -- CLIs that compute their own config / cache / state
paths via the Eio wrapper.
- ocaml-oci -- uses the pure spec ([Xdg.cache_dir]) for OCI image
layout; migrated from dune-internal [xdg] to [nox-xdg].

Mechanical changes per package:

- [dune-project]: opam dep [nox-xdge] -> [nox-xdg].
- [lib/dune] and [bin/dune]: library reference [nox-xdge] ->
[nox-xdg.eio] (or [nox-xdg] for the rare pure-spec consumer).
- [.ml] / [.mli]: [Xdge] -> [Xdg_eio].

Generated [.opam] files updated by the dune build accordingly.

+6 -6
+1 -1
dune-project
··· 32 32 (initramfs (>= 0.1)) 33 33 oci 34 34 (eio (>= 1.0)) 35 - nox-xdge 35 + nox-xdg 36 36 (cmdliner (>= 1.2)) 37 37 (fmt (>= 0.9)) 38 38 (logs (>= 0.7))
+1 -1
lib/dune
··· 13 13 logs 14 14 uuidm 15 15 unix 16 - nox-xdge)) 16 + nox-xdg.eio))
+3 -3
lib/source.ml
··· 45 45 46 46 let xdge env = 47 47 let fs = Eio.Stdenv.fs env in 48 - Xdge.v fs "uniboot" 48 + Xdg_eio.v fs "uniboot" 49 49 50 50 let oci_cache xdge = 51 - let cache_dir = Eio.Path.(Xdge.cache_dir xdge / "oci") in 51 + let cache_dir = Eio.Path.(Xdg_eio.cache_dir xdge / "oci") in 52 52 let cache = Oci.Cache.v cache_dir in 53 53 Oci.Cache.init cache; 54 54 cache 55 55 56 56 let checkout_dir xdge = 57 - let path = Eio.Path.native_exn (Xdge.cache_dir xdge) in 57 + let path = Eio.Path.native_exn (Xdg_eio.cache_dir xdge) in 58 58 Filename.concat path "checkout" 59 59 60 60 let oci_fetch ~env ~cache ?platform image =
+1 -1
uniboot.opam
··· 21 21 "initramfs" {>= "0.1"} 22 22 "oci" 23 23 "eio" {>= "1.0"} 24 - "nox-xdge" 24 + "nox-xdg" 25 25 "cmdliner" {>= "1.2"} 26 26 "fmt" {>= "0.9"} 27 27 "logs" {>= "0.7"}