Show a cover letter.

GET /api/covers/15680/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 15680,
    "url": "https://patchwork.libcamera.org/api/covers/15680/?format=api",
    "web_url": "https://patchwork.libcamera.org/cover/15680/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20220418120923.453131-1-hanlinchen@chromium.org>",
    "date": "2022-04-18T12:09:21",
    "name": "[libcamera-devel,v3,0/2] Introduce YamlParser YAML files",
    "submitter": {
        "id": 98,
        "url": "https://patchwork.libcamera.org/api/people/98/?format=api",
        "name": "Hanlin Chen",
        "email": "hanlinchen@chromium.org"
    },
    "mbox": "https://patchwork.libcamera.org/cover/15680/mbox/",
    "series": [
        {
            "id": 3056,
            "url": "https://patchwork.libcamera.org/api/series/3056/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3056",
            "date": "2022-04-18T12:09:21",
            "name": "Introduce YamlParser YAML files",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/3056/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/covers/15680/comments/",
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 27580C0F1B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 18 Apr 2022 12:09:32 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 53CF665643;\n\tMon, 18 Apr 2022 14:09:31 +0200 (CEST)",
            "from mail-pg1-x536.google.com (mail-pg1-x536.google.com\n\t[IPv6:2607:f8b0:4864:20::536])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 75D046563F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 18 Apr 2022 14:09:29 +0200 (CEST)",
            "by mail-pg1-x536.google.com with SMTP id bg9so18502352pgb.9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 18 Apr 2022 05:09:29 -0700 (PDT)",
            "from localhost ([2401:fa00:1:17:9775:a6e9:7655:6686])\n\tby smtp.gmail.com with UTF8SMTPSA id\n\t5-20020a631045000000b0039d942d18f0sm12794468pgq.48.2022.04.18.05.09.25\n\t(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n\tMon, 18 Apr 2022 05:09:26 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1650283771;\n\tbh=GUI616dGeIm1pSQtzAv6tAe+xKzHR3nidNt0RWiUJwA=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=tSAkbr9Bc4aLMRLJBQxnAO5RsSTUOSfAQY0qVyerXEbcGM/GBFZ3nUk7hzDJCn9YC\n\tCPkyNDoZT7QUkckD5WslCKdCKup6xVIMRCzj9i9Za2Ar4idbUGiNun+CuMk0yqr6iQ\n\t0Fi6xa0XMftFl5pmz9B/HIQmAwaMEYmCPRefP328vcb4AJEnYKFf1iGqSO4uzui0gy\n\tPogMXDZ9Q4FTdlLJuYZBHcimn6ERKDBSNUcyAeH/mdnb6Xmpi3qJ75uj8v5rAEFMel\n\tI1VvGY18bV4Z3UcsK0gNgSkyymCd2lES7K4K7MdcY4CgNQ74L/rk8iIdUOi/v9g74p\n\tCIChoZfUPtIeg==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; h=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=geo87wV5syWDzC8auhZQQXNKBDWT1boCZxP4hgN6t/g=;\n\tb=O+qnXOC/yXgRV+B1FpfDPBQOWZ8iIc4Dq/ZwrxYQquRJQwlfbhrekmuNkKLs1DpYOv\n\tDFS0wc84QJ6Wa2vDUj6ooVTyVuuXRDcNhHMNRY1Ek0G+WuvRu7hMUlXKP2ILdHHQnqOy\n\t9vO/fAVQwMADIG4mlxUNjFDCB8MI8VKq09gwQ="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=chromium.org\n\theader.i=@chromium.org header.b=\"O+qnXOC/\"; \n\tdkim-atps=neutral",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=geo87wV5syWDzC8auhZQQXNKBDWT1boCZxP4hgN6t/g=;\n\tb=hgiayisqwS7bv6WeOuyMYhYeeHg3/x5QRrv0d/Q2TId2TihXUHQ4EhX88//0VzpSg1\n\t1HSBdZRWCKlDi2tla5fzJARbkRr6TY6usN9fEWwEDTxjqfLIeU3xuZA5iw1DnVHY2/sf\n\te3g64No9gkyjg4S/mN4EWJ34LVvPmxDdCGQ20eE/P6ES6kHuJjvBpkhCfXTXLMT3RqDB\n\t2Bzc98dQScae9lIh4ixLCpUt3YEDxDojC1Ysa06KOCQtlZNzPlSpHw/bPfKzIyfTF8aI\n\tg7IIFrNt2WVsrJqTX17o13AKf2N+fwrBKgyt8piiIpCuxUicZ+7JfllJsmg096Br8YO6\n\tR9aA==",
        "X-Gm-Message-State": "AOAM531wAx4eBKxjXbdFMfe422y9OI8NHrXGbQHaDYRvUk4pvlh64et8\n\tbODGdJOA/6nB5xhbreOVGm5MRdmcipcR2A==",
        "X-Google-Smtp-Source": "ABdhPJwFvfmPvTtt924u40dJh1Gbz4h3pKR4evRb0VcZ6TSynAj65FbeC8uu3NSC7dawZIOByT+wcA==",
        "X-Received": "by 2002:a63:5b61:0:b0:39d:2aef:c024 with SMTP id\n\tl33-20020a635b61000000b0039d2aefc024mr9922364pgm.589.1650283766455; \n\tMon, 18 Apr 2022 05:09:26 -0700 (PDT)",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon, 18 Apr 2022 20:09:21 +0800",
        "Message-Id": "<20220418120923.453131-1-hanlinchen@chromium.org>",
        "X-Mailer": "git-send-email 2.36.0.rc0.470.gd361397f0d-goog",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v3 0/2] Introduce YamlParser YAML files",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "From": "Han-Lin Chen via libcamera-devel <libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Han-Lin Chen <hanlinchen@chromium.org>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Hi,\nThe series is a subset of the previous series for configuration files,\nwhich moves the YamlParser related patches as the separate series.\n\nMany thanks for previous comments.\n\nComparing to V2:\n1. Correct the error handling for strtol, strtod and strtoul.\n\nHan-Lin Chen (2):\n  libcamera: Introduce YamlParser as a helper to parse yaml files\n  android: camera_hal_config: Use YamlParser to parse android HAL config\n\n README.rst                               |   4 +-\n include/libcamera/internal/meson.build   |   1 +\n include/libcamera/internal/yaml_parser.h |  86 +++\n src/android/camera_hal_config.cpp        | 334 +++-------\n src/android/meson.build                  |   1 -\n src/libcamera/meson.build                |   3 +\n src/libcamera/yaml_parser.cpp            | 802 +++++++++++++++++++++++\n 7 files changed, 968 insertions(+), 263 deletions(-)\n create mode 100644 include/libcamera/internal/yaml_parser.h\n create mode 100644 src/libcamera/yaml_parser.cpp"
}