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

Put back library variants in development mode #2116

Merged
2 commits merged into from May 2, 2019
Merged

Put back library variants in development mode #2116

2 commits merged into from May 2, 2019

Conversation

ghost
Copy link

@ghost ghost commented May 2, 2019

There is currently an issue with library variants: the choice of implementation depends on what's installed on the system. For instance, this mean that re-installing a package after some other ones have been installed could produce a different result.

We might need to slightly change the design of library variants to make the feature more robust. In the meantime, we are putting it back in development mode.

Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
@ghost ghost requested review from emillon and rgrinberg as code owners May 2, 2019 08:53
@ghost ghost requested a review from TheLortex May 2, 2019 08:53
Copy link
Collaborator

@TheLortex TheLortex 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 to me !

_
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
@ghost ghost merged commit e7a5d7e into ocaml:master May 2, 2019
ghost pushed a commit that referenced this pull request May 2, 2019
* Put back library variants in development mode

Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
rgrinberg added a commit to rgrinberg/opam-repository that referenced this pull request May 2, 2019
CHANGES:

- Put back library variants in development mode. We discovered a
  serious unexpected issue and we might need to adjust the design of
  this feature before we are ready to commit to a final version. Users
  will need to write `(using library_variants 0.1)` in their
  `dune-project` file if they want to use it before the design is
  finalized. (ocaml/dune#2116, @diml)

- Forbid to attach a variant to a library that implements a virtual
  library outside the current project (ocaml/dune#2104, @rgrinberg)

- Fix a bug where `dune install` would install man pages to incorrect
  paths when compared to `opam-installer`. For example dune now
  installs `(foo.1 as man1/foo.1)` correctly and previously that was
  installed to `man1/man1/foo.1`. (ocaml/dune#2105, @aalekseyev)

- Do not fail when a findlib directory doesn't exist (ocaml/dune#2101, fix ocaml/dune#2099, @diml)

- [coq] Rename `(coqlib ...)` to `(coq.theory ...)`, support for
  `coqlib` will be dropped in the 1.0 version of the Coq language
  (ocaml/dune#2055, @ejgallego)

- Fix crash when calculating library dependency closure (ocaml/dune#2090, fixes ocaml/dune#2085,
  @rgrinberg)
mlasson pushed a commit to mlasson/dune that referenced this pull request Jul 19, 2019
* Put back library variants in development mode

Signed-off-by: Jeremie Dimino <jeremie@dimino.org>

* _

Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
This pull request was closed.
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