aboutcode-org / aboutcode-org/scancode-toolkit

make referenced_filenames required phrases

Open
#4,963 3 comments 1 reaction 0 assignees View on GitHub
new feature
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

## Short Description

It seems that the `referenced_filenames` are ignored by the license scan, while these should be required phrases.

## Possible Labels

- new feature

## Select Category

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

## **Describe the Update**

Currently `referenced_filenames` from .RULE files seem to be ignored by the license scanner, while these should be required phrases. An example of a rule where this is going wrong is #4949.

## **How This Feature will help you/your organization**

It would mean fewer false positives

## **Possible Solution/Implementation Details**

Treat `referenced_filenames` as required phrases.

## **Example/Links if Any**

## **Can you help with this Feature**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.