aboutcode-org / aboutcode-org/scancode-toolkit

Add support for binary package references

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

描述

### Description
We already track the sources packages of a package. We would need to track the inverse relationship which would be the "binary" or "built" packages from a "source" package (such as a Git repo or an upstream tarball).

See https://github.com/nexB/scancode-toolkit/blob/450205506989607c8361b17e1bce0db63c9923b2/src/packagedcode/models.py#L465

This would be a new attribute with this definition:
```
binary_packages = List(
item_type=String,
label='List of related binary packages',
help='A list of related binary (or built or derived) Package URLs (aka. "purl") for '
'this package. For instance an RPM archive or an npm tarball is the "binary package" for a '
'binary SRPM or upstream GitHub repository.')
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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