-
Notifications
You must be signed in to change notification settings - Fork 83
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
Use SCTK package_only
in inspect_packages pipeline
#1118
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AyanSinhaMahapatra What's the latest status on a SCTK release? Also, could you add a changelog entry for those changes?
@AyanSinhaMahapatra please provide context and changelog for those changes. |
* Split package/dependencies creation in a seperate step * Only create packages/dependencies from Assemblable PackageData Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Support the new only_packages attributes in scancode get_package_data API, to only scan for package data and skip license and copyright detection. Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
package_only
in inspect_packages pipeline
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1959835
to
1ebf507
Compare
@tdruez I've rebased the changes on the latest main, where we have the new SCTK release v32.1.0, and I've also added more context for the changes in PR description above and added a CHANGELOG entry, this is ready to review now. Thanks! |
Reference: #1087 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
8909dee
to
11b0b35
Compare
This PR adds the following changes in
inspect_packages
pipeline:package_only
attribute in theget_package_data
API which is equivalent to the new --package-only CLI option in SCTK. This is an optional attribute, which is set True, only scans package manifests for package data, and skips license and copyright detected on extracted license statements and copyrights, hence making this step faster.inspect_packages
pipeline introduced in Restructure pipelines for verbosity #1074:models.NonAssemblableDatafileHandler
(like autotools configure scripts for example: https://github.com/nexB/scancode-toolkit/blob/develop/src/packagedcode/build.py#L50C33-L50C68)