OCaml library and CLI for OCI and Docker image manipulation
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.

+3 -3
+1 -1
bin/dune
··· 2 2 (public_name oci) 3 3 (name main) 4 4 (package oci) 5 - (libraries oci nox-tty fmt eio_main xdg cmdliner dune-build-info vlog)) 5 + (libraries oci nox-tty fmt eio_main nox-xdg cmdliner dune-build-info vlog))
+1 -1
dune-project
··· 43 43 nox-tty 44 44 uri 45 45 vlog 46 - xdg 46 + nox-xdg 47 47 osrelease 48 48 (alcotest :with-test) 49 49 (mdx :with-test)
+1 -1
oci.opam
··· 36 36 "nox-tty" 37 37 "uri" 38 38 "vlog" 39 - "xdg" 39 + "nox-xdg" 40 40 "osrelease" 41 41 "alcotest" {with-test} 42 42 "mdx" {with-test}