Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to scan single package using git input #1376

Open
pombredanne opened this issue Sep 4, 2024 · 1 comment
Open

Failed to scan single package using git input #1376

pombredanne opened this issue Sep 4, 2024 · 1 comment

Comments

@pombredanne
Copy link
Member

Using https://github.com/projectcalico/calico.git input I get this:

Run log

2024-09-04 09:54:08.47 Pipeline [scan_single_package] starting
2024-09-04 09:54:08.47 Step [download_missing_inputs] starting
2024-09-04 09:54:08.47 Fetching input from https://github.com/projectcalico/calico.git
2024-09-04 09:54:10.85 Step [download_missing_inputs] completed in 2 seconds
2024-09-04 09:54:10.86 Step [get_package_input] starting
2024-09-04 09:54:11.14 Pipeline failed

Task output

Only 1 input file supported

Traceback:
  File "/opt/scancodeio/scanpipe/pipelines/__init__.py", line 226, in execute
    step(self)
  File "/opt/scancodeio/scanpipe/pipelines/scan_single_package.py", line 76, in get_package_input
    raise Exception("Only 1 input file supported")


@VarshaUN
Copy link
Contributor

@pombredanne That is basically designed for single files You're providing a Git repository URL as input but The pipeline expects a single file as input, but a Git repository contains multiple files. Did you try with single file??
May I know how can i help you with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants