Show a cover letter.

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

{
    "id": 15704,
    "url": "https://patchwork.libcamera.org/api/1.1/covers/15704/?format=api",
    "web_url": "https://patchwork.libcamera.org/cover/15704/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/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": "<20220425144617.2549778-1-hanlinchen@chromium.org>",
    "date": "2022-04-25T14:46:14",
    "name": "[libcamera-devel,v5,0/3] Introduce YamlParser for YAML files",
    "submitter": {
        "id": 98,
        "url": "https://patchwork.libcamera.org/api/1.1/people/98/?format=api",
        "name": "Hanlin Chen",
        "email": "hanlinchen@chromium.org"
    },
    "mbox": "https://patchwork.libcamera.org/cover/15704/mbox/",
    "series": [
        {
            "id": 3068,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3068/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3068",
            "date": "2022-04-25T14:46:14",
            "name": "Introduce YamlParser for YAML files",
            "version": 5,
            "mbox": "https://patchwork.libcamera.org/series/3068/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/covers/15704/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 49890C3256\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 25 Apr 2022 14:46:26 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 84DCB6563A;\n\tMon, 25 Apr 2022 16:46:25 +0200 (CEST)",
            "from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com\n\t[IPv6:2607:f8b0:4864:20::52c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id DDD7A6042F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 25 Apr 2022 16:46:23 +0200 (CEST)",
            "by mail-pg1-x52c.google.com with SMTP id bg9so13596226pgb.9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 25 Apr 2022 07:46:23 -0700 (PDT)",
            "from localhost ([2401:fa00:1:17:38a2:b0a:67fa:9b05])\n\tby smtp.gmail.com with UTF8SMTPSA id\n\tb10-20020a63d80a000000b003ab5ca7531fsm2501947pgh.65.2022.04.25.07.46.21\n\t(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n\tMon, 25 Apr 2022 07:46:21 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1650897985;\n\tbh=7lCKJ3QYZixIQ/xUvkbjF75+hkPjGbVrCvTDvsqhwOg=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=B6vkhbK+6Uir0vmnGHetdVIn9v2QC6eaE6U9lhny5EIxHTw64L8nnLM25tqL6Tgrn\n\tcmbn6xif6Lc+vmRD2Fwhb+djV2SOF5W5vpPdKjTLxaJiL/aK+k5n31XhI/qvpBBlZY\n\tut/AVkUGXsHWKROJPJBpdPIV/RPugLgudFaDca3JMLrSSvz1LxohAiqXWZ46pSHtMI\n\ta1WZ/D79gTMe5A88bB8umUpTy6gtygcHgXiMBce11+hEyP7rdu3qY7zumfK7jrfXJW\n\tijCxL+b1BBv5phL1Hx75opqYdLUFqbbWwisO09tskJJCFLqK+CrpnPkwzui8Kq8tg1\n\tWmVKbipEiis/Q==",
            "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=NzXNaowYkGtlrBTulceG3HCr0e2dYwJ79+CKIBm4mDM=;\n\tb=WogHRc1BOKBOlTlbTtzO3pFp2o+aNJ3iQ+a1+ehJz4S1o676WKY7jCkLnGxH9Iim2+\n\tjoc0eXp/CjlNRnYBPjZq+BcRmfx8oHrf4hIvT3l2F4V1kVD1PdG7435wxZNE8CN6YxVO\n\tR2/xwDWHghfj8JEVXfZjgyyEuQ02DtLOeN5JE="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=chromium.org\n\theader.i=@chromium.org header.b=\"WogHRc1B\"; \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=NzXNaowYkGtlrBTulceG3HCr0e2dYwJ79+CKIBm4mDM=;\n\tb=W96dhsT51S0mWPx+BDFifOOorOnk0jlSgZOTT+zDKlcsynxFKmRrnIa+iUIso9/yjS\n\tu0pYz4EOjUA0zSpTmjIf0NHEy+hJqo2g5htaYShy0+iL64hmxSi0bAI6xdVm6ktTTZpC\n\tltYWrakFcEj+41Dq/mDOSRot56O6Um4RxYnuh9pEGgCVD6viBcqTujHHLex8D4krIwDg\n\tujOsHeaz/zWkmbU4ClV7rBFtq5G9a/KBVkUPg+Faq9XlOGpKKtiYS6W21ms48vsIfnpL\n\tBvjMeEWkYWwAcxfKlGGRWYo4jgW2KIUx54rV8YUdM34Wl6asl81KUfOQ/uRxmsBAvbGb\n\tqHtw==",
        "X-Gm-Message-State": "AOAM5330oXqQyn8TOqUFiQfsCn+Vmg2nL3bA3D14A0yOC6VFiUYefPa9\n\t9d0+kDQKpE7nsC1RRSSKHm23AOPbkUzugw==",
        "X-Google-Smtp-Source": "ABdhPJzLtL570VsUojLtDTMAhpjCeIQ5hptZ3UrQ8BlrOtc5FdTMuVQnTlLdbvfv1uA1VpJZ9RM3UA==",
        "X-Received": "by 2002:a05:6a00:1a05:b0:50c:f9b5:6c7e with SMTP id\n\tg5-20020a056a001a0500b0050cf9b56c7emr14601502pfv.55.1650897982065; \n\tMon, 25 Apr 2022 07:46:22 -0700 (PDT)",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon, 25 Apr 2022 22:46:14 +0800",
        "Message-Id": "<20220425144617.2549778-1-hanlinchen@chromium.org>",
        "X-Mailer": "git-send-email 2.36.0.rc2.479.g8af0fa9b8e-goog",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v5 0/3] Introduce YamlParser for 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,\n\nPatch v5 including following changes:\n\n1. Add unit test for YamlParser.\n2. Remove the peek semantic for event and always consume next event\n3. Remove assert for invalid operations. Change it to return an empty\nobject.\n4. Resolving other comments.\n\nHan-Lin Chen (3):\n  libcamera: Introduce YamlParser as a helper to parse yaml files\n  test: Add YamlParser test\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 |  87 +++\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            | 679 +++++++++++++++++++++++\n test/meson.build                         |   1 +\n test/yaml-parser.cpp                     | 496 +++++++++++++++++\n 9 files changed, 1343 insertions(+), 263 deletions(-)\n create mode 100644 include/libcamera/internal/yaml_parser.h\n create mode 100644 src/libcamera/yaml_parser.cpp\n create mode 100644 test/yaml-parser.cpp"
}