aboutcode-org / aboutcode-org/fetchcode
Package URL encoding should be dealt correctly
未关闭
- 主要语言
- HTML
- 星标
- 13
- 派生
- 24
- PR 合并指标
- 30 天内没有已合并 PR
描述
```
>>> from fetchcode import package
>>> list(package.info('pkg:npm/@babel/babel-runtime'))
Traceback (most recent call last):
File "", line 1, in
File "w421/fetchcode/src/fetchcode/package.py", line 117, in get_npm_data_from_purl
purl = PackageURL.from_string(purl)
File "w421/fetchcode/tmp/lib/python3.6/site-packages/packageurl/__init__.py", line 408, in from_string
'name component: {}'.format(repr(purl)))
ValueError: purl is missing the required name component: 'pkg:npm/@babel/babel-runtime'
```
fails...
but IMHO it should work
this works:
```
list(package.info('pkg:npm/%40babel/babel-runtime'))
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。