Show a cover letter.

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

{
    "id": 2232788,
    "url": "http://patchwork.ozlabs.org/api/1.2/covers/2232788/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/cover/bmm.hi8lco6rjs.gcc.gcc-TEST.rearnsha.149.1.0@forge-stage.sourceware.org/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<bmm.hi8lco6rjs.gcc.gcc-TEST.rearnsha.149.1.0@forge-stage.sourceware.org>",
    "list_archive_url": null,
    "date": "2026-05-05T09:17:11",
    "name": "[v1,0/1] WIP: Forge: Add scaffolding for managing forge labels",
    "submitter": {
        "id": 92169,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/92169/?format=api",
        "name": "Richard Earnshaw via Sourceware Forge",
        "email": "forge-bot+rearnsha@forge-stage.sourceware.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/gcc/cover/bmm.hi8lco6rjs.gcc.gcc-TEST.rearnsha.149.1.0@forge-stage.sourceware.org/mbox/",
    "series": [
        {
            "id": 502793,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/502793/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=502793",
            "date": "2026-05-05T09:17:11",
            "name": "WIP: Forge: Add scaffolding for managing forge labels",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502793/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2232788/comments/",
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org; dmarc=none (p=none dis=none)\n header.from=forge-stage.sourceware.org",
            "sourceware.org;\n spf=pass smtp.mailfrom=forge-stage.sourceware.org",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=2620:52:6:3111::39"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\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 4g8tJj0vQ0z1yJ0\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 05 May 2026 19:20:05 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 2403A4BA23D3\n\tfor <incoming@patchwork.ozlabs.org>; Tue,  5 May 2026 09:20:03 +0000 (GMT)",
            "from forge-stage.sourceware.org (vm08.sourceware.org\n [IPv6:2620:52:6:3111::39])\n by sourceware.org (Postfix) with ESMTPS id CB7034BA23D3\n for <gcc-patches@gcc.gnu.org>; Tue,  5 May 2026 09:18:10 +0000 (GMT)",
            "from forge-stage.sourceware.org (localhost [IPv6:::1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256)\n (No client certificate requested)\n by forge-stage.sourceware.org (Postfix) with ESMTPS id 991F142C43;\n Tue, 05 May 2026 09:18:10 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 2403A4BA23D3",
            "OpenDKIM Filter v2.11.0 sourceware.org CB7034BA23D3"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org CB7034BA23D3",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org CB7034BA23D3",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777972690; cv=none;\n b=E4fki9a2qpdlPQnCcZuEAv7G3bD8aJFsEi85hbykTkI8PG8vcsCWwr8anMbPEmhqTKd90Z8M32pq65MIyIHfeqNH7IUx3iabr9MaZLixDoa48E7OGuYoTy84YupJ9ypajKu1dP9GnMDkwSa9JySFrvKVqWWtJMrU4XpPlJGProU=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777972690; c=relaxed/simple;\n bh=yUigXcFsSo7lrLIusP1Vif/Lj42oelcoDpYSIQq1g2I=;\n h=From:Date:Subject:To:Message-ID;\n b=dAhlE0l2Z9g1YIYiUeicv32pPdaPCD3K80rSBBqoFTEagshBlI2yzFhRiY70nqSz3EqZ+tq4/mxrg1xixz6AkzadmRDp3f5bT0WoHefNuwM4q7u4x/cIdlJHCh12mH3ePly/Dswkpu6DxiMTCxxkn9JimNlmbu8RhJB3Wg91bt0=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "From": "Richard Earnshaw via Sourceware Forge\n <forge-bot+rearnsha@forge-stage.sourceware.org>",
        "Date": "Tue, 05 May 2026 09:17:11 +0000",
        "Subject": "[PATCH v1 0/1] WIP: Forge: Add scaffolding for managing forge labels",
        "To": "gcc-patches mailing list <gcc-patches@gcc.gnu.org>",
        "Cc": "claudio.bantaloukas@arm.com",
        "Message-ID": "\n <bmm.hi8lco6rjs.gcc.gcc-TEST.rearnsha.149.1.0@forge-stage.sourceware.org>",
        "X-Mailer": "batrachomyomachia",
        "X-Requested-Reviewer": "rdfm",
        "X-Pull-Request-Organization": "gcc",
        "X-Pull-Request-Repository": "gcc-TEST",
        "X-Pull-Request": "https://forge.sourceware.org/gcc/gcc-TEST/pulls/149",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Reply-To": "gcc-patches mailing list <gcc-patches@gcc.gnu.org>,\n claudio.bantaloukas@arm.com, rearnsha@arm.com",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "Hi gcc-patches mailing list,\nRichard Earnshaw via Sourceware Forge <forge-bot+rearnsha@forge-stage.sourceware.org> has requested that the following forgejo pull request\nbe published on the mailing list.\n\nCreated on: 2026-04-29 10:48:37+00:00\nLatest update: 2026-05-05 09:17:11+00:00\nChanges: 4 changed files, 1366 additions, 0 deletions\nHead revision: rearnsha/gcc-TEST ref forge-labels commit 59109ed260b8a6064ba8c5a41335d3caf6ee82b6\nBase revision: gcc/gcc-TEST ref trunk commit b99e67e8ac8e0333cc74040e9924e88555b7a3e1 r17-96-gb99e67e8ac8e03\nMerge base: b99e67e8ac8e0333cc74040e9924e88555b7a3e1\nFull diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/149.diff\nDiscussion:  https://forge.sourceware.org/gcc/gcc-TEST/pulls/149\nRequested Reviewers: rdfm\n\nAdd some scaffolding for managing labels used by the forge.  This\npatch handles some general infrastructure to read a 'database' of\nlabels, an initial set of lables and a script to manage the list of\nlabels on the forge instance.  It makes use of the forge's REST API to\nautomate the process, thus making it simple for a user with\nappropriate privilages to update the list with minimal effort.\n\nThe classify.py script takes a list of file paths and applies the\nmatch rules, printing out the labels that would apply to each filename.\nYou can see the effects by running\n  (cd $GCC_SRC_BASE; find . -type f -print) | ./classify.py\n\nI expect a future patch to use the matching data to automatically\nlabel merge requests with the relevant labels as part of the initial\ntriaging process.\n\ncontrib/ChangeLog:\n\n\t* forge/forgelabels.py: New file.\n\t* forge/labels.yaml: New file.\n\t* forge/update-labels.py: New file.\n\t* forge/classify.py: New file.\n\nThanks for taking the time to contribute to GCC!\n\nPlease be advised that https://forge.sourceware.org/ is currently a trial\nthat is being used by the GCC community to experiment with a new workflow\nbased on pull requests.\n\nPull requests sent here may be forgotten or ignored. Patches that you want to\npropose for inclusion in GCC should use the existing email-based workflow,\nsee https://gcc.gnu.org/contribute.html\n\n\nChanged files:\n- A: contrib/forge/classify.py\n- A: contrib/forge/forgelabels.py\n- A: contrib/forge/labels.yaml\n- A: contrib/forge/update-labels.py\n\n\nRichard Earnshaw (1):\n  Forge: Add scaffolding for managing forge labels\n\n contrib/forge/classify.py      |  88 ++++\n contrib/forge/forgelabels.py   | 201 +++++++\n contrib/forge/labels.yaml      | 926 +++++++++++++++++++++++++++++++++\n contrib/forge/update-labels.py | 151 ++++++\n 4 files changed, 1366 insertions(+)\n create mode 100755 contrib/forge/classify.py\n create mode 100755 contrib/forge/forgelabels.py\n create mode 100644 contrib/forge/labels.yaml\n create mode 100755 contrib/forge/update-labels.py"
}