aboutcode-org / aboutcode-org/vulnerablecode
Failing to import Github OSV
- Dominant language
- Python
- Stars
- 702
- Forks
- 328
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 3
Description
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...
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.