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

[wip] port to Dune #22

Closed
wants to merge 6 commits into from
Closed

[wip] port to Dune #22

wants to merge 6 commits into from

Conversation

avsm
Copy link
Contributor

@avsm avsm commented Jan 8, 2019

This is a work in progress port to shift to the Dune build system, which in turn permits the library to embedded as a single dune build as part of a monorepo. More information on this vendoring mechanism is available here.

I'm still working on the port, but opening this PR to track it.

Signed-off-by: Anil Madhavapeddy <anil@recoil.org>
Signed-off-by: Anil Madhavapeddy <anil@recoil.org>
Signed-off-by: Anil Madhavapeddy <anil@recoil.org>
@TheLortex
Copy link
Contributor

@avsm what is missing to merge this ?

@hannesm
Copy link
Member

hannesm commented Apr 3, 2019

AFAICT, the src/dune does not "wrap" (this is good!), but it will expose all the modules in src, rather than only Asn (as done in the ocamlbuild build). To avoid this, all but asn should be part of a private_modules stanza.

@avsm
Copy link
Contributor Author

avsm commented Apr 4, 2019

Thanks for the review @hannesm -- I've pushed those fixes now

@pqwy
Copy link
Contributor

pqwy commented Apr 11, 2019

Thx, dune'd.

pqwy added a commit that referenced this pull request Apr 11, 2019
fixes #22 too
hannesm added a commit to hannesm/opam-repository that referenced this pull request Jan 28, 2020
CHANGES:

* disallow various constructs as suggested by ITU-T Rec X.690 (by @pqwy)
  * redundant OID component forms (X.690 8.20.2)
  * redundant integer forms (X.690 8.3.2)
  * empty integer (X.690 8.3.1, reported in mirleft/ocaml-asn1-combinators#23 by @emillon)
  * constructed strings in DER
* deeper implict -> explicit over choice (follow-up to v0.2.0 entry, by @pqwy)
* handle long-form length overflow (reported in mirleft/ocaml-asn1-combinators#24 by @emillon, fixed by @pqwy)
* disallow primitive with indefinite length (introduced in the bugfix above,
  reported by @emillon, fixed in mirleft/ocaml-asn1-combinators#32 by @hannesm)
* disallow nonsensical bitstring unused values (X690 8.6.2, reported in mirleft/ocaml-asn1-combinators#26
  by @NathanReb, fixed by @pqwy)
* fix non-continuous bit_string_flags (X680 22.6, reported in mirleft/ocaml-asn1-combinators#25 by @wiml,
  fixed by @pqwy)
* use Alcotest instead of oUnit for unit tests (by @pqwy)
* use dune as build system (by @pqwy, superseeds mirleft/ocaml-asn1-combinators#22)
* use bigarray-compat (mirleft/ocaml-asn1-combinators#27 by @TheLortex) and stdlib-shims (mirleft/ocaml-asn1-combinators#29 by @XVilka)
* raise lower bound to OCaml 4.05.0 (mirleft/ocaml-asn1-combinators#31 by @hannesm)
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
Development

Successfully merging this pull request may close these issues.

None yet

4 participants