Monorepo management for opam overlays
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.

+4 -4
+1 -1
dune-project
··· 21 21 (eio_main (>= 1.2)) 22 22 (nox-git (>= 0.1.0)) 23 23 (nox-toml (>= 0.1.0)) 24 - (nox-xdge (>= 0.1.0)) 24 + (nox-xdg (>= 0.1.0)) 25 25 (nox-opam (>= 0.1.0)) 26 26 (nox-ocamlfind (>= 0.1.0)) 27 27 (bytesrw-eio (>= 0.1.0))
+1 -1
lib/dune
··· 5 5 eio 6 6 nox-toml 7 7 nox-toml.eio 8 - nox-xdge 8 + nox-xdg.eio 9 9 nox-opam 10 10 nox-opam.bytesrw 11 11 bytesrw-eio
+1 -1
lib/git_cli.ml
··· 81 81 82 82 (** Read user info from global git config (~/.gitconfig). *) 83 83 let global_git_user ~fs () = 84 - let path = Eio.Path.(Xdge.home_dir fs / ".gitconfig") in 84 + let path = Eio.Path.(Xdg_eio.home_dir fs / ".gitconfig") in 85 85 match Eio.Path.load path with 86 86 | content -> ( 87 87 let config = Git.Config.of_string content in
+1 -1
monopam.opam
··· 17 17 "eio_main" {>= "1.2"} 18 18 "nox-git" {>= "0.1.0"} 19 19 "nox-toml" {>= "0.1.0"} 20 - "nox-xdge" {>= "0.1.0"} 20 + "nox-xdg" {>= "0.1.0"} 21 21 "nox-opam" {>= "0.1.0"} 22 22 "nox-ocamlfind" {>= "0.1.0"} 23 23 "bytesrw-eio" {>= "0.1.0"}