aboutcode-org / aboutcode-org/scancode-toolkit

add huggingface id to .LICENSE yaml frontmatter

Ouverte
#4,954 17 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
new feature
Langage dominant
Python
Étoiles
2.6k
Forks
791
Merge moyen
1 j 12 h
PR mergées (30 j)
5

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.