Show a cover letter.

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

{
    "id": 2219798,
    "url": "http://patchwork.ozlabs.org/api/covers/2219798/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/cover/20260404140328.3724864-1-sjg@chromium.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260404140328.3724864-1-sjg@chromium.org>",
    "list_archive_url": null,
    "date": "2026-04-04T14:03:04",
    "name": "[00/14] test: Convert tests to use FsHelper and DiskHelper",
    "submitter": {
        "id": 6170,
        "url": "http://patchwork.ozlabs.org/api/people/6170/?format=api",
        "name": "Simon Glass",
        "email": "sjg@chromium.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/cover/20260404140328.3724864-1-sjg@chromium.org/mbox/",
    "series": [
        {
            "id": 498729,
            "url": "http://patchwork.ozlabs.org/api/series/498729/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=498729",
            "date": "2026-04-04T14:03:04",
            "name": "test: Convert tests to use FsHelper and DiskHelper",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498729/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2219798/comments/",
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256\n header.s=google header.b=c7JTk7PA;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org\n header.b=\"c7JTk7PA\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=sjg@chromium.org"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fny4d1ZPqz1yG2\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 05 Apr 2026 01:03:59 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id B199383B8F;\n\tSat,  4 Apr 2026 16:03:53 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 1523783B48; Sat,  4 Apr 2026 16:03:52 +0200 (CEST)",
            "from mail-oi1-x229.google.com (mail-oi1-x229.google.com\n [IPv6:2607:f8b0:4864:20::229])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 926DB80325\n for <u-boot@lists.denx.de>; Sat,  4 Apr 2026 16:03:49 +0200 (CEST)",
            "by mail-oi1-x229.google.com with SMTP id\n 5614622812f47-47018d34159so717924b6e.2\n for <u-boot@lists.denx.de>; Sat, 04 Apr 2026 07:03:49 -0700 (PDT)",
            "from chromium.org ([73.34.74.121]) by smtp.gmail.com with ESMTPSA id\n 586e51a60fabf-4232eb3d0e4sm2348235fac.6.2026.04.04.07.03.45\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 04 Apr 2026 07:03:45 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=chromium.org; s=google; t=1775311427; x=1775916227; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=42FxQj2TKMGniHmxtZFTWufm/LIfUCfBUHzwtEvIZfI=;\n b=c7JTk7PAChsDCBZ/YpqrQ7PmPOBY+bLAQ/eeIULiUltCcZBGgZ+PAqY7Erj+vBijp1\n LAAanqzUiOrhqfS+RmQFf5J8soX8P+HMCCbJJJZgmTJoCJa5YZURV6mp00xbFOGk4KIi\n wMKuuxipkrXPPHyGSsf3FfjRwDfgRNuWKiz3I=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775311427; x=1775916227;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=42FxQj2TKMGniHmxtZFTWufm/LIfUCfBUHzwtEvIZfI=;\n b=bPnz8/BT095Gojipib9RRBqYWPLYmaqJBnEeR4gLEiXJPbFQbZTh2ak9LWSp8s6gbl\n BzOkj7NebwbueYGmSS5mI/Xau+HS7wtwcEVmp9R6aVGqVqCI4tUpDlgWbsET0zzWVF5l\n Y3K2SVwkW0Is/wGMRc1byDf3xf9tVUJ7g1H19MvTHFGHKYa9iluChUHAbVU+g00oofBd\n FMskV3Oh5NLLf4zAnf3Eyn/PswYr9tr64xUTj8eUwXGw594fMR4xihla17cLEix3/yX4\n bgW0oChkeMIqZlFoHiviHfLLq9A6nQjue9u5AIqac5ZmyAKrFyzX6d4jOnt8AFfqBvHV\n xsHw==",
        "X-Gm-Message-State": "AOJu0Yw8rLr7tLte3koji0KnNUbmaHDVWWT0qgtgMgHL2ePutELFjUuq\n jb/JSSzkfTRODCzfzvSI/Cmd4WJ9Ebi5yWHM9mpGPals0ugwqaoEELmK+Iznkfrly0XEaEZsKtZ\n fY8M=",
        "X-Gm-Gg": "AeBDievnBhoDavxQm5zpLl9PHdR2hri6eUivi0/X4q0yTyV3uDisDAOYTFOrYGxHj/p\n rNDKCGVxTvp4s7uYy8aQu8Rvdbgo8MqpbObMit9sHqM03Nt1lWot4m7qlofpfrLCwaywMiSURsa\n FF4d7A3dUZuKu4qDCQa/H30pgD05PMEooxxt6yLSHaQvR1VLFU8DESoELadudAlvyi094HpntpG\n NMz8zmGlOZJPXZ8KGfkaH5Wn3fHN4RGaoMMdjVdFy659ggS1kVOfji00F2C2WHvpuSf4+9Jt4Dn\n 1ZnVSeVokw3LJwuM58zzSX9oTqse/jZFg7sGGrJFfuqvOsR2wOzncIxAH2yMXp5JvvhVYvH7+tW\n HyZ/3f/x7fT/0e6XBZnI3wWvm3heu/FJZjEfa+EovqOl3OOCWjmBH5q77bjIbebEzYXt7d9Wz6/\n k66kp0FSkrhUq/AI3stv5izN8faB5x",
        "X-Received": "by 2002:a05:6870:1616:b0:41c:9eb4:cec5 with SMTP id\n 586e51a60fabf-4230ffb8ebcmr3576695fac.29.1775311427060;\n Sat, 04 Apr 2026 07:03:47 -0700 (PDT)",
        "From": "Simon Glass <sjg@chromium.org>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Simon Glass <sjg@chromium.org>,\n Christian Taedcke <christian.taedcke@weidmueller.com>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>, Marek Vasut <marex@denx.de>,\n Martin Schwan <m.schwan@phytec.de>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n Tom Rini <trini@konsulko.com>",
        "Subject": "[PATCH 00/14] test: Convert tests to use FsHelper and DiskHelper",
        "Date": "Sat,  4 Apr 2026 08:03:04 -0600",
        "Message-ID": "<20260404140328.3724864-1-sjg@chromium.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "This series adds a DiskHelper class and converts most test code to use\nFsHelper and DiskHelper instead of calling mk_fs() and setup_image()\ndirectly.\n\nThe FsHelper class (already upstream) provides a cleaner interface for\ncreating filesystem images, handling temporary directories and cleanup\nautomatically. The new DiskHelper class builds on this, creating\npartitioned disk images from one or more FsHelper filesystems.\n\nDiskHelper includes a cur_dir flag to place the disk image in the\ncurrent directory rather than the persistent-data directory. This\nmatches the behaviour of setup_image() which places disk images in\nsource_dir where sandbox expects to find them. This flag is needed for\nnow and should be removed in a follow-up once all tests are migrated to\nuse the persistent-data directory instead.\n\nWith these helpers, test-setup code becomes shorter, more consistent and\neasier to follow. Manual sfdisk/dd/cleanup sequences are replaced by a\nfew method calls.\n\nThe series also fixes a broken fs_obj_fat fixture where a stale\nsize_gran argument is silently causing the test to be skipped.\n\nA few EFI test fixtures (efi_capsule, efi_secboot, eficonfig) still use\nmk_fs() directly; these are left for a follow-up series since they would\nbenefit from a full DiskHelper conversion.\n\n\nSimon Glass (14):\n  test: Add a helper class to create disk images\n  test: fs_helper: Skip empty srcdir when creating a filesystem\n  test: Fix broken fs_obj_fat fixture\n  test: Convert test_cat to use FsHelper\n  test: Convert test_xxd to use FsHelper\n  test: Convert test_efi_bootmgr to use FsHelper\n  test: Convert setup_bootmenu_image() to use FsHelper\n  test: Split out core of Fedora image into a new function\n  test: Convert setup_bootflow_image() to use FsHelper\n  test: Convert setup_efi_image() to use FsHelper\n  test: Convert test_ut_dm_init() to use FsHelper\n  test: Rename setup_bootflow_image()\n  test: Convert setup_rauc_image() to use FsHelper\n  test: Convert test_fs fixtures to use FsHelper\n\n test/py/tests/fs_helper.py        |  95 +++++++++++++-\n test/py/tests/test_cat.py         |  27 ++--\n test/py/tests/test_efi_bootmgr.py |  38 +++---\n test/py/tests/test_fs/conftest.py | 198 ++++++++++--------------------\n test/py/tests/test_ut.py          | 190 +++++++++++++++-------------\n test/py/tests/test_xxd.py         |  28 ++---\n 6 files changed, 288 insertions(+), 288 deletions(-)"
}