aboutcode-org / aboutcode-org/scancode.io
Definitions for `DiscoveredPackage` and `DiscoverdDependency` are very different
- 主要語言
- Python
- 星號
- 215
- 分支
- 203
- 平均合併
- 4 天 8 小時
- 30 天內合併 PR
- 6
描述
Minor nitpick:
`DiscoveredPackage` used `uuid` field
https://github.com/nexB/scancode.io/blob/5f2cbae33c1ac7fa843fb4bddf9ab3f62fc831b2/scanpipe/models.py#L2534-L2536
`DiscoveredDependency` uses a `CharField`
https://github.com/nexB/scancode.io/blob/5f2cbae33c1ac7fa843fb4bddf9ab3f62fc831b2/scanpipe/models.py#L2837-L2840
---
We need to discuss the distinction between a `Package` and a `Dependency`.
1. When is a dependency not a package ?
2. All all packages dependency of the project being scanned currently
3. CycloneDX schema's [dependencies](https://cyclonedx.org/docs/1.5/json/#dependencies) are only a mapping from a component to a component, should we opt for a similar approach ?
貢獻指南
評估
這個 Issue 還沒有評估資料。