All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] create-spdx: default share_src for shared sources
@ 2022-11-03 14:15 Konrad WEIHMANN
  2022-11-03 14:28 ` [OE-core] " Joshua Watt
  0 siblings, 1 reply; 4+ messages in thread
From: Konrad WEIHMANN @ 2022-11-03 14:15 UTC (permalink / raw)
  To: openembedded-core; +Cc: steve

[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]

as it's practically impossible to send an email patch from corporate
environment, please find the following patch at the mentioned
remote location.

It would be nice to have that backported to kirkstone as well, once merged, as this is
where I encountered the issue first

The following changes since commit 482c493cf681121fb041f98066a42af14145ff9e:

  valgrind: update to 3.20.0 (2022-11-03 07:46:47 +0000)

are available in the Git repository at:

  https://github.com/witekio-kwe/poky spdx-fix
  https://github.com/witekio-kwe/poky/tree/spdx-fix

Konrad Weihmann (1):
  create-spdx: default share_src for shared sources

 meta/classes/create-spdx.bbclass | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


Witekio GmbH is registered in Frankfurt. Registered office: Am Wartfeld 7 - 61169 Friedberg. Registered company number: HRB 95432. VAT number DE287400071
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you aren't the named addressee, you should not disseminate, distribute, or copy this e-mail.

We continuously commit to comply with the applicable data protection laws and ensure fair and transparent processing of your personal data. Please read our privacy statement including an information notice and data protection policy for detailed information on our website.

[-- Attachment #2: Type: text/html, Size: 2723 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH 0/1] create-spdx: default share_src for shared sources
  2022-11-03 14:15 [PATCH 0/1] create-spdx: default share_src for shared sources Konrad WEIHMANN
@ 2022-11-03 14:28 ` Joshua Watt
       [not found]   ` <AM8P192MB09632ED64CA52FB9CA30C13CA3389@AM8P192MB0963.EURP192.PROD.OUTLOOK.COM>
  0 siblings, 1 reply; 4+ messages in thread
From: Joshua Watt @ 2022-11-03 14:28 UTC (permalink / raw)
  To: kweihmann, openembedded-core; +Cc: steve

I see the problem, but I'm not quite sure this is the correct solution. 
It *does* fix the problem for exact recipe that provides the source code 
(e.g. the llvm-sources recipe), but I don't think it will correctly pick 
up the sources for anything that actually uses that shared source code 
(e.g. clang); this isn't necessarily a problem in your patch however, I 
think it's actually a problem with any non-kernel recipes.


On 11/3/22 09:15, Konrad WEIHMANN via lists.openembedded.org wrote:
> https://github.com/witekio-kwe/poky spdx-fix


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH 0/1] create-spdx: default share_src for shared sources
       [not found]   ` <AM8P192MB09632ED64CA52FB9CA30C13CA3389@AM8P192MB0963.EURP192.PROD.OUTLOOK.COM>
@ 2022-11-03 16:20     ` Joshua Watt
  2022-11-03 17:40       ` Joshua Watt
  0 siblings, 1 reply; 4+ messages in thread
From: Joshua Watt @ 2022-11-03 16:20 UTC (permalink / raw)
  To: Konrad WEIHMANN, openembedded-core; +Cc: steve


On 11/3/22 09:49, Konrad WEIHMANN wrote:
> so what's the conclusion? I would be okay to add a var like 
> SPDX_SHARED_SOURCE (default WORKDIR) or something and reference this 
> as a default - when using a weak default ppl could override that to 
> their needs...


Ya, I think what you have is fine with a minor change; the limitations 
of not handling non-kernel shared source very well isn't changing. I did 
leave a minor comment in github, but otherwise LGTM


>
> Would that be something that would work?
> ------------------------------------------------------------------------
> *From:* Joshua Watt <jpewhacker@gmail.com>
> *Sent:* Thursday, November 3, 2022 3:28 PM
> *To:* Konrad WEIHMANN <kweihmann@witekio.com>; 
> openembedded-core@lists.openembedded.org 
> <openembedded-core@lists.openembedded.org>
> *Cc:* steve@sakoman.com <steve@sakoman.com>
> *Subject:* Re: [OE-core] [PATCH 0/1] create-spdx: default share_src 
> for shared sources
> I see the problem, but I'm not quite sure this is the correct solution.
> It *does* fix the problem for exact recipe that provides the source code
> (e.g. the llvm-sources recipe), but I don't think it will correctly pick
> up the sources for anything that actually uses that shared source code
> (e.g. clang); this isn't necessarily a problem in your patch however, I
> think it's actually a problem with any non-kernel recipes.
>
>
> On 11/3/22 09:15, Konrad WEIHMANN via lists.openembedded.org wrote:
> > https://github.com/witekio-kwe/poky spdx-fix
>
> Witekio GmbH is registered in Frankfurt. Registered office: Am 
> Wartfeld 7 - 61169 Friedberg. Registered company number: HRB 95432. 
> VAT number DE287400071
> This message contains confidential information and is intended only 
> for the individual(s) addressed in the message. If you aren't the 
> named addressee, you should not disseminate, distribute, or copy this 
> e-mail.
>
> We continuously commit to comply with the applicable data protection 
> laws and ensure fair and transparent processing of your personal data. 
> Please read our privacy statement including an information notice and 
> data protection policy for detailed information on our website.
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH 0/1] create-spdx: default share_src for shared sources
  2022-11-03 16:20     ` Joshua Watt
@ 2022-11-03 17:40       ` Joshua Watt
  0 siblings, 0 replies; 4+ messages in thread
From: Joshua Watt @ 2022-11-03 17:40 UTC (permalink / raw)
  To: Konrad WEIHMANN, openembedded-core; +Cc: steve


On 11/3/22 11:20, Joshua Watt wrote:
>
> On 11/3/22 09:49, Konrad WEIHMANN wrote:
>> so what's the conclusion? I would be okay to add a var like 
>> SPDX_SHARED_SOURCE (default WORKDIR) or something and reference this 
>> as a default - when using a weak default ppl could override that to 
>> their needs...
>
>
> Ya, I think what you have is fine with a minor change; the limitations 
> of not handling non-kernel shared source very well isn't changing. I 
> did leave a minor comment in github, but otherwise LGTM

Per discussion on GitHub, this is fine to merge as is. Thanks

>
>
>>
>> Would that be something that would work?
>> ------------------------------------------------------------------------
>> *From:* Joshua Watt <jpewhacker@gmail.com>
>> *Sent:* Thursday, November 3, 2022 3:28 PM
>> *To:* Konrad WEIHMANN <kweihmann@witekio.com>; 
>> openembedded-core@lists.openembedded.org 
>> <openembedded-core@lists.openembedded.org>
>> *Cc:* steve@sakoman.com <steve@sakoman.com>
>> *Subject:* Re: [OE-core] [PATCH 0/1] create-spdx: default share_src 
>> for shared sources
>> I see the problem, but I'm not quite sure this is the correct solution.
>> It *does* fix the problem for exact recipe that provides the source code
>> (e.g. the llvm-sources recipe), but I don't think it will correctly pick
>> up the sources for anything that actually uses that shared source code
>> (e.g. clang); this isn't necessarily a problem in your patch however, I
>> think it's actually a problem with any non-kernel recipes.
>>
>>
>> On 11/3/22 09:15, Konrad WEIHMANN via lists.openembedded.org wrote:
>> > https://github.com/witekio-kwe/poky spdx-fix
>>
>> Witekio GmbH is registered in Frankfurt. Registered office: Am 
>> Wartfeld 7 - 61169 Friedberg. Registered company number: HRB 95432. 
>> VAT number DE287400071
>> This message contains confidential information and is intended only 
>> for the individual(s) addressed in the message. If you aren't the 
>> named addressee, you should not disseminate, distribute, or copy this 
>> e-mail.
>>
>> We continuously commit to comply with the applicable data protection 
>> laws and ensure fair and transparent processing of your personal 
>> data. Please read our privacy statement including an information 
>> notice and data protection policy for detailed information on our 
>> website.
>>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-03 17:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-03 14:15 [PATCH 0/1] create-spdx: default share_src for shared sources Konrad WEIHMANN
2022-11-03 14:28 ` [OE-core] " Joshua Watt
     [not found]   ` <AM8P192MB09632ED64CA52FB9CA30C13CA3389@AM8P192MB0963.EURP192.PROD.OUTLOOK.COM>
2022-11-03 16:20     ` Joshua Watt
2022-11-03 17:40       ` Joshua Watt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.