Re: [OE-core] [RFC 3/7] bitbake-layers: Add ability to update layer repository configuration

2023-11-14 Thread Alexander Kanavin
On Wed, 8 Nov 2023 at 16:22, Jermain Horsman wrote: > I was working with the assumption that not validating would not be > acceptable. > I guess it comes down to whether we (want to) trust the users to validate > their input, or if we think it is more important to make sure that it is. I'm not ev

Re: [OE-core] [RFC 3/7] bitbake-layers: Add ability to update layer repository configuration

2023-11-08 Thread Jermain Horsman
-Original Message- From: Alexander Kanavin Sent: Wednesday, November 8, 2023 11:39 AM > A separate top level plugin is problematic because create-layers-setup > has specifically a sub-plugin mechanism in itself to support various > ways of writing layer setup, json writer is just one imp

Re: [OE-core] [RFC 3/7] bitbake-layers: Add ability to update layer repository configuration

2023-11-08 Thread Alexander Kanavin
On Tue, 7 Nov 2023 at 16:27, Jermain Horsman wrote: > +def register_commands(self, sp): > +parser_update_layers = self.add_command(sp, 'update-layers-setup', > self.do_update_setup, parserecipes=False) > +parser_update_layers.add_argument('json', > +help='File loc

[OE-core] [RFC 3/7] bitbake-layers: Add ability to update layer repository configuration

2023-11-07 Thread Jermain Horsman
From: Jermain Horsman This allows for modifications of an existing configuration file using current revisions. Signed-off-by: Jermain Horsman --- meta/lib/bblayers/updatesetup.py | 78 1 file changed, 78 insertions(+) create mode 100644 meta/lib/bblayers/updat