Re: [pve-devel] [PATCH v1 pve-common 3/3] section config: clean up parser logic

2024-06-13 Thread Max Carrara
On Tue Jun 11, 2024 at 12:46 PM CEST, Fabian Grünbichler wrote: > On June 4, 2024 11:28 am, Max Carrara wrote: > > In order to make the parser somewhat more maintainable in the future, > > this commit cleans up its logic and makes its control flow easier to > > follow. > > it also mixes deeper chan

Re: [pve-devel] [PATCH v1 pve-common 3/3] section config: clean up parser logic

2024-06-11 Thread Fabian Grünbichler
On June 4, 2024 11:28 am, Max Carrara wrote: > In order to make the parser somewhat more maintainable in the future, > this commit cleans up its logic and makes its control flow easier to > follow. it also mixes deeper changes with things like variable renaming, which makes it unnecessarily hard t

[pve-devel] [PATCH v1 pve-common 3/3] section config: clean up parser logic

2024-06-04 Thread Max Carrara
In order to make the parser somewhat more maintainable in the future, this commit cleans up its logic and makes its control flow easier to follow. Signed-off-by: Max Carrara --- src/PVE/SectionConfig.pm | 189 --- 1 file changed, 98 insertions(+), 91 deletions