Show a cover letter.

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

{
    "id": 18328,
    "url": "https://patchwork.libcamera.org/api/covers/18328/?format=api",
    "web_url": "https://patchwork.libcamera.org/cover/18328/",
    "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": "<20230302005415.1789544-1-dev@flowerpot.me>",
    "date": "2023-03-02T00:54:14",
    "name": "[libcamera-devel,0/1] Generalized DeviceMatch",
    "submitter": {
        "id": 154,
        "url": "https://patchwork.libcamera.org/api/people/154/?format=api",
        "name": "Sophie Friedrich",
        "email": "dev@flowerpot.me"
    },
    "mbox": "https://patchwork.libcamera.org/cover/18328/mbox/",
    "series": [
        {
            "id": 3782,
            "url": "https://patchwork.libcamera.org/api/series/3782/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3782",
            "date": "2023-03-02T00:54:14",
            "name": "Generalized DeviceMatch",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/3782/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/covers/18328/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 E026DBF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  2 Mar 2023 09:29:56 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 331C4626A7;\n\tThu,  2 Mar 2023 10:29:56 +0100 (CET)",
            "from mout-p-102.mailbox.org (mout-p-102.mailbox.org\n\t[80.241.56.152])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7943D62668\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  2 Mar 2023 01:54:29 +0100 (CET)",
            "from smtp1.mailbox.org (smtp1.mailbox.org\n\t[IPv6:2001:67c:2050:b231:465::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\tkey-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits)\n\tserver-digest SHA256) (No client certificate requested)\n\tby mout-p-102.mailbox.org (Postfix) with ESMTPS id 4PRt0f2GFCz9sTV;\n\tThu,  2 Mar 2023 01:54:26 +0100 (CET)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1677749396;\n\tbh=nM2SqAdZc0Z3exhMfgR7Fe3ZU+jCrvo06hOA144rSzo=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=2n4J9i/iL5T4QAflyfF1VgxY4sCAPfrqYY1pjGHwo7gNv9vQ+V8J7MYvXTK+axIDv\n\tKMyZU8VBBT59XLaT375HI44F1kAddT3+3bS4ozSQvbYrXpjnzc0YCPXJCy4sgE5lpQ\n\tD2KliHRZhuY4/lGDlaeby4fpjB1SpLosaPzVqXUSzqW+pp3L2rn1Qz1UYuXGSXyHRB\n\tWDRFmRXiNSZe0OgxXeGCoDe5TSuof+vJOiDCwQgL2yhKzjJLFXxFHwJoKxhEhA/fxy\n\tRGGmshswhI1+XNiyoPFPBbkb19utmK0sfW68q5F6cdhaOfRKJLEKo6YTWwSf+MSne3\n\tyrbZJG02zEMGA==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=flowerpot.me;\n\ts=MBO0001; t=1677718466;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\tto:to:cc:cc:mime-version:mime-version:\n\tcontent-transfer-encoding:content-transfer-encoding;\n\tbh=aTb0zQ1XJV6SG0Xx6Am8oQec0Hg/YuFPjAduKijneuw=;\n\tb=1A0JuSaPu2uLI0jnTFsub6lia9hIQcbHwhpfp9h+kWHVQdvi+J6grP7FL+qMN13CCmlVl4\n\tQxOETTh9871DXD7Jpm1OgscOAXY9UoSM49orBsqO0+kIc5EWuxkYYtmAVASlGxJ0f+Beus\n\tRSM68MlojTcpYaYKZucVEkN5nEiP3USBAxejQRCyn3AL+tS3pvbqI2tAwEqYYgbAyL6sB+\n\t6tOaG9y6EHwbEGtDHZ0NXi/lZets1MRaWHD2HRdxB6TtjM/mvaUJ/tVLO8ySFv25hwBPXm\n\tR4/P+ALU+uXes04aIAvXJLuVcndReiUBS9KwGRi7HSlwn76/AMT2N/+C9NCUHg=="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=flowerpot.me\n\theader.i=@flowerpot.me header.b=\"1A0JuSaP\"; \n\tdkim-atps=neutral",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu,  2 Mar 2023 01:54:14 +0100",
        "Message-Id": "<20230302005415.1789544-1-dev@flowerpot.me>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Rspamd-Queue-Id": "4PRt0f2GFCz9sTV",
        "X-Mailman-Approved-At": "Thu, 02 Mar 2023 10:29:54 +0100",
        "Subject": "[libcamera-devel] [PATCH 0/1] Generalized DeviceMatch",
        "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": "Sophie Friedrich via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Sophie Friedrich <dev@flowerpot.me>",
        "Cc": "Sophie Friedrich <dev@flowerpot.me>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "In preparation for introducing libusb support into libcamera, we need\nto generalize the matching functionality. The `MediaEntity` class was\nnever meant to handle the cases required for e.g. libusb. Additionally\nthe current way matching is handled is insufficient for (future)\n`MediaDevices` in which a specific key/value relationship exists\nfor properties (e.g. USB vid and pid).\n\nTo solve these two problems I've abstracted away the requirements for\nentities that `DeviceMatch` requires in `DeviceMatchEntityInterface`\nand extended `DeviceMatch` to handle key/value pairs. Using \"*\" as a\nkey is currently a catch all for the presumably keyless property of\nV4L2 `MediaEntity`.\n\nSophie Friedrich (1):\n  libcamera: enumeration: Generalize DeviceMatch\n\n .../libcamera/internal/device_enumerator.h    |  16 +--\n include/libcamera/internal/device_match.h     |  46 +++++++\n include/libcamera/internal/media_device.h     |   1 +\n include/libcamera/internal/media_object.h     |   7 +-\n include/libcamera/internal/meson.build        |   1 +\n src/libcamera/device_enumerator.cpp           |  73 ----------\n src/libcamera/device_match.cpp                | 126 ++++++++++++++++++\n src/libcamera/meson.build                     |   1 +\n 8 files changed, 183 insertions(+), 88 deletions(-)\n create mode 100644 include/libcamera/internal/device_match.h\n create mode 100644 src/libcamera/device_match.cpp"
}