Skip to content

[new release] dune (15 packages) (3.10.0) #24185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

emillon
Copy link
Contributor

@emillon emillon commented Jul 31, 2023

Fast, portable, and opinionated build system

CHANGES:

CHANGES:

- Add `dune show rules` as alias of the `dune rules` command. (ocaml/dune#8000, @Alizter)

- Fix `%{deps}` to expand properly in `(cat ...)` when containing 2 or more
  items. (ocaml/dune#8196, @Alizter)

- Add `dune show installed-libraries` as an alias of the `dune
  installed-libraries` command. (ocaml/dune#8135, @Alizter)

- Fix the `severity` of error messages sent over RPC which was missing. (ocaml/dune#8193,
  @Alizter)

- Add `dune build --dump-gc-stats FILE` argument to dump garbage collection
  stats to a named file. (ocaml/dune#8072, @Alizter)

- Fix bug with ppx and Reason syntax due to missing dependency in sandboxed
  action (ocaml/dune#7932, fixes ocaml/dune#7930, @Alizter)

- Add `dune describe package-entries` to print all package entries (ocaml/dune#7480,
  @moyodiallo)

- Improve `dune describe external-lib-deps` by adding the internal dependencies
  for more information. (ocaml/dune#7478, @moyodiallo)

- Re-enable background file digests on Windows. The files are now open in a way
  that prevents race condition around deletion. (ocaml/dune#8262, fixes ocaml/dune#8268, @emillon)
@emillon emillon mentioned this pull request Jul 31, 2023
10 tasks
@emillon
Copy link
Contributor Author

emillon commented Aug 1, 2023

No regressions here, this is good to go as well.

@avsm
Copy link
Member

avsm commented Aug 1, 2023

Looks like ocamlformat-rpc could use a upper bound constraint on cmdliner to avoid its tests failing, but not a blocker to merge.

#=== ERROR while compiling ocamlformat-rpc.0.21.0 =============================#
# context              2.2.0~alpha2~dev | linux/x86_64 | ocaml-base-compiler.4.14.1 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/ocamlformat-rpc.0.21.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlformat-rpc -j 255 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/ocamlformat-rpc-7-897a9b.env
# output-file          ~/.opam/log/ocamlformat-rpc-7-897a9b.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -noassert -open Ocamlformat_stdlib -g -I bin/ocamlformat-rpc/.main.eobjs/byte -I bin/ocamlformat-rpc/.main.eobjs/native -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/camlp-streams -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-build-info -I /home/opam/.opam/4.14/lib/either -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/menhirLib -I /home/opam/.opam/4.14/lib/ocaml-version -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ocamlformat -I /home/opam/.opam/4.14/lib/ocamlformat-rpc-lib -I /home/opam/.opam/4.14/lib/ocamlformat/format_ -I /home/opam/.opam/4.14/lib/ocamlformat/ocaml_413 -I /home/opam/.opam/4.14/lib/ocamlformat/ocaml_413_extended -I /home/opam/.opam/4.14/lib/ocamlformat/ocaml_common -I /home/opam/.opam/4.14/lib/ocamlformat/ocamlformat_stdlib -I /home/opam/.opam/4.14/lib/ocamlformat/parse_wyc -I /home/opam/.opam/4.14/lib/ocamlformat/parser_shims -I /home/opam/.opam/4.14/lib/ocp-indent/lexer -I /home/opam/.opam/4.14/lib/ocp-indent/lib -I /home/opam/.opam/4.14/lib/ocp-indent/utils -I /home/opam/.opam/4.14/lib/odoc-parser -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/uucp -I /home/opam/.opam/4.14/lib/uuseg -I /home/opam/.opam/4.14/lib/uuseg/string -I /home/opam/.opam/4.14/lib/uutf -I lib-rpc-server/.ocamlformat_rpc.objs/byte -I lib-rpc-server/.ocamlformat_rpc.objs/native -intf-suffix .ml -no-alias-deps -o bin/ocamlformat-rpc/.main.eobjs/native/dune__exe__Main.cmx -c -impl bin/ocamlformat-rpc/main.ml)
# File "bin/ocamlformat-rpc/main.ml", line 15, characters 2-14:
# 15 |   Caml.at_exit (Format.pp_print_flush Format.err_formatter) ;
#        ^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "bin/ocamlformat-rpc/main.ml", line 16, characters 2-14:
# 16 |   Caml.at_exit (Format_.pp_print_flush Format_.err_formatter)
#        ^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "bin/ocamlformat-rpc/main.ml", line 77, characters 9-18:
# 77 | let () = Caml.exit @@ Cmd.eval_result (Cmd.v info rpc_main_t)
#               ^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "ocamlformat-rpc-help.txt", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/ocamlformat-rpc-help.txt _build/default/ocamlformat-rpc-help.actual
# diff --git a/_build/default/ocamlformat-rpc-help.txt b/_build/default/ocamlformat-rpc-help.actual
# index 20d01e5..1903922 100644
# --- a/_build/default/ocamlformat-rpc-help.txt
# +++ b/_build/default/ocamlformat-rpc-help.actual
# @@ -3,7 +3,7 @@ NAME
#         code.
#  
#  SYNOPSIS
# -       ocamlformat-rpc [OPTION]… 
# +       ocamlformat-rpc [OPTION]…
#  
#  DESCRIPTION
#         ocamlformat-rpc listens to RPC requests, provided on the standard
# @@ -66,7 +66,7 @@ COMMON OPTIONS
#             Show version information.
#  
#  EXIT STATUS
# -       ocamlformat-rpc exits with the following status:
# +       ocamlformat-rpc exits with:
#  
#         0   on success.
#  

@avsm avsm merged commit 02f633d into ocaml:master Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

background digests crash on Windows ppx_expect + reason is broken after dune lang 3.2
2 participants