Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: sites modules substitution with dune install #10326

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

emillon
Copy link
Collaborator

@emillon emillon commented Mar 28, 2024

Repro for #10317

Copy link
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.

Its a good test showing that we're accidentally installing something that has escaped expansion.

otherlibs/dune-site/test/install-subst.t Outdated Show resolved Hide resolved
Repro for ocaml#10317

Signed-off-by: Etienne Millon <me@emillon.org>
@emillon emillon merged commit 5887ce9 into ocaml:main Mar 29, 2024
25 of 27 checks passed
emillon added a commit to emillon/dune that referenced this pull request Mar 29, 2024
Repro for ocaml#10317

Signed-off-by: Etienne Millon <me@emillon.org>
@emillon emillon mentioned this pull request Mar 29, 2024
emillon added a commit that referenced this pull request Mar 29, 2024
* test: sites modules substitution with dune install (#10326)

Repro for #10317

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

* fix(install): do substitution for sites files (#10327)

Fixes #10317

The mistake is that the logic is actually more complex that initially
thought: the "executable" status is used to determine is code signing
needs to happen; but artifact substitution should happen in more cases.

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

* Changelog

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

---------

Signed-off-by: Etienne Millon <me@emillon.org>
pmwhite pushed a commit to pmwhite/dune that referenced this pull request Apr 2, 2024
Repro for ocaml#10317

Signed-off-by: Etienne Millon <me@emillon.org>
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.

None yet

2 participants