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

Compute summary and clarity for EACH package in a codebase #3287

Open
pombredanne opened this issue Mar 13, 2023 · 2 comments
Open

Compute summary and clarity for EACH package in a codebase #3287

pombredanne opened this issue Mar 13, 2023 · 2 comments

Comments

@pombredanne
Copy link
Member

Today the summary and license clarity scores are computed for the whole scan. Instead we should compute them for EACH package (and their files). This is possible now that we are returning which file belong to a package,

@pombredanne
Copy link
Member Author

This new feature would serve also aboutcode-org/scancode.io#86 and may be aboutcode-org/scancode.io#631

One of the main usage is that we have cases where the package manifest are missing key metadata such as license or copyright as well as various URLs. Yet this information may exists in a package key files and this would be a mjor improvement to collect this data smartly.

Since we can now properly detect which file belong to a package, we can therefore compute a summary of these files the same way we can compute a codebase summary with the --summary option

This new feature could add a new --package-summary option as a post scan plugin that would depend on the availability or behave based on the availability of the license and copyright scan, as well the --classify option. This should not replace the --summary but should instead share most of the code.

@pombredanne
Copy link
Member Author

See also the related #3290

swastkk added a commit to swastkk/scancode-toolkit that referenced this issue Jul 14, 2024
swastkk added a commit to swastkk/scancode-toolkit that referenced this issue Jul 14, 2024
…e get_field_values_from_resources aboutcode-org#3287 aboutcode-org#1395

Signed-off-by: swastik <swastkk@gmail.com>
swastkk added a commit to swastkk/scancode-toolkit that referenced this issue Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants