aboutcode-org / scancode-toolkit

:mag: ScanCode detects licenses, copyrights, dependencies by "scanning code" ... to discover and inventory open source and third-party packages used in your code. Sponsored by NLnet project https://nlnet.nl/project/vulnerabilitydatabase, the Google Summer of Code, Azure credits, nexB and others generous sponsors!
https://github.com/aboutcode-org/scancode-toolkit/releases/
2.08k stars 537 forks source link

Excluding unnecessary files/docs #3282

Open Mohnaa opened 1 year ago

Mohnaa commented 1 year ago

Short Description

Excluding duplicate/ unnecessary files

Possible Labels

Select Category

Describe the Update

Analyzing and excluding unnecessary files/docs wich are not needed in the project.

How This Feature will help you/your organization

We can speed up the analysis by excluding the build output directory.

Possible Solution/Implementation Details

Excluding a specific file.

AyanSinhaMahapatra commented 1 year ago

@Mohnaa we have a --ignore feature to exclude specific files/directories by utilising glob pattern matching, see https://scancode-toolkit.readthedocs.io/en/stable/cli-reference/scan-options-pre.html?highlight=--ignore#ignore-option for more details.

Can you clarify if this is the same as the new feature you are proposing? Or can you describe the feature if you're asking for something else?