[gnutls-devel] GnuTLS | Make option description type-safe (!1535)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Mar 9 16:34:17 CET 2022



Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/1535 was reviewed by Daiki Ueno

--
  
Daiki Ueno commented on a discussion on src/certtool-options.json: https://gitlab.com/gnutls/gnutls/-/merge_requests/1535#note_868804434

> -      "desc": "",
> -      "prog-name": "certtool",
> +      "short-usage": "certtool [options]\ncerttool --help for usage instructions.\n",

That's because we added ordering of the properties.

--
  
Daiki Ueno commented on a discussion on src/certtool-options.json: https://gitlab.com/gnutls/gnutls/-/merge_requests/1535#note_868804474

> -      "prog-name": "certtool",
> +      "short-usage": "certtool [options]\ncerttool --help for usage instructions.\n",
> +      "explain": "",

Indeed, removed.

--
  
Daiki Ueno commented on a discussion on doc/scripts/gen-cmd-texi.py: https://gitlab.com/gnutls/gnutls/-/merge_requests/1535#note_868804486

>                      level: int,
> -                    options: Sequence[Mapping[str, str]]) -> str:
> +                    options: Sequence[Mapping[str, Any]]) -> str:

Now the options are defined in a stricter schema, so mapping is gone.


-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1535
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220309/5035af5e/attachment.html>


More information about the Gnutls-devel mailing list