Repository activity
40458 results across all weeks
refactor(stdune): add Nonempty_list operations
Add length, iter, for_all, and map2 to Nonempty_list.
Antonio Nuno Monteiro (@anmonteiro)refactor(stdune): use Filename.null for dev null
Use OCaml's platform-specific Filename.null rather than maintaining a duplicate Sys.win32 conditional. Expose the existing value through Stdune.Filename and use it directly at both dev-null call sites.
Rudi Grinberg (@rgrinberg)refactor(utop): use shared source path handling
Use Common.source_path, introduced in #16135, to resolve the directory passed
Rudi Grinberg (@rgrinberg)refactor: group rule cache entries by directory
Store workspace-local rule cache entries in a two-level table keyed first by the target directory and then by basename. This lets entries in the same directory share the directory key and reduces the size of the persisted database.
Rudi Grinberg (@rgrinberg)refactor: remove Entry.Dst.to_string
Replace with Entry.Dst.local
Rudi Grinberg (@rgrinberg)refactor: remove source copying rules
Making source copying a rule turns out to have numerous disadvantages:
Rudi Grinberg (@rgrinberg)refactor: remove useless alias
Rudi Grinberg (@rgrinberg)refactor: rename dune_targets to targets
The target representation is consumed as Targets throughout the engine, cache, rules, and CLI, but each component currently aliases Dune_targets.
Rudi Grinberg (@rgrinberg)refactoring: add dune_opam library for opam file parsing
This PR creates a new dune_opam library that sits between dune_lang and dune_pkg in the dependency hierarchy.
Thomas Gazagnaire (@samoht)rpc: is building aliases possible?
I am trying to build an alias through RPC but I don't seem to be able to. I include a small repro as a test in the PR.
Javier Chávarri (@jchavarri)running `dune tools exec <p>` when `p` is not already installed as a dev tool should suggest users run `dune tools install <p>`
Currently it seems to give different kinds of unhelpful errors. E.g.,
Shon Feder (@shonfeder)spawn test occasionally flakes
The following flake has been observed a few times in the macos opam job in CI:
Ali Caglayan (@Alizter)test(action-plugin): reproduce directories in glob listings
Record the current read_directory_with_glob behavior when the action plugin
Rudi Grinberg (@rgrinberg)test(cram): cover anonymous cached output
Extend the double-run promotion test to record that cram currently materializes cram.out and that --force does not rerun the test. This provides regression coverage for moving cram output to an anonymous action.
Rudi Grinberg (@rgrinberg)test(ctypes): avoid linking vendored libraries twice
Use c_library_flags as the sole linkage mechanism in the vendored Ctypes fixtures instead of also linking the same library through foreign_archives.
Rudi Grinberg (@rgrinberg)test(ctypes): expose dropped deps in generated C compilation
Add a regression test showing that (ctypes (deps ...)) does not reach generated C stub compilation. With symlink sandboxing forced, the generated C compiler still runs outside the sandbox.
Rudi Grinberg (@rgrinberg)test(ctypes): record link sandbox and header dependencies
Record that Ctypes 0.3 executable and C stubs library links consuming c_library_flags run outside a sandbox. A follow-up Ctypes version can add separate link dependencies and require sandboxing without changing 0.3 behavior.
Rudi Grinberg (@rgrinberg)test(describe): demonstrate absolute directory rejection
Add a regression test recording that dune describe workspace rejects an
Rudi Grinberg (@rgrinberg)test(engine): cover concurrent process redirections
Add a regression demonstrating that concurrent process actions beneath one
Rudi Grinberg (@rgrinberg)test(engine): cover duplicate action locks
A rule that declares the same lock twice currently tries to acquire the same
Rudi Grinberg (@rgrinberg)