Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/129644/?format=api
http://patchwork.dpdk.org/api/patches/129644/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230719141303.33284-5-juraj.linkes@pantheon.tech/", "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": "<20230719141303.33284-5-juraj.linkes@pantheon.tech>", "list_archive_url": "https://inbox.dpdk.org/dev/20230719141303.33284-5-juraj.linkes@pantheon.tech", "date": "2023-07-19T14:13:01", "name": "[v3,4/6] dts: add python remote interactive shell", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "be06467be170c4737458652f1b42419a6a1b7abf", "submitter": { "id": 1626, "url": "http://patchwork.dpdk.org/api/people/1626/?format=api", "name": "Juraj Linkeš", "email": "juraj.linkes@pantheon.tech" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230719141303.33284-5-juraj.linkes@pantheon.tech/mbox/", "series": [ { "id": 28973, "url": "http://patchwork.dpdk.org/api/series/28973/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28973", "date": "2023-07-19T14:12:57", "name": "dts: tg abstractions and scapy tg", "version": 3, "mbox": "http://patchwork.dpdk.org/series/28973/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/129644/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/129644/checks/", "tags": {}, "related": [], "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 29E1142EB9;\n\tWed, 19 Jul 2023 16:13:34 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0F7C542D10;\n\tWed, 19 Jul 2023 16:13:12 +0200 (CEST)", "from mail-lf1-f42.google.com (mail-lf1-f42.google.com\n [209.85.167.42]) by mails.dpdk.org (Postfix) with ESMTP id 11C22427F5\n for <dev@dpdk.org>; Wed, 19 Jul 2023 16:13:10 +0200 (CEST)", "by mail-lf1-f42.google.com with SMTP id\n 2adb3069b0e04-4f95bf5c493so11418433e87.3\n for <dev@dpdk.org>; Wed, 19 Jul 2023 07:13:10 -0700 (PDT)", "from jlinkes-PT-Latitude-5530.. (ip-46.34.247.144.o2inet.sk.\n [46.34.247.144]) by smtp.gmail.com with ESMTPSA id\n q8-20020a056402040800b0051e2809395bsm2721979edv.63.2023.07.19.07.13.08\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 19 Jul 2023 07:13:08 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=pantheon.tech; s=google; t=1689775989; x=1690380789;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=LFdTReZBu+KtiY+0s22o7a7A1yqos7Hmw7I0rKI61lQ=;\n b=Lg0NgzoY7LxW18mF/UG326Izke5nDR6Frn1I1AUTIA2/7pI3EPDIVoBjpLDnmUT0xN\n c5OUIRlbrDHvPA8Y0GhUvQjWQjV69b4IntzT3OE/o1S0qiq6ths/MQUxMGMryIJECgJ6\n uc0XYOVweIHfTx7ujmnpDyaU5dJ1wY+Es+ROnTW6n+5VCfq0P4b+Yb59jwRwB3reiPsb\n 7bTpP5HdZncqJYr4OxXprgWU70Azr7u3Xw92unLw6Jckg+YUFF96wccS6ccb6M57xh4Q\n odyk97KmS7fNMpo7kxKHgkLxno0/8NbOALthCPvdBQ8mupR064dRVJkT10H0kvtMK07k\n 6rUg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20221208; t=1689775989; x=1690380789;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=LFdTReZBu+KtiY+0s22o7a7A1yqos7Hmw7I0rKI61lQ=;\n b=gUKsb3OvalhqnX3c+6BkSmXQ8lti8Xr7NEXGBvC/Y/llKH+QDnaI4dzqv0pzmUCW//\n xCKyoNrGt5y0vgg2NFL9/Zwrt7WW3ud5rOp95saCGbboxq4kZRc8xiV8hJ1if6ZFH/Pu\n FG1GuO1Eczk25Tz9LNCQiXmWyTuMfqukvg+Wv4YP+Z6sH6PzItMlxaKLG8cUg6ydxXb2\n YYST5mvyGO+44X4YgC9mwSI1Lpoc0qb2iuRyJAEqnD8fw4pvCYiuXHDZjTf333MvZk9n\n 1fit9ez5juUevrwaWy6aMLqyTVxrbOiExihW5YzFJMtX7H6rOrW6PMrkHfeoLR4MQXAF\n x5IA==", "X-Gm-Message-State": "ABy/qLYwVcePM2Ef1HwpGAI80ouj+uV9JAclhwiuCjqjx2Q6gqkZ+Rf+\n KCGoJbCSRehDUHUYwGiXydEZ6Q==", "X-Google-Smtp-Source": "\n APBJJlF0F7bOceEV2mvgfnLS/ZxOaNo1+5akulQ5Mv8+jCZ5S4wdnVw0QGhlmvhK09muzxM7noYqgg==", "X-Received": "by 2002:a19:7b0f:0:b0:4f8:6833:b13c with SMTP id\n w15-20020a197b0f000000b004f86833b13cmr24751lfc.14.1689775989639;\n Wed, 19 Jul 2023 07:13:09 -0700 (PDT)", "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "To": "thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, lijuan.tu@intel.com,\n bruce.richardson@intel.com, jspewock@iol.unh.edu, probb@iol.unh.edu", "Cc": "dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "Subject": "[PATCH v3 4/6] dts: add python remote interactive shell", "Date": "Wed, 19 Jul 2023 16:13:01 +0200", "Message-Id": "<20230719141303.33284-5-juraj.linkes@pantheon.tech>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20230719141303.33284-1-juraj.linkes@pantheon.tech>", "References": "<20230717110709.39220-1-juraj.linkes@pantheon.tech>\n <20230719141303.33284-1-juraj.linkes@pantheon.tech>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "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": "The shell can be used to remotely run any Python code interactively.\n\nSigned-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\n---\n dts/framework/remote_session/remote/python_shell.py | 12 ++++++++++++\n 1 file changed, 12 insertions(+)\n create mode 100644 dts/framework/remote_session/remote/python_shell.py", "diff": "diff --git a/dts/framework/remote_session/remote/python_shell.py b/dts/framework/remote_session/remote/python_shell.py\nnew file mode 100644\nindex 0000000000..cc3ad48a68\n--- /dev/null\n+++ b/dts/framework/remote_session/remote/python_shell.py\n@@ -0,0 +1,12 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright(c) 2023 PANTHEON.tech s.r.o.\n+\n+from pathlib import PurePath\n+\n+from .interactive_shell import InteractiveShell\n+\n+\n+class PythonShell(InteractiveShell):\n+ _default_prompt: str = \">>>\"\n+ _command_extra_chars: str = \"\\n\"\n+ path: PurePath = PurePath(\"python3\")\n", "prefixes": [ "v3", "4/6" ] }{ "id": 129644, "url": "