aboutcode-org / aboutcode-org/scancode-toolkit

Include better debug diagnostics

未关闭
#4,952 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
new feature
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

## Short Description

I am trying to find out why certain rules are not applying correctly. The current license diagnostics are not sufficient for that. Although `--license-text-diagnostics` includes some information I would want to see more of the internal stuff, such as the internal representation of the rule that was matched (the cleaned up version).

## Possible Labels

- new feature

## Select Category

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

## **Describe the Update**

See short description.

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

I am seeing many matches that are incorrect, or slightly incorrect, even though it seems that the correct rules are present in scancode. I want to find out why these don't match, so existing rules can be tightened, or new rules can be added.

## **Possible Solution/Implementation Details**

I would like to see a feature where I can dump the internal representation of the license text that was matched. I am thinking of a representation of the license text, that has been cleaned up (whitespace, punctuation, and so on), so I can see what was matched against.

## **Example/Links if Any**

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。