scancode-toolkit icon indicating copy to clipboard operation
scancode-toolkit copied to clipboard

Build a license index with a subset of licenses

Open armijnhemel opened this issue 6 months ago • 5 comments

Short Description

Add the possibility to add the license index with a subset of licenses.

Possible Labels

  • new feature

Select Category

  • [X] Enhancement
  • [ ] Add License/Copyright
  • [ ] Scan Feature
  • [ ] Packaging
  • [ ] Documentation
  • [ ] Expand Support
  • [ ] Other

Describe the Update

It might be good to be able to build an index with a subset of licenses. One use case would be to test rules of a certain category, by excluding other categories (for example, excluding all 2-aho rules). Another use case would be to exclude licenses for memory constraints, or to be able to do a big sweep for optimization purposes.

How This Feature will help you/your organization

I don't know yet.

Possible Solution/Implementation Details

Pass a configuration file where I can either exclude individual files or entire categories to the reindexing script.

Example/Links if Any

Can you help with this Feature

armijnhemel avatar May 22 '25 10:05 armijnhemel