-
Notifications
You must be signed in to change notification settings - Fork 186
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
Create an extension for scancode #474
Comments
This requires a new class called |
Decided to pull the basic plugin creation part into Release 1.0.0 but do the data formatting in the next release. |
Scancode's pip package that supports python3 has some issues with it: aboutcode-org/scancode-toolkit#1780 |
scancode-toolkit is a python project that does file level scanning for licenses. This change introduces an extension for this tool. At the time of this change, scancode's pip package was not installing due to a missing dependency. While the project figures out a fix, we will assume that we are working from the root of the git repo within a python3 virtual environment. Once the fix is in, we will assume that we are using the python3 pip package. The executor just runs the appropriate cli command to get licenses, packages, copyright info and project urls in a pure json object that gets stored in each ImageLayer object's analyzed_output property. We then parse the json object and print out the file paths that have a list of licenses associated with them. This implementation puts in place the extension without filling in the required metadata so reporting and multiple formats are not supported here. Resolves tern-tools#474 Signed-off-by: Nisha K <[email protected]>
scancode-toolkit is a python project that does file level scanning for licenses. This change introduces an extension for this tool. At the time of this change, scancode's pip package was not installing due to a missing dependency. While the project figures out a fix, we will assume that we are working from the root of the git repo within a python3 virtual environment. Once the fix is in, we will assume that we are using the python3 pip package. The executor just runs the appropriate cli command to get licenses, packages, copyright info and project urls in a pure json object that gets stored in each ImageLayer object's analyzed_output property. We then parse the json object and print out the file paths that have a list of licenses associated with them. This implementation puts in place the extension without filling in the required metadata so reporting and multiple formats are not supported here. Resolves #474 Signed-off-by: Nisha K <[email protected]>
scancode-toolkit is a python project that does file level scanning for licenses. This change introduces an extension for this tool. At the time of this change, scancode's pip package was not installing due to a missing dependency. While the project figures out a fix, we will assume that we are working from the root of the git repo within a python3 virtual environment. Once the fix is in, we will assume that we are using the python3 pip package. The executor just runs the appropriate cli command to get licenses, packages, copyright info and project urls in a pure json object that gets stored in each ImageLayer object's analyzed_output property. We then parse the json object and print out the file paths that have a list of licenses associated with them. This implementation puts in place the extension without filling in the required metadata so reporting and multiple formats are not supported here. Resolves tern-tools#474 Signed-off-by: Nisha K <[email protected]>
Description
Create an extension for scancode: https://github.com/nexB/scancode-toolkit
To Do
analyzed_output
propertySuper Issues
#284
The text was updated successfully, but these errors were encountered: