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

Upgrade ScanCode to 30.1.0 #4916

Merged
merged 2 commits into from
Jan 10, 2022
Merged

Upgrade ScanCode to 30.1.0 #4916

merged 2 commits into from
Jan 10, 2022

Conversation

mnonnenmacher
Copy link
Member

Upgrade the default ScanCode version to 30.1.0, see the commit messages for details.

@mnonnenmacher mnonnenmacher added release notes scanner About the scanner tool labels Jan 5, 2022
@@ -73,6 +73,19 @@ class ScanCodeResultParserTest : WordSpec({
}
}

"ScanCode 30 results" should {
Copy link
Member

Choose a reason for hiding this comment

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

This (and other test names) should probably consistently refer to either "30.1.0" or "30.*". Or maybe yet better, we should stop referring to the ScanCode version at all, and instead refer to the "output_format_version" written in the JSON, which current is at 1.0.0.

Copy link
Member Author

Choose a reason for hiding this comment

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

I have renamed the new tests, but the old test assets don't have an "output_format_version" so I have kept them as is.

Copy link
Member

Choose a reason for hiding this comment

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

the old test assets don't have an "output_format_version" so I have kept them as is.

That's because the "output_format_version" JSON property was just recently introduced, see aboutcode-org/scancode-toolkit#2653 (comment).

Align some formatting with the official Kotlin code style.

Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.io>
See [1] for all changes since version 3.2.1rc2.

[1]: https://github.com/nexB/scancode-toolkit/blob/develop/CHANGELOG.rst#3010---2021-09-25

Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.io>
@sschuberth
Copy link
Member

@tsteenbe please remember to also approve once you're fine with merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scanner About the scanner tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants