-
Notifications
You must be signed in to change notification settings - Fork 414
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
Improve "dune describe external-lib-deps" : printing out more information #7478
Improve "dune describe external-lib-deps" : printing out more information #7478
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine except some minor style suggestions. Same remark as #7480, has this been tested with opam-dune-lint
or is it in anticipation?
Ready for another review and to be merged. |
same question as in #7480, has this been tested with opam-dune-lint? |
feb5795
to
59af844
Compare
59af844
to
6a061d0
Compare
6a061d0
to
97b9172
Compare
97b9172
to
ee6aa27
Compare
ee6aa27
to
6a21c2b
Compare
~f:(fun name -> | ||
external_resolve db (Lib_name.of_string name) Kind.Optional) | ||
>>| List.filter_opt) | ||
| Dune_rules.Lib_dep.Direct (_, name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should put (lib : Dune_rules.Lib_dep.t)
in the match then you can stop prefixing the constructors.
6a21c2b
to
7fc23e1
Compare
9865cee
to
0eec296
Compare
There was a missing |
ping? |
9055d5d
to
44a5eff
Compare
Instead of having only external dependencies, we could also add the internal dependencies for more information. Add the extensions of executables Signed-off-by: Alpha DIALLO <[email protected]>
If a private lib is a dependency and have an external lib as dependency, that information should be known. In order to reach all external dependencies. Signed-off-by: Alpha DIALLO <[email protected]>
Co-authored-by: Etienne Millon <[email protected]> Signed-off-by: Alpha Issiaga DIALLO <[email protected]>
Co-authored-by: Etienne Millon <[email protected]> Signed-off-by: Alpha Issiaga DIALLO <[email protected]>
Signed-off-by: Alpha DIALLO <[email protected]>
Signed-off-by: Alpha DIALLO <[email protected]>
44a5eff
to
2c67b7a
Compare
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)
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)
…tion (ocaml#7478) * refactor: improve "dune describe external-lib-deps" Instead of having only external dependencies, we could also add the internal dependencies for more information. If a private lib is a dependency and have an external lib as dependency, that information should be known. In order to reach all external dependencies. Signed-off-by: Alpha DIALLO <[email protected]> Co-authored-by: Etienne Millon <[email protected]>
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)
Instead of having only external dependencies, we could also add the internal dependencies for more information.
This is related to ocurrent/opam-dune-lint#46.