From ecffc5420a3e5b71f23f58d5944dff508b02a6f7 Mon Sep 17 00:00:00 2001 From: Akash Kumar Sah Date: Fri, 5 Jul 2024 16:33:48 +0530 Subject: [PATCH] chore(report): SPDX Expression week 5 report --- .../spdx-expression/updates/2024-06-25.md | 46 + .../SPDX2TV_Test19.zip_1720209488.spdx | 163 +++ .../SPDX2_Test19.zip_1720209507.spdx.rdf | 987 ++++++++++++++++++ 3 files changed, 1196 insertions(+) create mode 100644 docs/2024/spdx-expression/updates/2024-06-25.md create mode 100644 static/reports/SPDX2TV_Test19.zip_1720209488.spdx create mode 100644 static/reports/SPDX2_Test19.zip_1720209507.spdx.rdf diff --git a/docs/2024/spdx-expression/updates/2024-06-25.md b/docs/2024/spdx-expression/updates/2024-06-25.md new file mode 100644 index 000000000..8fc89ee02 --- /dev/null +++ b/docs/2024/spdx-expression/updates/2024-06-25.md @@ -0,0 +1,46 @@ +--- +title: Week 5 +author: Akash Sah +tags: [gsoc24, spdx-expression] +--- + + + +# Week 5 Meeting and Activities + +_(June 25, 2024)_ + +## Attendees: + +- [Akash Sah](https://github.com/Akashsah2003) +- [Gaurav Mishra](https://github.com/GMishx) +- [Shaheem Azmal M MD](https://github.com/shaheemazmalmmd) +- [Dearsh Oberoi](https://github.com/deo002) +- [Abhishek Kumar](https://github.com/abhi-kumar17871) + +## Discussions + +### Presentation of Report Generation + +- Presented my work on SPDX Tag Value and CSV reports, including license expression results in the reports. +- Feedback: There should be functionality for adding license expressions and main licenses. +- I have validated SPDX Tag Value reports using [SPDX online tools](https://tools.spdx.org/app/). +- Inquired about how to validate CSV formats. +- Next steps: Work on different formats. + +## Activities + +- Opened a WIP PR [feat(spdx-expression): License Expression Support](https://github.com/fossology/fossology/pull/2771). +- Solved some bugs found during the generation of SPDX Tag Value reports. +- Worked on SPDX RDF reports and successfully included license expression results in the reports and validated the reports. +- Added license exception support in the reports. +- Added an option to make a license expression the main license in the UI. + +## Sample Reports + +- [SPDX Tag Value Sample](/reports/SPDX2TV_Test19.zip_1720209488.spdx) +- [SPDX RDF Sample](/reports/SPDX2_Test19.zip_1720209507.spdx.rdf) \ No newline at end of file diff --git a/static/reports/SPDX2TV_Test19.zip_1720209488.spdx b/static/reports/SPDX2TV_Test19.zip_1720209488.spdx new file mode 100644 index 000000000..1a1744f56 --- /dev/null +++ b/static/reports/SPDX2TV_Test19.zip_1720209488.spdx @@ -0,0 +1,163 @@ +SPDXVersion: SPDX-2.3 +DataLicense: CC0-1.0 + +##------------------------- +## Document Information +##------------------------- + +DocumentNamespace: http://akash-HP-Pavilion-Laptop-15-eg2xxx/repo/SPDX2TV_Test19.zip_1720209488.spdx +DocumentName: /srv/fossology/repository/report +SPDXID: SPDXRef-DOCUMENT + +##------------------------- +## Creation Information +##------------------------- + +Creator: Tool: fossology- +Creator: Person: fossy (y) +CreatorComment: +This document was created using license information and a generator from Fossology. + +Created: 2024-07-05T19:58:08Z +LicenseListVersion: 3.22 + +##------------------------- +## Package Information +##------------------------- + + +PackageName: Test19.zip +PackageFileName: Test19.zip +SPDXID: SPDXRef-upload19 +PackageDownloadLocation: NOASSERTION +FilesAnalyzed: true +PackageVerificationCode: bcd3746b2210d8a18610b7af1567a42aaa8b7a8e +PackageChecksum: SHA1: bf9a0672e64c0557a25bef00bd6d3ba98412c1ae +PackageChecksum: SHA256: 600541c0dfa6782cd4c11ae5cde4948add0042ba06978ba05f29705c2a97ba5a +PackageChecksum: MD5: 919a09fa79c69c3d52197c8a7490192a +PackageLicenseConcluded: NOASSERTION +PackageLicenseDeclared: NOASSERTION +PackageLicenseComments: licenseInfoInFile determined by Scanners: + - nomos ("".db2422) + - monk ("".db2422) + - ojo ("".db2422) +PackageLicenseInfoFromFiles: NOASSERTION +PackageCopyrightText: NOASSERTION + +Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-upload19 + + +##-------------------------- +## File Information +##-------------------------- + +##File + +FileName: Test19.zip/Test17 +SPDXID: SPDXRef-item177 +FileChecksum: SHA1: c281d099fc10e31965a824f517e391a8e427bb7d +FileChecksum: SHA256: c1f3f53e3fa92008121471181f28793f6ba9f5a44cf0ed6e5b0440d6d3ca4d4e +FileChecksum: MD5: ce954c3f29246cba636cc1961886317d +LicenseConcluded: (MIT WITH Asterisk-exception) + +LicenseInfoInFile: BSD-2-Clause + +LicenseInfoInFile: MIT + +LicenseInfoInFile: LicenseRef-fossology-BSD + + +FileCopyrightText: NOASSERTION + +##File + +FileName: Test19.zip/Test7 +SPDXID: SPDXRef-item176 +FileChecksum: SHA1: 42a84366da049b32a08b7ea2b777a80ead5082ef +FileChecksum: SHA256: 939725c5a5ef56d792a724915a9937be89c65387fb0b714ed63a30c85e980cf0 +FileChecksum: MD5: 296c30f5a2c917761ce6aac04c0c059e +LicenseConcluded: (MIT AND (GPL-2.0-only OR BSD-3-Clause)) + +LicenseInfoInFile: AFL-1.1 + +LicenseInfoInFile: MIT + +LicenseInfoInFile: GPL-2.0-only + +LicenseInfoInFile: BSD-3-Clause + +LicenseInfoInFile: LicenseRef-fossology-Dual-license + +LicenseInfoInFile: LicenseRef-fossology-BSD + + +FileCopyrightText: NOASSERTION + +##File + +FileName: Test19.zip/Test18 +SPDXID: SPDXRef-item175 +FileChecksum: SHA1: 180aa02ae54254f8b122d1675a0854515372b1cb +FileChecksum: SHA256: dfc7a1880190025121db47d8f468d51a5490d46041e72799f535c544709a27ee +FileChecksum: MD5: 07608519d92f2fa6a053b1c67956eb09 +LicenseConcluded: (MIT AND (GPL-2.0-only OR BSD-2-Clause)) + +LicenseInfoInFile: BSD-2-Clause + +LicenseInfoInFile: MIT + +LicenseInfoInFile: GPL-2.0-only + +LicenseInfoInFile: LicenseRef-fossology-Dual-license + +LicenseInfoInFile: LicenseRef-fossology-BSD + + +FileCopyrightText: NOASSERTION + +##File + +FileName: Test19.zip/Test16.txt +SPDXID: SPDXRef-item174 +FileChecksum: SHA1: b0a628c1ac47ee2de6a03dafd18927eee240901b +FileChecksum: SHA256: 381ba9e8b7ef548bbb36e70f5a7615445f95fcd98c07bc906357a6a939f5c48f +FileChecksum: MD5: a04ef8df8807f9bf3d01d507cf87dd7c +LicenseConcluded: LicenseRef-newlc + + +FileCopyrightText: NOASSERTION + + + +##------------------------- +## License Information +##------------------------- + + +LicenseID: LicenseRef-fossology-BSD +LicenseName: BSD +ExtractedText: BSD is referenced without a version number. Please look up BSD in the License Admin to view the different versions. + + +LicenseID: LicenseRef-fossology-Dual-license +LicenseName: Dual-license +ExtractedText: Multi-licensing is the practice of distributing software under two or more different sets of terms and conditions. This may mean multiple different software licenses or sets of licenses. Prefixes may be used to indicate the number of licenses used, e.g. dual-licensed for software licensed under two different licenses. +When software is multi-licensed, recipients can choose which terms under which they want to use or distribute the software. The distributor may or may not apply a fee to either option. The two usual motivations for multi-licensing are license compatibility and market segregation based business models. + + +LicenseID: LicenseRef-newlc +LicenseName: LicenseRef-newlc +ExtractedText: License by OJO. + + + + + + + + + + + + + diff --git a/static/reports/SPDX2_Test19.zip_1720209507.spdx.rdf b/static/reports/SPDX2_Test19.zip_1720209507.spdx.rdf new file mode 100644 index 000000000..ab910adef --- /dev/null +++ b/static/reports/SPDX2_Test19.zip_1720209507.spdx.rdf @@ -0,0 +1,987 @@ + + + SPDX-2.3 + + + Creative Commons Zero v1.0 Universal + CC0-1.0 + + https://creativecommons.org/publicdomain/zero/1.0/legalcode + + + + + 3.22 + Person: fossy (y) + Organization: FOSSology + Tool: fossology- + 2024-07-05T19:58:27Z + + + /srv/fossology/repository/report + + This document was created using license information and a generator from Fossology. + + + + LicenseRef-fossology-BSD + BSD + + + + + + LicenseRef-fossology-Dual-license + Dual-license + + + + + + LicenseRef-newlc + LicenseRef-newlc + + + + + + + + + Test19.zip + Test19.zip + + + true + + + bcd3746b2210d8a18610b7af1567a42aaa8b7a8e + + + + + + bf9a0672e64c0557a25bef00bd6d3ba98412c1ae + + + + + + 600541c0dfa6782cd4c11ae5cde4948add0042ba06978ba05f29705c2a97ba5a + + + + + + 919a09fa79c69c3d52197c8a7490192a + + + + + + + + + Test19.zip/Test17 + + + + c281d099fc10e31965a824f517e391a8e427bb7d + + + + + + c1f3f53e3fa92008121471181f28793f6ba9f5a44cf0ed6e5b0440d6d3ca4d4e + + + + + + ce954c3f29246cba636cc1961886317d + + + + + + + MIT License + MIT + + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ]]> + https://opensource.org/licenses/MIT + + + + + + + Asterisk exception + Asterisk-exception + + https://github.com/asterisk/libpri/blob/7f91151e6bd10957c746c031c1f4a030e8146e9a/pri.c#L22 + + + + + + + + + BSD 2-Clause "Simplified" License + BSD-2-Clause + + + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ]]> + https://opensource.org/licenses/BSD-2-Clause + + + + + + MIT License + MIT + + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ]]> + https://opensource.org/licenses/MIT + + + + + + + + + + + + Test19.zip/Test7 + + + + 42a84366da049b32a08b7ea2b777a80ead5082ef + + + + + + 939725c5a5ef56d792a724915a9937be89c65387fb0b714ed63a30c85e980cf0 + + + + + + 296c30f5a2c917761ce6aac04c0c059e + + + + + + + MIT License + MIT + + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ]]> + https://opensource.org/licenses/MIT + + + + + + + + + GNU General Public License v2.0 only + GPL-2.0-only + + https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html + + + + + + + BSD 3-Clause "New" or "Revised" License + BSD-3-Clause + . + + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ]]> + https://opensource.org/licenses/BSD-3-Clause + + + + + + + + + + + + + + Academic Free License v1.1 + AFL-1.1 + + http://opensource.linux-mirror.org/licenses/afl-1.1.txt + + + + + + + + + GNU General Public License v2.0 only + GPL-2.0-only + + https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html + + + + + + BSD 3-Clause "New" or "Revised" License + BSD-3-Clause + . + + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ]]> + https://opensource.org/licenses/BSD-3-Clause + + + + + + + + + + + + + + Test19.zip/Test18 + + + + 180aa02ae54254f8b122d1675a0854515372b1cb + + + + + + dfc7a1880190025121db47d8f468d51a5490d46041e72799f535c544709a27ee + + + + + + 07608519d92f2fa6a053b1c67956eb09 + + + + + + + MIT License + MIT + + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ]]> + https://opensource.org/licenses/MIT + + + + + + + + + GNU General Public License v2.0 only + GPL-2.0-only + + https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html + + + + + + + BSD 2-Clause "Simplified" License + BSD-2-Clause + + + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ]]> + https://opensource.org/licenses/BSD-2-Clause + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Test19.zip/Test16.txt + + + + b0a628c1ac47ee2de6a03dafd18927eee240901b + + + + + + 381ba9e8b7ef548bbb36e70f5a7615445f95fcd98c07bc906357a6a939f5c48f + + + + + + a04ef8df8807f9bf3d01d507cf87dd7c + + + + + + + + + + + + + + +