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: vendored and public libs #7197

Merged
merged 1 commit into from
Mar 2, 2023
Merged

Conversation

rgrinberg
Copy link
Member

Demonstrate that a public library is currently allowed to depend on a
public library that is vendored. This should not work.

Signed-off-by: Rudi Grinberg [email protected]

@gridbugs
Copy link
Collaborator

gridbugs commented Mar 1, 2023

Can you add a note to the test explaining why it's a problem for public libraries to depend on vendored libraries.

Demonstrate that a public library is currently allowed to depend on a
public library that is vendored. This should not work.

Signed-off-by: Rudi Grinberg <[email protected]>

<!-- ps-id: f09081d7-cadb-4fa8-b1ca-594745994060 -->
@rgrinberg rgrinberg force-pushed the ps/rr/test__vendored_and_public_libs branch from bb47d38 to 6d3f9e0 Compare March 1, 2023 23:12
@rgrinberg rgrinberg merged commit e909c5a into main Mar 2, 2023
@rgrinberg rgrinberg deleted the ps/rr/test__vendored_and_public_libs branch March 2, 2023 01:23
@hhugo
Copy link
Collaborator

hhugo commented Mar 2, 2023

Does this PR make #5623 useless ? If so, please close.

jchavarri added a commit to jchavarri/dune that referenced this pull request Nov 15, 2023
* main: (56 commits)
  feature: add terminal ui backend based on NoTTY (ocaml#6996)
  doc(coq): update documentation about coqdep
  fix(rules): don't descend into automatic subdirs infinitely (ocaml#7208)
  benchmark: add warm run (ocaml#7198)
  test: vendored and public libs (ocaml#7197)
  test: use sh in concurrent test (ocaml#7205)
  fix: custom log file path (ocaml#7200)
  test(melange): add test exercising ocaml#7104 (ocaml#7204)
  test(melange): add a test that introduces rules in the target dir (ocaml#7196)
  test: duplicate packages in vendor dir (ocaml#7194)
  melange: interpret `melc --where` as a list of `:`-separated paths (ocaml#7176)
  perf: add synthetic benchmark (ocaml#7189)
  Test case for bug report (ocaml#6725)
  Add test illustrating ocaml#6575 (ocaml#6576)
  chore: add rule streaming proposal (ocaml#7195)
  test(stdlib): merge wrapped/unwrapped tests
  test: move all stdlib tests
  fix: allow unwrapped libraries with `(stdlib ..)`
  test: demonstrate crash in modules.ml when `(stdlib .. )` used with `(wrapped false)`
  fix(install): respect display options (ocaml#7116)
  ...
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.

4 participants