aboutcode-org / aboutcode-org/scancode-toolkit

add huggingface id to .LICENSE yaml frontmatter

未關閉
#4,954 17 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
new feature
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。