aboutcode-org / aboutcode-org/scancode-toolkit

add huggingface id to .LICENSE yaml frontmatter

Aperta
#4,954 17 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

Huggingface uses different descriptions than in SPDX or other places. Adding a huggingface id to the .LICENSE yaml frontmatter might make referencing things easier.

## Possible Labels

- new feature

## Select Category

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

## **Describe the Update**

Inspired by #4900 : huggingface calls this "apple-sample-code-license" (as seen when browsing the HuggingFace website for the project linked in #4900 ). This isn't the same name as used in SPDX or the ScanCode licensedb.

Just as there already is `spdx_license_key` it might make sense to add something like `huggingface_license_key`.

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

I think that the onslaught of licenses coming from huggingface in the near future will make this a useful feature.

## **Possible Solution/Implementation Details**

A good first start would be to add data from this list:

https://huggingface.co/docs/hub/repositories-licenses

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