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 AC59A440CE; Fri, 31 May 2024 13:22:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 283FA402D0; Fri, 31 May 2024 13:22:13 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 9DFA3402AF for ; Fri, 31 May 2024 13:22:11 +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 642A41424; Fri, 31 May 2024 04:22:35 -0700 (PDT) Received: from localhost.localdomain (FVFG51LCQ05N.cambridge.arm.com [10.1.39.25]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 88E803F792; Fri, 31 May 2024 04:22:10 -0700 (PDT) From: Luca Vizzarro To: dev@dpdk.org Cc: Jeremy Spewock , =?UTF-8?q?Juraj=20Linke=C5=A1?= , Luca Vizzarro Subject: [PATCH v6 0/3] error and usage improvements Date: Fri, 31 May 2024 12:20:39 +0100 Message-Id: <20240531112042.18736-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 v6: - made members of settings.py private - fixed find_action bug - exchanged the env var HOF for a regular function - minor refactoring 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 --- Depends-on: series-32026 ("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 | 49 +-- dts/framework/exception.py | 13 +- .../remote_session/remote_session.py | 3 +- dts/framework/settings.py | 314 +++++++++++++----- dts/framework/utils.py | 43 ++- 5 files changed, 295 insertions(+), 127 deletions(-) -- 2.34.1