aboutcode-org / aboutcode-org/vulnerablecode
Failing to import Github OSV
- 主要语言
- Python
- 星标
- 702
- 派生
- 328
- 平均合并
- 3 天 8 小时
- 30 天内合并 PR
- 3
描述
Importing data using vulnerabilities.importers.github_osv.GithubOSVImporter
git clone --filter=blob:none https://github.com/github/advisory-database/ /tmp/tmp0yyi9k6j/checkout exited with 128
Failed to fetch git+https://github.com/github/advisory-database/ via vcs: git clone --filter=blob:none https://github.com/github/advisory-database/ /tmp/tmp0yyi9k6j/checkout exited with 128
Traceback (most recent call last):
File "/app/vulnerabilities/importer.py", line 378, in clone
self.vcs_response = fetch_via_vcs(repo_url)
File "/usr/local/lib/python3.9/site-packages/fetchcode/vcs/__init__.py", line 68, in fetch_via_vcs
backend.obtain(dest=dest_dir, url=misc.hide_url(url), verbosity=1)
File "/usr/local/lib/python3.9/site-packages/fetchcode/vcs/pip/_internal/vcs/versioncontrol.py", line 502, in obtain
self.fetch_new(dest, url, rev_options, verbosity=verbosity)
File "/usr/local/lib/python3.9/site-packages/fetchcode/vcs/pip/_internal/vcs/git.py", line 277, in fetch_new
self.run_command(
File "/usr/local/lib/python3.9/site-packages/fetchcode/vcs/pip/_internal/vcs/versioncontrol.py", line 631, in run_command
return call_subprocess(
File "/usr/local/lib/python3.9/site-packages/fetchcode/vcs/pip/_internal/utils/subprocess.py", line 209, in call_subprocess
raise error
fetchcode.vcs.pip._internal.exceptions.InstallationSubprocessError: git clone --filter=blob:none https://github.com/github/advisory-database/ /tmp/tmp0yyi9k6j/checkout exited with 128
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/vulnerabilities/management/commands/import.py", line 70, in import_data
ImportRunner(importer).run()
File "/app/vulnerabilities/import_runner.py", line 61, in run
count = self.process_advisories(advisory_datas=advisory_datas, importer_name=importer_name)
File "/app/vulnerabilities/import_runner.py", line 101, in process_advisories
for data in advisory_datas:
File "/app/vulnerabilities/importers/github_osv.py", line 41, in advisory_data
self.clone(repo_url=self.repo_url)
File "/app/vulnerabilities/importer.py", line 383, in clone
raise ForkError(msg) from e
vulnerabilities.importer.ForkError: Failed to fetch git+https://github.com/github/advisory-database/ via vcs: git clone --filter=blob:none https://github.com/github/advisory-database/ /tmp/tmp0yyi9k6j/checkout exited with 128
Failed to run importer vulnerabilities.importers.github_osv.GithubOSVImporter. Continuing...
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。