Show a cover letter.

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

{
    "id": 753,
    "url": "http://patches.dpdk.org/api/covers/753/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/cover/20240307130742.5578-1-fengchengwen@huawei.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20240307130742.5578-1-fengchengwen@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240307130742.5578-1-fengchengwen@huawei.com",
    "date": "2024-03-07T13:07:37",
    "name": "[v2,0/5] refine argparse library",
    "submitter": {
        "id": 2146,
        "url": "http://patches.dpdk.org/api/people/2146/?format=api",
        "name": "fengchengwen",
        "email": "fengchengwen@huawei.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/cover/20240307130742.5578-1-fengchengwen@huawei.com/mbox/",
    "series": [
        {
            "id": 31424,
            "url": "http://patches.dpdk.org/api/series/31424/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31424",
            "date": "2024-03-07T13:07:39",
            "name": "refine argparse library",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/31424/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/753/comments/",
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id DC84743BCF;\n\tThu,  7 Mar 2024 14:09:31 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 072FD42E74;\n\tThu,  7 Mar 2024 14:09:28 +0100 (CET)",
            "from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190])\n by mails.dpdk.org (Postfix) with ESMTP id 02CC5410D5\n for <dev@dpdk.org>; Thu,  7 Mar 2024 14:09:24 +0100 (CET)",
            "from mail.maildlp.com (unknown [172.19.88.214])\n by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Tr8hj0Lktz2BfZb;\n Thu,  7 Mar 2024 21:07:01 +0800 (CST)",
            "from dggpeml500024.china.huawei.com (unknown [7.185.36.10])\n by mail.maildlp.com (Postfix) with ESMTPS id 2A9FE1A016C;\n Thu,  7 Mar 2024 21:09:23 +0800 (CST)",
            "from localhost.localdomain (10.50.165.33) by\n dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.1.2507.35; Thu, 7 Mar 2024 21:09:22 +0800"
        ],
        "From": "Chengwen Feng <fengchengwen@huawei.com>",
        "To": "<thomas@monjalon.net>, <dev@dpdk.org>, <david.marchand@redhat.com>",
        "Subject": "[PATCH v2 0/5] refine argparse library",
        "Date": "Thu, 7 Mar 2024 13:07:37 +0000",
        "Message-ID": "<20240307130742.5578-1-fengchengwen@huawei.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20240220131502.47510-1-fengchengwen@huawei.com>",
        "References": "<20240220131502.47510-1-fengchengwen@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.50.165.33]",
        "X-ClientProxiedBy": "dggems704-chm.china.huawei.com (10.3.19.181) To\n dggpeml500024.china.huawei.com (7.185.36.10)",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "I found a couple of issues when I revisited the argparse_autotest\noutput, so got this patchset.\n\nChengwen Feng (5):\n  argparse: refine error message\n  argparse: remove dead code\n  argparse: replace flag enum with marco\n  argparse: fix argument flags operate as uint32 type\n  test/argparse: refine testcases\n\n---\nv2: address David Marchand's comment:\n- replace flag enum with marco.\n- replace flag's hardcode with macro in test_argparse.c.\n\n app/test/test_argparse.c    | 68 ++++++++++++++++++--------------\n lib/argparse/rte_argparse.c | 41 +++++++++----------\n lib/argparse/rte_argparse.h | 78 ++++++++++++++++---------------------\n 3 files changed, 90 insertions(+), 97 deletions(-)"
}