Re: [PATCH v2 1/3] dts: rework arguments framework

2024-04-10 Thread Juraj Linkeš
On Tue, Apr 9, 2024 at 5:14 PM Luca Vizzarro wrote: > > On 04/04/2024 10:25, Juraj Linkeš wrote: > > Judging from the code, this patch seems like a convoluted way to implement: > > 1. An association between an Argument and the corresponding > > environment variable, > > 2. A better way to add the

Re: [PATCH v2 1/3] dts: rework arguments framework

2024-04-09 Thread Luca Vizzarro
On 04/04/2024 10:25, Juraj Linkeš wrote: Judging from the code, this patch seems like a convoluted way to implement: 1. An association between an Argument and the corresponding environment variable, 2. A better way to add the env vars names to the help message of each argument as well as adding t

Re: [PATCH v2 1/3] dts: rework arguments framework

2024-04-04 Thread Juraj Linkeš
On Mon, Mar 18, 2024 at 6:17 PM Luca Vizzarro wrote: > > The existing argument handling in the code relies on basic argparse > functionality and a custom argparse action to integrate environment > variables. This commit improves the current handling by augmenting > argparse through a custom implem

[PATCH v2 1/3] dts: rework arguments framework

2024-03-18 Thread Luca Vizzarro
The existing argument handling in the code relies on basic argparse functionality and a custom argparse action to integrate environment variables. This commit improves the current handling by augmenting argparse through a custom implementation of the arguments. This rework implements the following