aboutcode-org / aboutcode-org/scancode-toolkit

Add aboutcode bug id to YAML front-matter for rules

Aperta
#5,099 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
new feature
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

## 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**

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.