From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 687F34402B; Tue, 14 May 2024 14:10:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E10A2402E9; Tue, 14 May 2024 14:10:30 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id D60DC40156 for ; Tue, 14 May 2024 14:10:29 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 35A111007; Tue, 14 May 2024 05:10:54 -0700 (PDT) Received: from localhost.localdomain (unknown [10.57.4.224]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 865F93F641; Tue, 14 May 2024 05:10:28 -0700 (PDT) From: Luca Vizzarro To: dev@dpdk.org Cc: =?UTF-8?q?Juraj=20Linke=C5=A1?= , Jeremy Spewock , Luca Vizzarro Subject: [PATCH v5 0/3] error and usage improvements Date: Tue, 14 May 2024 13:10:20 +0100 Message-Id: <20240514121023.1957025-1-luca.vizzarro@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240122182611.1904974-1-luca.vizzarro@arm.com> References: <20240122182611.1904974-1-luca.vizzarro@arm.com> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi again, apologies again. Looks like it's not my good day as I sent the wrong patches in the series... v5: - re-sent correct patches v4: - fix spelling typo v3: - amended arguments rework so that it retains the original functional style - re-implemetend functionalities in v2 by augmenting argparse classes and functions v2: - complete rework of the arguments handling, to retain the environment variables and gain control over them - prefixing 'Stderr: ' to RemoteCommandExecutionError - rebased Luca Vizzarro (3): dts: rework arguments framework dts: constrain DPDK source argument dts: store stderr in RemoteCommandExecutionError doc/guides/tools/dts.rst | 50 +-- dts/framework/exception.py | 13 +- .../remote_session/remote_session.py | 3 +- dts/framework/settings.py | 328 +++++++++++++----- dts/framework/utils.py | 43 ++- 5 files changed, 309 insertions(+), 128 deletions(-) -- 2.34.1