Cover Detail
Show a cover letter.
GET /api/covers/786/?format=api
https://patches.dpdk.org/api/covers/786/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/20240318091848.14360-1-fengchengwen@huawei.com/", "project": { "id": 1, "url": "https://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": "<20240318091848.14360-1-fengchengwen@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240318091848.14360-1-fengchengwen@huawei.com", "date": "2024-03-18T09:18:42", "name": "[v3,0/6] refine argparse library", "submitter": { "id": 2146, "url": "https://patches.dpdk.org/api/people/2146/?format=api", "name": "fengchengwen", "email": "fengchengwen@huawei.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/20240318091848.14360-1-fengchengwen@huawei.com/mbox/", "series": [ { "id": 31542, "url": "https://patches.dpdk.org/api/series/31542/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=31542", "date": "2024-03-18T09:18:44", "name": "refine argparse library", "version": 3, "mbox": "https://patches.dpdk.org/series/31542/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/786/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 9BD3343CE2;\n\tMon, 18 Mar 2024 10:20:49 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id AEE4740647;\n\tMon, 18 Mar 2024 10:20:44 +0100 (CET)", "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id BEBE540649\n for <dev@dpdk.org>; Mon, 18 Mar 2024 10:20:41 +0100 (CET)", "from mail.maildlp.com (unknown [172.19.163.48])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Tyq7W3p1czbdDb;\n Mon, 18 Mar 2024 17:19:51 +0800 (CST)", "from dggpeml500024.china.huawei.com (unknown [7.185.36.10])\n by mail.maildlp.com (Postfix) with ESMTPS id 4A5CC18006C;\n Mon, 18 Mar 2024 17:20:39 +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 17:20:39 +0800" ], "From": "Chengwen Feng <fengchengwen@huawei.com>", "To": "<thomas@monjalon.net>, <david.marchand@redhat.com>", "CC": "<dev@dpdk.org>", "Subject": "[PATCH v3 0/6] refine argparse library", "Date": "Mon, 18 Mar 2024 09:18:42 +0000", "Message-ID": "<20240318091848.14360-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": "dggems706-chm.china.huawei.com (10.3.19.183) 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---\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 | 68 ++++++++++++---------\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, 130 insertions(+), 131 deletions(-)" }{ "id": 786, "url": "