Repository activity
40458 results across all weeks
Allow test to fail on compilation
This feature request comes from people at Inria who are working on compiler extensions.
Ambre Austen Suhamy (@ElectreAAS)Combining `(include_subdirs qualified)` with `(preprocess (per_module ...))`
Expected Behavior
Simmo Saan (@sim642)Design basic stanza configuration for discretionary tools
Tooling management requirement 1.8. Discretionary tools specifies that we must have a way of installing discretionary tools in addition to (and in a way distinct from) project dependencies. Requirement 4.2. Persistent configuration for discretionary tools requires that we have a way of making the configuration of this installation persistent. To address this…
Shon Feder (@shonfeder)Develop user stories to illustrate and inform the dune tools requirements
Guided by #15545 , and as a check on those requirements, develop a set of user stories narrating concrete use cases that instantiate the general requirements specified.
Shon Feder (@shonfeder)Enable building discretionary tools in isolation from project dependencies
Central to the requirements for dune's tool management redesign is https://github.com/ocaml/dune/blob/main/doc/dev/tools-design/requirements.md#311-tool-isolation-i1 , which avoids unnecessary coupling between dependencies of project dependencies and discretionary tools with no integration requirement. The support for discretionary tool management provided i…
Shon Feder (@shonfeder)Ensure exec lookup does not fallback to the environment when the name of a managed tool is invoked
As per 2.1.1. When package management is enabled in a workspace refining https://github.com/ocaml/dune/blob/main/doc/dev/tools-design/requirements.md#21-extent-of-tool-management when a user tries to dune exec a binary which we know is supposed to managed by dune (e.g., because it is configured as a tool that explicitly names the installed binaries) but whic…
Shon Feder (@shonfeder)Exit with code 0 when using —auto-promote
Running jbuilder build @settests --auto-promote where it is expected to promote a revised test/jbuild.inc file, but one ends up having to do sh -c "jbuilder build @settests --auto-promote || true" in, say, an opam file in order to skip the error.
David Allsopp (@dra27)Exit with distinct code when the global lock blocks execution
Desired Behavior
Shon Feder (@shonfeder)Implement basic stanza configuration for discretionary tools
Once the initial design in #16185 is determined, it should be landed as an implementation in the trunk in a (series of) suitable PRs. This issue will be completed when the basic functionality is available in the trunk, and we have verified it works as intended.
Shon Feder (@shonfeder)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)Redesign and reimplement dune tools management
The current design of the dev tooling feature is provided thru the dune tools subcommand. We seem to have widespread consensus among the devs active on package management that the current status quo is not sufficient.
Shon Feder (@shonfeder)Reject `--disable-promotion` in `dune fmt` and `dune promotion apply`
fixes #5946
copilot-swe-agentRocq: Ignore broken .vo symlinks when traversing installed theories
Description
Jan-Oliver Kaiser (@Janno)Semantics of `--no-build` when package management is enabled
This is something I ran into when looking at #16310 and #16185. Consider this use of --no-build flag:
Sudha Parimala (@Sudha247)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 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)