aboutcode-org / aboutcode-org/scancode-toolkit
Determine if a directory is a package root of sorts
未关闭
new feature
- 主要语言
- Python
- 星标
- 2.6k
- 派生
- 791
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 5
描述
Finding the root of a package is useful as it defines a point in a code tree where we can summarize things.
This is a complex topic. To help we can:
- look for patterns of key files (as identified with `is_key_file` by the FileClassifier plugin with --classify)
- look for package manifests, package and package-like data (where `package-like` is a new new TBD concept when we do not have a proper way to extract metadata) and the files they contain. This may not yield a root, but identifying a set of files that are for a package may be even better than getting a root.
贡献指南
评估
这个 Issue 还没有评估数据。