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

Improve the documentation about generic_dns_client and explain the format of the nameserver argument #1365

Merged
merged 1 commit into from Oct 20, 2022

Conversation

dinosaure
Copy link
Member

Pointed out by @Engil, it is difficult to get a description of the format required to define a specific nameserver. I have added documentation to explain the format of the latter to make it easier to use. (/cc @hannesm)

Copy link
Member

@reynir reynir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dinosaure dinosaure merged commit fee3d7b into main Oct 20, 2022
@dinosaure dinosaure deleted the improve-doc branch October 20, 2022 08:40
@hannesm
Copy link
Member

hannesm commented Oct 20, 2022

once mirage/ocaml-dns@2a44ec1 is merged and released, we'll have a nice error message which describes the format in detail. I'm actually not sure where the documentation makes sense -- is it at runtime (i.e. reporting a failure) or in the ocamldoc. I dislike that we repeat it all over, and e.g. here we'll remember to update it soon...

hannesm added a commit to hannesm/opam-repository that referenced this pull request Oct 25, 2022
… (4.3.1)

CHANGES:

#### Fixed

- adapt to conduit 6.0.1 API (delay the parsing of the nameserver list)
  (mirage/mirage#1362 mirage/mirage#1369, @reynir @hannesm, fixes mirage/mirage#1360)
- improve the generic_dns_client documentation (mirage/mirage#1365, @dinosaure)
- upgrade to git 3.10.0 (mirage/mirage#1366, @dinosaure)

#### Changed

- mirage-runtime: use Logs.level_of_string / level_to_string, avoid manual
  construction of Cmdliner.Arg.conv types (use the Cmdliner.Arg.conv function
  instead) (mirage/mirage#1358, @hannesm)

#### Added

- functoria-runtime: provide argument_error exit code (mirage/mirage#1361, @hannesm)
- add a http_server device using paf (mirage/mirage#1367, @dinosaure)
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.

None yet

3 participants