aboutcode-org / aboutcode-org/vulnerablecode

Failing to import Github OSV

Abierto
#1,694 0 comentarios 0 reacciones 1 asignado Reclamado por @ziadhany Ver en GitHub
Lenguaje dominante
Python
Estrellas
702
Forks
328
Merge medio
3 d 8 h
PR fusionados (30 d)
3

Descripción

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...

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.