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

less packages, less abstraction #110

Merged
merged 2 commits into from
Nov 25, 2020
Merged

less packages, less abstraction #110

merged 2 commits into from
Nov 25, 2020

Conversation

hannesm
Copy link
Member

@hannesm hannesm commented Nov 25, 2020

The goal of this PR is to have fewer packages, and more straightforward code. See individual commits for what has been achieved.

Merge the charrua-client packages into a single one, use sublibraries
charrua-client.lwt and charrua-client.mirage to control runtime dependencies.

From opam-repository, charrua-client is used in MirageOS only, the motivation
is to reduce the overhead by reducing the number of packages.
There's no need for abstraction (over a module type) since we did not
develop any other DHCP implementation in recent years. Abstraction currently
comes with a price, hardcoded code in the mirage utility - which we want
to minimize.

This also removes the dependency on Mirage_protocols.ipv4_config.

It will require a version bump to avoid an old mirage utility to use this
new code (which module signature is different now).
@hannesm hannesm merged commit 00aef3f into mirage:master Nov 25, 2020
@hannesm hannesm deleted the slim branch November 25, 2020 16:27
hannesm added a commit to hannesm/opam-repository that referenced this pull request Nov 25, 2020
…t (1.3.0)

CHANGES:

* Revise packaging: charrua-client-lwt and charrua-client-mirage are now
  available as charrua-client.lwt and charrua-client.mirage (mirage/charrua#110 @hannesm)
* Dhcp_ipv4 directly uses Dhcp_client_mirage (instead of an abstract module
  interface being passed) (mirage/charrua#110 @hannesm)
* Fix sending of client_identifier with appropriate type as sent by the client
  (mirage/charrua#98 @hannesm, reported in mirage/charrua#84 by @lynxis)
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