aboutcode-org / aboutcode-org/python-inspector

Rename and refine top level attributes to align with SCTK

未关闭
#36 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
23
派生
28
PR 合并指标
30 天内没有已合并 PR

描述

- `headers` should be a list of mappings, not just a mapping to align with SCTK structures
- `requirements` could be renamed to `dependencies` because this is exactly how this is already named in ScanCode Toolkit
- in `resolved_dependencies`:
- `package` should be renamed to `purl` for consistency
- `wheel_urls` and `sdist_url` need some refinements:
- they could be merged in a single list and the attribute renamed to `download_urls`
- they could be renamed to `binary_download_urls` or `package_download_urls` for the wheels and `source_download_urls` (plural) for the sdist. This is in preparation of having other inspectors that should use the same data structures.
- the sub `dependencies` attributes may need a bit more thinking, as this may be best understood as `resolved_dependencies` (e.g. reusing the same name and having some sorts of nested data structure)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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