aboutcode-org / aboutcode-org/vulnerablecode

Failing to import Github OSV

Aberta
#1,694 0 comentários 0 reações 1 responsável Reivindicada por @ziadhany Ver no GitHub
Linguagem predominante
Python
Estrelas
702
Forks
328
Merge médio
3d 8h
PRs com merge (30d)
3

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.