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

bigstringaf.0.5.2: Untag dune a build dependency #14501

Merged
merged 1 commit into from
Jul 13, 2019

Conversation

kit-ty-kate
Copy link
Member

#14497 was merged in between #14266 and was missing the fix

cc @seliopou could you change that upstream?

@kit-ty-kate kit-ty-kate merged commit fcf19f4 into ocaml:master Jul 13, 2019
@kit-ty-kate kit-ty-kate deleted the bigstringaf-dune-unbuild branch July 13, 2019 12:48
@seliopou
Copy link
Contributor

Why is this change necessary? Dune is just a build dependency, after all.

@kit-ty-kate
Copy link
Member Author

The definition of a build dependency according to opam is that is does not need to rebuild the package if the dependency changed. Dune does not fit this definition anymore as it installs metadata files dependent of the current dune version. If one downgrade the dune version they can't read this metadata file anymore and will fail any builds requiring this package. (see pull requests linked above for more info)

@kit-ty-kate kit-ty-kate mentioned this pull request Jul 29, 2019
dhil added a commit to dhil/links that referenced this pull request Aug 9, 2019
(Supposedly dune no longer satisfies the OPAM definition of a build-time
dependency)[ocaml/opam-repository#14501 (comment)],
hence we should make it a runtime dependency.

This patch removes `build` tag from the `.opam`-files such that `dune`
becomes a runtime dependency.
dhil added a commit to links-lang/links that referenced this pull request Aug 9, 2019
[Supposedly dune no longer satisfies the OPAM definition of a build-time
dependency](ocaml/opam-repository#14501 (comment)),
hence we should make it a runtime dependency.

This patch removes `build` tag from the `.opam`-files such that `dune`
becomes a runtime dependency.
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.

2 participants