Repository activity
40458 results across all weeks
Odoc v3 rules
This PR contains a rewrite of the odoc rules in dune to unlock some of the features of odoc v3.
Jon Ludlam (@jonludlam)Overlapping Dependencies in Lock Directory ("in and out problem")
Apologies for the title, better suggestions are welcome. The issue is best understood by an example.
Rudi Grinberg (@rgrinberg)Present an informative error for invalid use of declared discretionary tools in build rules
As per, 3.2.1.2.1. Useful guidance on invalid reference in rules, when package management is enabled and a configured discretionary tool is referenced from a build rule, we should fail the build (due to an unmet dependency) but also supply an informative error.
Shon Feder (@shonfeder)Prevent system fallback for dune tool integration subcommands when package management is enabled
We refer to the special set of tools that have built in support from dune subcommands "tool integrations". These tools benefit from a relatively deep integration withe the build system), such as utop via dune utop, and ocamlformat via dune fmt and get special treatment as a result.
Shon Feder (@shonfeder)Provide instructions on getting emacs dune-mode installed
I ended up having to manually load the file from the install location in my ~/.opam directory. There is probably a better way to get the package available, but I couldn't find any trace of it.
Shon Feder (@shonfeder)Regression: some setting of `OCAMLFIND_CONF` now raises an error
Expected Behavior
Julien M. (@ju1m)Reject `--disable-promotion` in `dune fmt` and `dune promotion apply`
fixes #5946
copilot-swe-agentRemove experimental FDO support
Remove Dune's experimental integration with the external OCamlFDO tooling. The feature has no known users; in particular, the current OxCaml tree does not use Dune's (fdo ...) workspace field or the OCAMLFDO_* build configuration. Keeping it also complicates compilation, linking, and foreign-code rules.
Rudi Grinberg (@rgrinberg)Support constraining discretionary tools to integrate with existing lock directories
As per requirement 3.1.2. Tool integration (I2), and complementary to #16193, when a discretionary tool must integrate with the project dependencies (e.g., because it must use the same compiler version to build), we need a way to specify and enforce those constraints. As in other related issues, we should try to reuse existing configuration idioms as much as…
Shon Feder (@shonfeder)Support for inferring MLI from ML file
Desired Behavior
Christian Lindig (@lindig)Support putting all tooling binaries into shell environment
As per tool management requirements 2.2. Shells, 2.3. Programmatic use, 3.2.2.1. Usable as tools, and 3.2.3.1. Usable as tools, it should be possible to put all tools managed by dune in the executable lookup path for a user.
Shon Feder (@shonfeder)Support specifying subset of binaries for installation from packages for discretionary tools
As per 1.5. Binary selection, extend the discretionary tool management stanza implemented in #16186 to support only installing a subset of the executables provided by a package into the executable environment.
Shon Feder (@shonfeder)Support specifying versions in discretionary tools stanzas
Implement support for configuring version constraints for discretionary tools, as required by 1.3. Version specification.
Shon Feder (@shonfeder)Support writing files inside directory targets from dune-action-plugin
Support writing files inside directory targets from dune-action-plugin
Tobias Liese (@SR-Lut3t1um)Tool implementation issue planning
Description
Shon Feder (@shonfeder)[rocq] Support for installation of package metadata.
We now install a rocq-package file for each Rocq theory. This way, when Rocq developments build with Dune are globally installed, we can find out additional metadata, such as the list of their dependencies.
Emilio Jesús Gallego Arias (@ejgallego)`_build/default` in `compile_commands.json`'s "`directory"` value
Expected Behavior
sully-vian (@sully-vian)`dune build @doc` is not working in powershell
Expected Behavior
Matthieu Dubuget (@ttamttam)action plugin: trying to read empty / non-existing directory raises
First of all, apologies for not following the issue template. This is not necessarily a bug, I'm just trying to understand what the right behavior should be.
Antonio Nuno Monteiro (@anmonteiro)chore(nix): update nix flakes
Antonio Nuno Monteiro (@anmonteiro)