Re: [OE-core] [PATCH] create-spdx: Get SPDX-License-Identifier from source

2022-02-02 Thread Peter Kjellerstedt
> -Original Message- > From: Saul Wold > Sent: den 2 februari 2022 05:07 > To: Peter Kjellerstedt ; openembedded- > c...@lists.openembedded.org; jpewhac...@gmail.com > Subject: Re: [OE-core] [PATCH] create-spdx: Get SPDX-License-Identifier > from source >

Re: [OE-core] [PATCH] create-spdx: Get SPDX-License-Identifier from source

2022-02-01 Thread Saul Wold
: Get SPDX-License-Identifier from source This patch will read the begining of source files and try to find the SPDX-License-Identifier to populate the licenseInfoInFiles field for each source file. This does not populate licenseConculed I assume that should be "licenseConcluded&qu

Re: [OE-core] [PATCH] create-spdx: Get SPDX-License-Identifier from source

2022-02-01 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Saul Wold > Sent: den 2 februari 2022 01:02 > To: openembedded-core@lists.openembedded.org; jpewhac...@gmail.com > Cc: Saul Wold > Subject: [OE-core] [PATCH] create-spdx: Get SP

[OE-core] [PATCH] create-spdx: Get SPDX-License-Identifier from source

2022-02-01 Thread Saul Wold
This patch will read the begining of source files and try to find the SPDX-License-Identifier to populate the licenseInfoInFiles field for each source file. This does not populate licenseConculed at this time, nor rolls it up to package level. We read as binary to since some source code seem to