Hi Oliver,
Looks like a good candidate for adding this to the examples repository <https://github.com/spdx/spdx-examples> . I opened issue #79 <https://github.com/spdx/spdx-examples/issues/79> to track the request. We could add just the SPDX file, but it would be nice if we had some source files to use in the example as well - if you happen to have a good open source example, could you attach or reference that in the issue? I'm just about to head out on a 10 day vacation, so it may be a while before I can generate the associated SPDX file, but I will take a look at it when I get back. Best, Gary From: Spdx-tech@lists.spdx.org <Spdx-tech@lists.spdx.org> On Behalf Of Oliver Fendt via lists.spdx.org Sent: Thursday, May 2, 2024 11:45 AM To: Gary O'Neall <g...@sourceauditor.com>; spdx-tech@lists.spdx.org Subject: Re: [spdx-tech] easy and simple way to express licenses in subdirectories Hi Gary, thanks a lot. Can you please give me an example with a valid syntax in tag value, if possible? Ciao Oliver Von: Gary O'Neall <g...@sourceauditor.com <mailto:g...@sourceauditor.com> > Gesendet: Donnerstag, 2. Mai 2024 20:38 An: Fendt, Oliver (T SSP) <oliver.fe...@siemens.com <mailto:oliver.fe...@siemens.com> >; spdx-tech@lists.spdx.org <mailto:spdx-tech@lists.spdx.org> Betreff: RE: [spdx-tech] easy and simple way to express licenses in subdirectories Hi Oliver, In SPDX, you can use the SPDX Package to represent a subdirectory of files within a larger package. In your scenario, one approach would be to create an SPDX package - if it doesn't have a logical name, you could call it something like "C licensed files" with a declared license of C. Then use the "contains" relationship from the parent package to the subdirectory. Let me know if you need more context / description. Best, Gary From: Spdx-tech@lists.spdx.org <mailto:Spdx-tech@lists.spdx.org> <Spdx-tech@lists.spdx.org <mailto:Spdx-tech@lists.spdx.org> > On Behalf Of Oliver Fendt via lists.spdx.org Sent: Thursday, May 2, 2024 12:48 AM To: spdx-tech@lists.spdx.org <mailto:spdx-tech@lists.spdx.org> Subject: [spdx-tech] easy and simple way to express licenses in subdirectories Dear Folks, I have a simple question and I am wondering whether you can help me. Sometimes you find in a package (lets assume the declared license is A) in some subdirectory (lets assume SUB-DIR-X) a README file with the following wording: "the files in this directory are licensed under license C", but none of the files in this directory contain any license information and do not contain any reference to the README file in this directory. Is there an easy and simple way to express this in spdx 2.3 and in spdx 3.0 (but 2.3 is currently more important) Thank you very much Ciao Oliver -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5625): https://lists.spdx.org/g/Spdx-tech/message/5625 Mute This Topic: https://lists.spdx.org/mt/105858877/21656 Group Owner: spdx-tech+ow...@lists.spdx.org Unsubscribe: https://lists.spdx.org/g/Spdx-tech/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-