Skip to content

fix(subst): ignore broken symlinks#9810

Merged
emillon merged 4 commits intoocaml:mainfrom
emillon:fix-9593
Jan 24, 2024
Merged

fix(subst): ignore broken symlinks#9810
emillon merged 4 commits intoocaml:mainfrom
emillon:fix-9593

Conversation

@emillon
Copy link
Copy Markdown
Collaborator

@emillon emillon commented Jan 23, 2024

Fixes #9593

Copy link
Copy Markdown
Collaborator

@Leonidas-from-XIV Leonidas-from-XIV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and understandable, but needs to be reformatted.

Fixes ocaml#9593

Signed-off-by: Etienne Millon <me@emillon.org>
Signed-off-by: Etienne Millon <me@emillon.org>
Signed-off-by: Etienne Millon <me@emillon.org>
@rgrinberg rgrinberg added this to the 3.14.0 milestone Jan 23, 2024
@emillon emillon merged commit 8305a5b into ocaml:main Jan 24, 2024
@emillon emillon deleted the fix-9593 branch January 24, 2024 09:41
@emillon emillon mentioned this pull request Feb 5, 2024
15 tasks
emillon added a commit to emillon/dune that referenced this pull request Feb 5, 2024
* fix(subst): ignore broken symlinks

Fixes ocaml#9593

Signed-off-by: Etienne Millon <me@emillon.org>
@emillon emillon mentioned this pull request Feb 5, 2024
emillon added a commit that referenced this pull request Feb 5, 2024
* test: subst should not fail on broken symlinks (#9637)

See #9593

Signed-off-by: Etienne Millon <me@emillon.org>

* fix(subst): ignore broken symlinks (#9810)

* fix(subst): ignore broken symlinks

Fixes #9593

Signed-off-by: Etienne Millon <me@emillon.org>

---------

Signed-off-by: Etienne Millon <me@emillon.org>
emillon added a commit to emillon/opam-repository that referenced this pull request Feb 5, 2024
CHANGES:

- Fix performance regression for incremental builds (ocaml/dune#9769, fixes ocaml/dune#9738,
  @rgrinberg)

- Fix `dune ocaml top-module` to correctly handle absolute paths. (ocaml/dune#8249, fixes
  ocaml/dune#7370, @Alizter)

- subst: ignore broken symlinks when looking at source files (ocaml/dune#9810, fixes
  ocaml/dune#9593, @emillon)

- subst: do not fail on 32-bit systems when large files are encountered. Just
  log a warning in this case. (ocaml/dune#9811, fixes ocaml/dune#9538, @emillon)

- boot: sort directory entries in readdir. This makes the dune binary
  reproducible in terms of filesystem order. (ocaml/dune#9861, fixes ocaml/dune#9794, @emillon)
nberth pushed a commit to nberth/opam-repository that referenced this pull request Jun 18, 2024
CHANGES:

- Fix performance regression for incremental builds (ocaml/dune#9769, fixes ocaml/dune#9738,
  @rgrinberg)

- Fix `dune ocaml top-module` to correctly handle absolute paths. (ocaml/dune#8249, fixes
  ocaml/dune#7370, @Alizter)

- subst: ignore broken symlinks when looking at source files (ocaml/dune#9810, fixes
  ocaml/dune#9593, @emillon)

- subst: do not fail on 32-bit systems when large files are encountered. Just
  log a warning in this case. (ocaml/dune#9811, fixes ocaml/dune#9538, @emillon)

- boot: sort directory entries in readdir. This makes the dune binary
  reproducible in terms of filesystem order. (ocaml/dune#9861, fixes ocaml/dune#9794, @emillon)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dune subst Error: stat(test): No such file or directory on semgrep

3 participants