Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spdx-utils: Regenerate SPDX enums to update to license list version 3.14 #4344

Closed
wants to merge 1 commit into from

Conversation

tsteenbe
Copy link
Member

@tsteenbe tsteenbe commented Aug 9, 2021

Done by running "./gradlew :spdx-utils:generateSpdxEnums". For details
see https://github.com/spdx/license-list-XML/releases/tag/v3.14.

Signed-off-by: Thomas Steenbergen thomas.steenbergen@here.com

Done by running "./gradlew :spdx-utils:generateSpdxEnums". For details
see https://github.com/spdx/license-list-XML/releases/tag/v3.14.

Signed-off-by: Thomas Steenbergen <thomas.steenbergen@here.com>
@tsteenbe tsteenbe requested review from a team as code owners August 9, 2021 10:46
@fviernau
Copy link
Member

fviernau commented Aug 9, 2021

@tsteenbe have you checked whether generateSpdxLicenseExceptionEnum also has some updates?

@@ -10,343 +10,3 @@ PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
Street, Fifth Floor, Boston, MA 02110-1301, USA.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The (CI) test fails due to the changes in this file. @tsteenbe can you confirm the changes in this file are good?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fviernau Then it must be some logic on our side as https://github.com/spdx/license-list-XML/blob/v3.14/src/GPL-2.0-or-later.xml has not changed since July 4th 2019.

Copy link
Member

@fviernau fviernau Aug 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't aware that ORT actually fetches the license texts for the SPDX licenses from ScanCode. In particular this license is fetched from the file licenses/scancode-toolkit/gpl-2.0-plus.LICENSE. A recent change in ORT aligned the version of the imported scancode resources with the version of ScanCode used in ORT [2]. So, as of [2] the license texts are not fetched anymore from ScanCode's develop branch, but from tag 3.2.1rc2.
This explains the downgrade of the license text observed here.

That's the situation - the question now is whether it is good as is...?
I'm fine with merging this PR as-is. I'm curious whether you @oss-review-toolkit/core-devs agree?!
Does anyone call the reason why SPDX texts are imported from ScanCode instead of from the SPDX license list repository?

[1] aboutcode-org/scancode-toolkit@cdda9c0#diff-db221c21b7d27dbf84985089c9702a5092ba5fcb9db519dbe7e86f51e0daea49
[2] ded4f20

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does anyone call the reason why SPDX texts are imported from ScanCode instead of from the SPDX license list repository?

IIRC the license text formatting in the SPDX list was severely broken, and so we preferred to fetch from ScanCode instead. However, that issue seems to have been fixed by now.

So I guess what we should do is: Yes, align ScanCode version and ScanCode-specific license texts, but get SPDX license texts from the SPDX list only.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sschuberth . Your proposal makes sense to me.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd propose then to do the "fetch SPDX license texts from SPDX list only" change as a separate commit (or even separate PR) to better see the impact of that change only on the formatting of license texts, to verify the formatting really is not broken anymore.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tried this when working on #4523 but the license texts provided by SPDX are still badly formatted so we decided to stick with the ScanCode texts for now.

@mnonnenmacher
Copy link
Member

This update will be done as part of #4523.

@mnonnenmacher mnonnenmacher deleted the update-spdx-license-list-3.14 branch November 5, 2021 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants