aboutcode-org / aboutcode-org/scancode-toolkit

Add aboutcode bug id to YAML front-matter for rules

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

描述

## Short Description

## Possible Labels

- new feature

## Select Category

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

## **Describe the Update**

I think it would be good to add an extra field "aboutcode-issue" or "issue" or something like that in the YAML frontmatter for the rules in the directory `src/licensedcode/data/rules` if there is a related issue in the issue tracker that might contain the discussion. Something similar can be done for `.LICENSE` files.

Example: #5067 which I added to the PR in #5098

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

It makes it easier to track the history of `.RULE` files.

## **Possible Solution/Implementation Details**

An extra field in the YAML frontmatter for `.RULE` and `.LICENSE` files.

## **Example/Links if Any**

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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