Cover Detail
Show a cover letter.
GET /api/covers/787/?format=api
http://patchwork.dpdk.org/api/covers/787/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20240318111838.16991-1-fengchengwen@huawei.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20240318111838.16991-1-fengchengwen@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240318111838.16991-1-fengchengwen@huawei.com", "date": "2024-03-18T11:18:32", "name": "[v4,0/6] refine argparse library", "submitter": { "id": 2146, "url": "http://patchwork.dpdk.org/api/people/2146/?format=api", "name": "fengchengwen", "email": "fengchengwen@huawei.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/20240318111838.16991-1-fengchengwen@huawei.com/mbox/", "series": [ { "id": 31544, "url": "http://patchwork.dpdk.org/api/series/31544/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31544", "date": "2024-03-18T11:18:32", "name": "refine argparse library", "version": 4, "mbox": "http://patchwork.dpdk.org/series/31544/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/787/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 31FA043CE3;\n\tMon, 18 Mar 2024 12:21:03 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 028C34027F;\n\tMon, 18 Mar 2024 12:21:03 +0100 (CET)", "from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187])\n by mails.dpdk.org (Postfix) with ESMTP id 9F3CE40A6B\n for <dev@dpdk.org>; Mon, 18 Mar 2024 12:21:00 +0100 (CET)", "from mail.maildlp.com (unknown [172.19.163.174])\n by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4TysmN149QzwPgh;\n Mon, 18 Mar 2024 19:18:28 +0800 (CST)", "from dggpeml500024.china.huawei.com (unknown [7.185.36.10])\n by mail.maildlp.com (Postfix) with ESMTPS id ACA4F140259;\n Mon, 18 Mar 2024 19:20:58 +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; Mon, 18 Mar 2024 19:20:58 +0800" ], "From": "Chengwen Feng <fengchengwen@huawei.com>", "To": "<thomas@monjalon.net>, <david.marchand@redhat.com>", "CC": "<dev@dpdk.org>", "Subject": "[PATCH v4 0/6] refine argparse library", "Date": "Mon, 18 Mar 2024 11:18:32 +0000", "Message-ID": "<20240318111838.16991-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 (6):\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 argparse: fix doc don't display two hyphens\n\n---\nv4: address Thomas's comment on 4/6 commit:\n- remove unused macros TEST_ARGPARSE_FLAG_HAS_ARG_BITMASK and\n TEST_ARGPARSE_FLAG_VAL_TYPE_BITMASK.\nv3:\n- address Thomas's comment on 4/6 comit.\n- add commit: fix doc don't display two hyphens.\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 | 65 +++++++++++---------\n doc/guides/prog_guide/argparse_lib.rst | 47 +++++++-------\n lib/argparse/rte_argparse.c | 61 +++++++++---------\n lib/argparse/rte_argparse.h | 85 ++++++++++++--------------\n 4 files changed, 127 insertions(+), 131 deletions(-)" }{ "id": 787, "url": "