Show a cover letter.

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

{
    "id": 21696,
    "url": "https://patchwork.libcamera.org/api/covers/21696/?format=api",
    "web_url": "https://patchwork.libcamera.org/cover/21696/",
    "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": "<20241018193246.805-1-laurent.pinchart@ideasonboard.com>",
    "date": "2024-10-18T19:32:42",
    "name": "[0/4] utils: checkstyle.py: Improve dependency handling",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "mbox": "https://patchwork.libcamera.org/cover/21696/mbox/",
    "series": [
        {
            "id": 4723,
            "url": "https://patchwork.libcamera.org/api/series/4723/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4723",
            "date": "2024-10-18T19:32:42",
            "name": "utils: checkstyle.py: Improve dependency handling",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4723/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/covers/21696/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 A6A5BC32AF\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 18 Oct 2024 19:32:55 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 46FB26538B;\n\tFri, 18 Oct 2024 21:32:54 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6B31B633C6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 18 Oct 2024 21:32:52 +0200 (CEST)",
            "from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi\n\t[81.175.209.231])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 4551321C;\n\tFri, 18 Oct 2024 21:31:08 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"L2yHBbe+\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1729279868;\n\tbh=sAe/xk7y47R4lT95x2cBxnCuD3b7LNzss+pmNQe5oyo=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=L2yHBbe+acK9AthbMlmydKPg6okDjrYT6hZcUuBE2G2i86CJvzQNirppe1oE+w1uR\n\tyiRZPJLb+7N3lsA4kDxrOMmUb73q8BK9Qg5Ma2j94zXBFeToVIrPl4cMIpZzWSjCHC\n\twj71a31QKRsya6hbhzglQ8KKb1o8/8OJZBV9EjDc=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Stefan Klug <stefan.klug@ideasonboard.com>",
        "Subject": "[PATCH 0/4] utils: checkstyle.py: Improve dependency handling",
        "Date": "Fri, 18 Oct 2024 22:32:42 +0300",
        "Message-ID": "<20241018193246.805-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.45.2",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Hello,\n\nThis small patch series improve dependencies handling in checkstyle.py.\nThe goal is to avoid Python exceptions when the autopep8 dependency\nisn't found (see\nhttps://gitlab.freedesktop.org/camera/libcamera/-/jobs/65242823), report\nmissing dependencies in a consistent way, and avoid those reports when\nthe missing dependency is not required to check the commits given to\ncheckstyle.py.\n\nLaurent Pinchart (4):\n  utils: checkstyle.py: Factor out common code to new CheckerBase class\n  utils: checkstyle.py: Turn check() into a class method for all\n    checkers\n  utils: checkstyle.py: Print issues using __str__\n  utils: checkstyle.py: Centralize dependency handling for checkers\n\n utils/checkstyle.py | 298 +++++++++++++++++++++-----------------------\n 1 file changed, 140 insertions(+), 158 deletions(-)\n\n\nbase-commit: c8d261608aa63b35a60a4bb2307c53a1b26c6832"
}