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

Update to opam 2, dune, latest core_kernel APIs #54

Merged
merged 5 commits into from
May 31, 2019

Conversation

talex5
Copy link
Collaborator

@talex5 talex5 commented May 30, 2019

Note: we now require OCaml >= 4.03

Done by running `opam package-upgrade capnp.opam`.
This allows us to drop some complexity from the jbuilder files, allowing
them to be upgraded automatically by dune.
@talex5 talex5 force-pushed the dune branch 2 times, most recently from 428a94f to 9fd2f0e Compare May 31, 2019 09:06
Done by running `dune upgrade` and then fixing the test command.
Also, updated `Makefile` and removed `jbuild-workspace.dev`.
- `Char.gen` appears to have disappeared.
- `Core.Std` has gone too.
@talex5 talex5 merged commit 458b976 into capnproto:master May 31, 2019
@talex5 talex5 deleted the dune branch May 31, 2019 10:01
talex5 added a commit to talex5/opam-repository that referenced this pull request Jun 4, 2019
CHANGES:

This release is mostly about reducing the number of dependencies.
The only API change is that `write_message_to_file_robust` has gone.

* Remove `extunix` dependency (capnproto/capnp-ocaml#57).
  `write_message_to_file_robust` was its only user, and wasn't used by anything.
  Using `fsync` to ensure a file is written to disk is a general function that
  should be handled by the user of capnp where needed.
  Removing `extunix` also removes the indirect dependency on `camlp4`,
  which in turn allows `capnp` to build with OCaml 4.08 (and to build faster on all versions).

* Remove `Pervasives` qualifier (capnproto/capnp-ocaml#57).
  This is needed to support OCaml 4.08 without warnings.

* Remove dependency on `Core` from benchmarks (capnproto/capnp-ocaml#55).
  This was the only remaining use of the library.

* Replace uses of `Core_kernel` with plain `Base` and `Stdio` in the compiler (capnproto/capnp-ocaml#56)
  and tests (capnproto/capnp-ocaml#59).
  This greatly reduces the number of libraries you need to install to install capnp.

* Update tests for the current quickcheck API (capnproto/capnp-ocaml#54).

* Switch from jbuilder to dune (capnproto/capnp-ocaml#54).

* Require OCaml >= 4.03 (capnproto/capnp-ocaml#54).
  This allows us to drop some complexity from the jbuilder files,
  allowing them to be upgraded automatically by dune.

* Upgrade to opam 2 format (capnproto/capnp-ocaml#54).

* Convert the changelog to markdown (capnproto/capnp-ocaml#58).
  This allows it to be used with dune-release.

With these changes, the following 49 libraries that were needed to install
capnp-ocaml 3.2.1 are no longer required: `base_bigstring`, `base_quickcheck`,
`bin_prot`, `camlp4`, `core_kernel`, `extunix`, `fieldslib`,
`jane-street-headers`, `jst-config`, `num`, `ocaml-compiler-libs`,
`ocaml-migrate-parsetree`, `octavius`, `parsexp`, `ppx_assert`, `ppx_base`,
`ppx_bench`, `ppx_bin_prot`, `ppx_compare`, `ppx_custom_printf`,
`ppx_derivers`, `ppx_enumerate`, `ppx_expect`, `ppx_fail`, `ppx_fields_conv`,
`ppx_hash`, `ppx_here`, `ppx_inline_test`, `ppx_jane`, `ppx_js_style`,
`ppx_let`, `ppxlib`, `ppx_module_timer`, `ppx_optcomp`, `ppx_optional`,
`ppx_pipebang`, `ppx_sexp_conv`, `ppx_sexp_message`, `ppx_sexp_value`,
`ppx_stable`, `ppx_typerep_conv`, `ppx_variants_conv`, `re`, `seq`, `sexplib`,
`splittable_random`, `time_now`, `typerep` and `variantslib`.
talex5 added a commit to talex5/opam-repository that referenced this pull request Jun 4, 2019
CHANGES:

This release is mostly about reducing the number of dependencies.
The only API change is that `write_message_to_file_robust` has gone.

* Remove `extunix` dependency (capnproto/capnp-ocaml#57).
  `write_message_to_file_robust` was its only user, and wasn't used by anything.
  Using `fsync` to ensure a file is written to disk is a general function that
  should be handled by the user of capnp where needed.
  Removing `extunix` also removes the indirect dependency on `camlp4`,
  which in turn allows `capnp` to build with OCaml 4.08 (and to build faster on all versions).

* Remove `Pervasives` qualifier (capnproto/capnp-ocaml#57).
  This is needed to support OCaml 4.08 without warnings.

* Remove dependency on `Core` from benchmarks (capnproto/capnp-ocaml#55).
  This was the only remaining use of the library.

* Replace uses of `Core_kernel` with plain `Base` and `Stdio` in the compiler (capnproto/capnp-ocaml#56)
  and tests (capnproto/capnp-ocaml#59).
  This greatly reduces the number of libraries you need to install to install capnp.

* Update tests for the current quickcheck API (capnproto/capnp-ocaml#54).

* Switch from jbuilder to dune (capnproto/capnp-ocaml#54).

* Require OCaml >= 4.03 (capnproto/capnp-ocaml#54).
  This allows us to drop some complexity from the jbuilder files,
  allowing them to be upgraded automatically by dune.

* Upgrade to opam 2 format (capnproto/capnp-ocaml#54).

* Convert the changelog to markdown (capnproto/capnp-ocaml#58).
  This allows it to be used with dune-release.

With these changes, the following 49 libraries that were needed to install
capnp-ocaml 3.2.1 are no longer required: `base_bigstring`, `base_quickcheck`,
`bin_prot`, `camlp4`, `core_kernel`, `extunix`, `fieldslib`,
`jane-street-headers`, `jst-config`, `num`, `ocaml-compiler-libs`,
`ocaml-migrate-parsetree`, `octavius`, `parsexp`, `ppx_assert`, `ppx_base`,
`ppx_bench`, `ppx_bin_prot`, `ppx_compare`, `ppx_custom_printf`,
`ppx_derivers`, `ppx_enumerate`, `ppx_expect`, `ppx_fail`, `ppx_fields_conv`,
`ppx_hash`, `ppx_here`, `ppx_inline_test`, `ppx_jane`, `ppx_js_style`,
`ppx_let`, `ppxlib`, `ppx_module_timer`, `ppx_optcomp`, `ppx_optional`,
`ppx_pipebang`, `ppx_sexp_conv`, `ppx_sexp_message`, `ppx_sexp_value`,
`ppx_stable`, `ppx_typerep_conv`, `ppx_variants_conv`, `re`, `seq`, `sexplib`,
`splittable_random`, `time_now`, `typerep` and `variantslib`.
talex5 added a commit to talex5/opam-repository that referenced this pull request Jun 4, 2019
CHANGES:

This release is mostly about reducing the number of dependencies.
The only API change is that `write_message_to_file_robust` has gone.

* Remove `extunix` dependency (capnproto/capnp-ocaml#57).
  `write_message_to_file_robust` was its only user, and wasn't used by anything.
  Using `fsync` to ensure a file is written to disk is a general function that
  should be handled by the user of capnp where needed.
  Removing `extunix` also removes the indirect dependency on `camlp4`,
  which in turn allows `capnp` to build with OCaml 4.08 (and to build faster on all versions).

* Remove `Pervasives` qualifier (capnproto/capnp-ocaml#57).
  This is needed to support OCaml 4.08 without warnings.

* Remove dependency on `Core` from benchmarks (capnproto/capnp-ocaml#55).
  This was the only remaining use of the library.

* Replace uses of `Core_kernel` with plain `Base` and `Stdio` in the compiler (capnproto/capnp-ocaml#56)
  and tests (capnproto/capnp-ocaml#59).
  This greatly reduces the number of libraries you need to install to install capnp.

* Update tests for the current quickcheck API (capnproto/capnp-ocaml#54).

* Switch from jbuilder to dune (capnproto/capnp-ocaml#54).

* Require OCaml >= 4.03 (capnproto/capnp-ocaml#54).
  This allows us to drop some complexity from the jbuilder files,
  allowing them to be upgraded automatically by dune.

* Upgrade to opam 2 format (capnproto/capnp-ocaml#54).

* Convert the changelog to markdown (capnproto/capnp-ocaml#58).
  This allows it to be used with dune-release.

With these changes, the following 49 libraries that were needed to install
capnp-ocaml 3.2.1 are no longer required: `base_bigstring`, `base_quickcheck`,
`bin_prot`, `camlp4`, `core_kernel`, `extunix`, `fieldslib`,
`jane-street-headers`, `jst-config`, `num`, `ocaml-compiler-libs`,
`ocaml-migrate-parsetree`, `octavius`, `parsexp`, `ppx_assert`, `ppx_base`,
`ppx_bench`, `ppx_bin_prot`, `ppx_compare`, `ppx_custom_printf`,
`ppx_derivers`, `ppx_enumerate`, `ppx_expect`, `ppx_fail`, `ppx_fields_conv`,
`ppx_hash`, `ppx_here`, `ppx_inline_test`, `ppx_jane`, `ppx_js_style`,
`ppx_let`, `ppxlib`, `ppx_module_timer`, `ppx_optcomp`, `ppx_optional`,
`ppx_pipebang`, `ppx_sexp_conv`, `ppx_sexp_message`, `ppx_sexp_value`,
`ppx_stable`, `ppx_typerep_conv`, `ppx_variants_conv`, `re`, `seq`, `sexplib`,
`splittable_random`, `time_now`, `typerep` and `variantslib`.
talex5 added a commit to talex5/opam-repository that referenced this pull request Jun 4, 2019
CHANGES:

This release is mostly about reducing the number of dependencies.
The only API change is that `write_message_to_file_robust` has gone.

* Remove `extunix` dependency (capnproto/capnp-ocaml#57).
  `write_message_to_file_robust` was its only user, and wasn't used by anything.
  Using `fsync` to ensure a file is written to disk is a general function that
  should be handled by the user of capnp where needed.
  Removing `extunix` also removes the indirect dependency on `camlp4`,
  which in turn allows `capnp` to build with OCaml 4.08 (and to build faster on all versions).

* Remove `Pervasives` qualifier (capnproto/capnp-ocaml#57).
  This is needed to support OCaml 4.08 without warnings.

* Remove dependency on `Core` from benchmarks (capnproto/capnp-ocaml#55).
  This was the only remaining use of the library.

* Replace uses of `Core_kernel` with plain `Base` and `Stdio` in the compiler (capnproto/capnp-ocaml#56)
  and tests (capnproto/capnp-ocaml#59).
  This greatly reduces the number of libraries you need to install to install capnp.

* Update tests for the current quickcheck API (capnproto/capnp-ocaml#54).

* Switch from jbuilder to dune (capnproto/capnp-ocaml#54).

* Require OCaml >= 4.03 (capnproto/capnp-ocaml#54).
  This allows us to drop some complexity from the jbuilder files,
  allowing them to be upgraded automatically by dune.

* Upgrade to opam 2 format (capnproto/capnp-ocaml#54).

* Convert the changelog to markdown (capnproto/capnp-ocaml#58).
  This allows it to be used with dune-release.

With these changes, the following 49 libraries that were needed to install
capnp-ocaml 3.2.1 are no longer required: `base_bigstring`, `base_quickcheck`,
`bin_prot`, `camlp4`, `core_kernel`, `extunix`, `fieldslib`,
`jane-street-headers`, `jst-config`, `num`, `ocaml-compiler-libs`,
`ocaml-migrate-parsetree`, `octavius`, `parsexp`, `ppx_assert`, `ppx_base`,
`ppx_bench`, `ppx_bin_prot`, `ppx_compare`, `ppx_custom_printf`,
`ppx_derivers`, `ppx_enumerate`, `ppx_expect`, `ppx_fail`, `ppx_fields_conv`,
`ppx_hash`, `ppx_here`, `ppx_inline_test`, `ppx_jane`, `ppx_js_style`,
`ppx_let`, `ppxlib`, `ppx_module_timer`, `ppx_optcomp`, `ppx_optional`,
`ppx_pipebang`, `ppx_sexp_conv`, `ppx_sexp_message`, `ppx_sexp_value`,
`ppx_stable`, `ppx_typerep_conv`, `ppx_variants_conv`, `re`, `seq`, `sexplib`,
`splittable_random`, `time_now`, `typerep` and `variantslib`.
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.

1 participant