Cover Detail
Show a cover letter.
GET /api/covers/13/?format=api
http://patches.dpdk.org/api/covers/13/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20230802170052.955323-1-bruce.richardson@intel.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": "<20230802170052.955323-1-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230802170052.955323-1-bruce.richardson@intel.com", "date": "2023-08-02T17:00:51", "name": "[RFC,0/1] make cmdline library easier to use", "submitter": { "id": 20, "url": "http://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20230802170052.955323-1-bruce.richardson@intel.com/mbox/", "series": [ { "id": 29095, "url": "http://patches.dpdk.org/api/series/29095/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29095", "date": "2023-08-02T17:00:51", "name": "make cmdline library easier to use", "version": 1, "mbox": "http://patches.dpdk.org/series/29095/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/13/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 33A5A42FB8;\n\tWed, 2 Aug 2023 19:01:03 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B898E410DC;\n\tWed, 2 Aug 2023 19:01:02 +0200 (CEST)", "from mgamail.intel.com (unknown [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id C532840DDB\n for <dev@dpdk.org>; Wed, 2 Aug 2023 19:01:01 +0200 (CEST)", "from orsmga004.jf.intel.com ([10.7.209.38])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Aug 2023 10:01:00 -0700", "from silpixa00401385.ir.intel.com ([10.237.214.162])\n by orsmga004.jf.intel.com with ESMTP; 02 Aug 2023 10:00:59 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1690995662; x=1722531662;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=eiHaEMikly5HaCqHlYbHvj71NBKuoo+IUg6FApHAbqU=;\n b=mnb0bqYGAIfgo3bkihe1YybRto+N/+Ce2g2vOyCheiR7hh2A5ym90Pql\n UsvJqKAd3Ovc1rm76oRvI75OXfrqwiXf3fsIDuQXP4/Mzwis8+urYh7f1\n 80J1J1W95k8/jxhyKFsGwTrdXPdJbCWLWuNoIp5XFO008Fd0NerNY93NI\n dKybzoX711nyBYfsv4eUn6dHof5g2twT2IpzYx4VQK6E+oHIaxnviLGAG\n H9T/qFW3C8X8WCSSV5MZ8MtLhuNk2FLDixHPmvwLzLFio5AaOUH4KqSEq\n RS4AXs18sHPVErKRn3FSfE1pzkKHsmuzRyOnakMnGdgoCe1LiD4fvZO4N w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10790\"; a=\"368545934\"", "E=Sophos;i=\"6.01,249,1684825200\"; d=\"scan'208\";a=\"368545934\"", "E=McAfee;i=\"6600,9927,10790\"; a=\"852943949\"", "E=Sophos;i=\"6.01,249,1684825200\"; d=\"scan'208\";a=\"852943949\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org,\n\tOlivier Matz <olivier.matz@6wind.com>", "Cc": "Bruce Richardson <bruce.richardson@intel.com>", "Subject": "[RFC PATCH 0/1] make cmdline library easier to use", "Date": "Wed, 2 Aug 2023 18:00:51 +0100", "Message-Id": "<20230802170052.955323-1-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.39.2", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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": "And now for something completely different... :-)\n\nWhile it's nice that DPDK includes a commandline library for easily\nadding interactivity to applications, the library itself is a little\nclunky to use, due to the massive amounts of boilerplate definitions\nrequired. Having used it recently on an app I was playing with for\ntesting, I decided the situation can potentially be improved with it\nby use of a script to produce the boilerplate when given a simple\nlist of commands the user wants to add to the app.\n\nThis is the result of that effort. Sending it here as a rough-draft to\nget feedback on whether this is worth including in DPDK itself.\nHopefully others may find it of use.\n\nBruce Richardson (1):\n cmdline/dpdk-cmdline-gen: generate boilerplate for simple cmds\n\n lib/cmdline/dpdk-cmdline-gen.py | 143 ++++++++++++++++++++++++++++++++\n 1 file changed, 143 insertions(+)\n create mode 100755 lib/cmdline/dpdk-cmdline-gen.py\n\n--\n2.39.2" }{ "id": 13, "url": "