[gnutls-devel] GnuTLS | remove autogen dependency (!1506)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Jan 13 15:38:23 CET 2022




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

> +[
> +  {
> +    "meta": {
> +      "desc": "",
> +      "prog-name": "certtool",
> +      "prog-title": "GnuTLS certificate tool",
> +      "prog-desc": "Manipulate certificates and private keys.",
> +      "detail": "Tool to parse and generate X.509 certificates, requests and private keys.\nIt can be used interactively or non interactively by\nspecifying the template command line option.\n\nThe tool accepts files or supported URIs via the --infile option. In case PIN\nis required for URI access you can provide it using the environment variables GNUTLS_PIN \nand GNUTLS_SO_PIN.\n",
> +      "short-usage": "certtool [options]\ncerttool --help for usage instructions.\n",
> +      "explain": ""
> +    },
> +    "options": [
> +      {
> +        "long-option": "debug",
> +        "short-option": "d",
> +        "arg-min": "0 ",

That would require rewriting parse-autogen to generate JSON for options in a type-safe manner; currently it's simply a string-to-string dictionary, but options could be a struct with stricter schema. That is something I would like to do in the future.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1506#note_809688802
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/20220113/c3d00bc4/attachment.html>


More information about the Gnutls-devel mailing list