Add "dune describe package-entries"#7480
Conversation
|
The implementation looks fine but how about a clearer name like |
I buy |
|
The implementation is fine, but just to check, does |
I have already tested with |
|
ok then I'd hold off onto merging these PRs until they've been tested with opam-dune-lint. let me know what that's the case. |
4e6ee5b to
2d7b54a
Compare
|
Ready for another review and to be merged. |
|
has this been tested with opam-dune-lint? |
2d7b54a to
833cfb6
Compare
|
FTR I am in the middle of a big refactoring of dune describe. It might make sense to wait for that. Notably you will have to introduce a new subcommand for |
I wouldn't put an order between those. Both branches exist and a rebase will have to be done, it can be done in a direction or the other. |
a125378 to
1172a74
Compare
|
It looks like my branch got merged first. Could you add a |
1172a74 to
2ed946e
Compare
fd912a9 to
4dbe205
Compare
Alizter
left a comment
There was a problem hiding this comment.
LGTM, can you add a package_entries.mli?
4dbe205 to
056c257
Compare
056c257 to
4afd670
Compare
4afd670 to
3d6d3b2
Compare
emillon
left a comment
There was a problem hiding this comment.
Looks good once the to_dyn is changed!
|
Can you promote the tests and add a changelog entry? |
ab3dc80 to
3fc38f5
Compare
3fc38f5 to
7eb736f
Compare
|
ping? |
7eb736f to
1978a38
Compare
The need is about knowing if a private executable is going to be
installed before building the project.
Signed-off-by: Alpha DIALLO <moyodiallo@gmail.com>
Co-authored-by: Etienne Millon <etienne.millon@gmail.com> Signed-off-by: Alpha Issiaga DIALLO <alpha@tarides.com>
Signed-off-by: Alpha DIALLO <moyodiallo@gmail.com>
94914b4 to
15871bd
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)
* Add "dune describe entries"
The need is about knowing if a private executable is going to be
installed before building the project.
Signed-off-by: Alpha DIALLO <moyodiallo@gmail.com>
Co-authored-by: Etienne Millon <etienne.millon@gmail.com>
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)
The need is about knowing if a private executable is going to be installed before building the project.
This PR is related to ocurrent/opam-dune-lint#46:
The command
dune describe external-libdoes not give the package name of private executable if it going to be installed,dune describe external-lib-depsis used byopam-dune-lintto extract the external dependencies.