Closed danielperna84 closed 1 year ago
@danielperna84 Thanks for reaching out.
I can see the error. I don't have a Centos system to hand at the moment but it worked on my Ubuntu system :-)
Will get an update done shortly and release a new version.
@danielperna84 Can you try version 0.2.1 (pip install distro2sbom --upgrade
)?
Yes, now it's working with -p bash
. Thanks. 👍
Hi.
While playing around with version
0.2.0
I got the following exception:The command used to generate this exception:
distro2sbom --distro rpm --name centos --release 7 --sbom cyclonedx -o sbom.json --format json -p bash
The enviroment is a Docker container (quay.io/centos7/python-38-centos7)
I don't get the exception if I instead use
-i packages.txt
. However in this case there is no license information in the resulting file (even when switching the SBOM format to spdx). Which I think might be another issue.My assumption is, that distrobuilder.py contains changes (the
license
attribute, along with the associated methods to find licenses), which weren't included in the commits related to version0.2.0
.