aboutcode-org / aboutcode-org/scancode.io

`run` command does not support all scancode.io outputs

Đang mở
#1,980 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
215
Fork
203
Merge trung bình
4 ngày 8 giờ
Pull request đã merge (30 ngày)
6

Mô tả

### Discussed in https://github.com/aboutcode-org/scancode.io/discussions/1979

Originally posted by **FabianRolfMatthiasNoll** December 4, 2025
I was trying to use ORT also for our container image scanning when someone pointed out i could use scancode directly and then import
that into ORT. But im not getting really smart from the documentation. I want to use the docker container that is provided from scancode because that makes it easier for me.

```
docker run --rm
--user root
-v "$PWD":/codedrop
-v "/etc/ssl/certs/ca-certificates.crt":/etc/ssl/certs/ca-certificates.crt
/enterprise-docker-dev/aboutcode-org/scancode.io:latest
run analyse_docker_image docker: --project test --format ort-package-list
```

But if i do that its not detected as a valid option:
run run: error: argument --format: invalid choice: 'ort-package-list' (choose from json, spdx, cyclonedx, attribution).

What am i doing wrong.

See https://github.com/aboutcode-org/scancode.io/blob/main/scanpipe/management/commands/run.py#L62 here we do not support all scancode.io output formats (like ort-package-list).

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.