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 525244402B; Tue, 14 May 2024 13:45:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D96A5402EA; Tue, 14 May 2024 13:45:18 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 1908340156 for ; Tue, 14 May 2024 13:45:17 +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 7379F1007; Tue, 14 May 2024 04:45:41 -0700 (PDT) Received: from localhost.localdomain (unknown [10.57.4.224]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6501E3F641; Tue, 14 May 2024 04:45:15 -0700 (PDT) From: Luca Vizzarro To: dev@dpdk.org Cc: Luca Vizzarro , =?UTF-8?q?Juraj=20Linke=C5=A1?= , Jeremy Spewock Subject: [PATCH v3 0/3] error and usage improvements Date: Tue, 14 May 2024 12:44:56 +0100 Message-Id: <20240514114459.1949921-1-luca.vizzarro@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240318171704.798634-1-luca.vizzarro@arm.com> References: <20240318171704.798634-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 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 --- Depends-on: series-31920 ("dts: update mypy and clean up") --- 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