[OE-core] [PATCH 2/5] meta/files: add layer setup JSON schema and example

2022-08-25 Thread Alexander Kanavin
From: Joshua Watt Defines a common schema for layer setup that can be consumed by tools to know how to fetch and assemble layers for end users. Also includes an example of the layer setup that constructs poky/meta-intel/imaginary product layer for reference. The schema can be used to validate a

Re: [OE-core] [PATCH 2/5] meta/files: add layer setup JSON schema and example

2022-08-18 Thread Richard Purdie
On Thu, 2022-08-18 at 10:24 +0200, Alexander Kanavin wrote: > On Thu, 18 Aug 2022 at 00:27, Richard Purdie > wrote: > > > It does, thanks. I'm just not sure we're quite in the right place with > > things. I know in your other reply you say we have to start somewhere > > and we can change things.

Re: [OE-core] [PATCH 2/5] meta/files: add layer setup JSON schema and example

2022-08-18 Thread Alexander Kanavin
On Thu, 18 Aug 2022 at 00:27, Richard Purdie wrote: > It does, thanks. I'm just not sure we're quite in the right place with > things. I know in your other reply you say we have to start somewhere > and we can change things. I also know the screaming if we try and > remove something later... Rig

Re: [OE-core] [PATCH 2/5] meta/files: add layer setup JSON schema and example

2022-08-17 Thread Richard Purdie
On Wed, 2022-08-17 at 23:36 +0200, Alexander Kanavin wrote: > On Wed, 17 Aug 2022 at 22:52, Richard Purdie > wrote: > > One thing that concerns me a little is that this mixes two things, > > layer setup (as in repos) and configuration. I'm nervous about json > > config which effectively has to dup

Re: [OE-core] [PATCH 2/5] meta/files: add layer setup JSON schema and example

2022-08-17 Thread Alexander Kanavin
On Wed, 17 Aug 2022 at 22:52, Richard Purdie wrote: > I'm still worried about bolting a format directly into one of our core > tools as it effectively means it is a definitive standard. We do > probably need one but I'm not convinced this is quite right, perhaps > because of the above reason. Not

Re: [OE-core] [PATCH 2/5] meta/files: add layer setup JSON schema and example

2022-08-17 Thread Alexander Kanavin
On Wed, 17 Aug 2022 at 22:52, Richard Purdie wrote: > One thing that concerns me a little is that this mixes two things, > layer setup (as in repos) and configuration. I'm nervous about json > config which effectively has to duplicate the list of machines/distros > in layers. > > Where is the dist

Re: [OE-core] [PATCH 2/5] meta/files: add layer setup JSON schema and example

2022-08-17 Thread Richard Purdie
On Wed, 2022-08-17 at 15:10 +0200, Alexander Kanavin wrote: > From: Joshua Watt > > Defines a common schema for layer setup that can be consumed by tools to > know how to fetch and assemble layers for end users. Also includes an > example of the layer setup that constructs poky/meta-intel/imagina

[OE-core] [PATCH 2/5] meta/files: add layer setup JSON schema and example

2022-08-17 Thread Alexander Kanavin
From: Joshua Watt Defines a common schema for layer setup that can be consumed by tools to know how to fetch and assemble layers for end users. Also includes an example of the layer setup that constructs poky/meta-intel/imaginary product layer for reference. The schema can be used to validate a

[OE-core] [PATCH 2/5] meta/files: add layer setup JSON schema and example

2022-08-02 Thread Alexander Kanavin
From: Joshua Watt Defines a common schema for layer setup that can be consumed by tools to know how to fetch and assemble layers for end users. Also includes an example of the layer setup that constructs poky/meta-intel/imaginary product layer for reference. The schema can be used to validate a