Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[new release] digestif (1.0.0) #17565

Merged
merged 3 commits into from
Nov 6, 2020
Merged

Conversation

dinosaure
Copy link
Contributor

Hashes implementations (SHA*, RIPEMD160, BLAKE2* and MD5)

CHANGES:

CHANGES:

- **breaking changes** Upgrade the library with MirageOS 3.9 (new layout of artifacts)
  Add tests about compilation of unikernels (execution and link)
  (mirage/digestif#105, @dinosaure, @hannesm)
- Fix `esy` installation (mirage/digestif#104, @dinosaure)
- **breaking changes** Better GADT (mirage/digestif#103, @dinosaure)
  As far as I can tell, nobody really use this part of `digestif`.
  The idea is to provide a GADT which contains the type of the hash.
  From third-part libraries point-of-view, it's better to _pattern-match_ with
  such information instead to use a polymorphic variant (as before).
- **breaking changes** key used for HMAC is a constant `string` (mirage/digestif#101, @dinosaure, @hannesm)
  The key should not follow the same type as the digest value (`string`, `bytes`, `bigstring`).
  This update restricts the user to user only constant key (as a `string`).
@camelus
Copy link
Contributor

camelus commented Nov 3, 2020

Commit: 34c84b1

A pull request by opam-seasoned @dinosaure.

☀️ All lint checks passed 34c84b1
  • These packages passed lint tests: digestif.1.0.0, git.2.0.0, git.2.1.0, git.2.1.1, git.2.1.2, git.2.1.3

☀️ Installability check (+1)
  • new installable packages (1): digestif.1.0.0

@mseri
Copy link
Member

mseri commented Nov 3, 2020

all versions of git between 2.0.0 and 2.1.3 are failing with

#=== ERROR while compiling git.2.1.3 ==========================================#
# context              2.0.7 | linux/x86_64 | ocaml-base-compiler.4.11.1 | file:///home/opam/opam-repository
# path                 ~/.opam/4.11/.opam-switch/build/git.2.1.3
# command              ~/.opam/4.11/bin/dune build -p git -j 72
# exit-code            1
# env-file             ~/.opam/log/git-25-5bb628.env
# output-file          ~/.opam/log/git-25-5bb628.out
### output ###
#       ocamlc src/git/.git.objs/byte/git__Hash.{cmi,cmti} (exit 2)
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -g -bin-annot -I src/git/.git.objs/byte -I /home/opam/.opam/4.11/lib/angstrom -I /home/opam/.opam/4.11/lib/astring -I /home/opam/.opam/4.11/lib/bigarray-compat -I /home/opam/.opam/4.11/lib/bigarray-overlap -I /home/opam/.opam/4.11/lib/bigarray-overlap/stubs -I /home/opam/.opam/4.11/lib/bigstringaf -I /home/opam/.opam/4.11/lib/bytes -I /home/opam/.opam/4.11/lib/checkseum -I /home/opam/.opam/4.11/lib/cstruct -I /home/opam/.opam/4.11/lib/decompress -I /home/opam/.opam/4.11/lib/decompress/impl -I /home/opam/.opam/4.11/lib/digestif -I /home/opam/.opam/4.11/lib/duff -I /home/opam/.opam/4.11/lib/encore -I /home/opam/.opam/4.11/lib/eqaf -I /home/opam/.opam/4.11/lib/fmt -I /home/opam/.opam/4.11/lib/fpath -I /home/opam/.opam/4.11/lib/hex -I /home/opam/.opam/4.11/lib/ke -I /home/opam/.opam/4.11/lib/logs -I /home/opam/.opam/4.11/lib/lru -I /home/opam/.opam/4.11/lib/lwt -I /home/opam/.opam/4.11/lib/ocamlgraph -I /home/opam/.opam/4.11/lib/ocplib-endian -I /home/opam/.opam/4.11/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.11/lib/optint -I /home/opam/.opam/4.11/lib/psq -I /home/opam/.opam/4.11/lib/result -I /home/opam/.opam/4.11/lib/rresult -I /home/opam/.opam/4.11/lib/seq -I /home/opam/.opam/4.11/lib/stdlib-shims -I /home/opam/.opam/4.11/lib/stringext -I /home/opam/.opam/4.11/lib/uri -no-alias-deps -open Git__ -o src/git/.git.objs/byte/git__Hash.cmi -c -intf src/git/hash.mli)
# File "src/git/hash.mli", line 18, characters 2-70:
# 18 |   S.HASH with type t = H.t and type ctx = H.ctx and type kind = H.kind
#        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: The signature constrained by `with' has no component named kind

Can you add an upper bound?

@dinosaure
Copy link
Contributor Author

Yes, it's expected 👍, I will add constraints on Git.

@dinosaure dinosaure force-pushed the release-digestif-1.0.0 branch from 5493e3b to 3bcd865 Compare November 4, 2020 16:28
packages/git/git.2.0.0/opam Outdated Show resolved Hide resolved
@dinosaure dinosaure force-pushed the release-digestif-1.0.0 branch from 3bcd865 to bfa9742 Compare November 5, 2020 16:35
@mseri
Copy link
Member

mseri commented Nov 6, 2020

The timeouts seems to be the more or less the same as with the other version (in particular no timeout on recent compilers), I think this is good to merge

@mseri mseri merged commit 48651cb into ocaml:master Nov 6, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants