๐ซ How to reach me:
- LinkedIn: henrik-sandklef
Simple validator of package SBoM
License: GNU General Public License v3.0
๐ซ How to reach me:
File not arg in all such methods
On page: https://pypi.org/project/spdx-validator/
You have both:
Which one is correct?
Currently checksum is not validated.
$ spdx-validator -sd . freetype-2.9.spdx.json
Traceback (most recent call last):
File "/home/hesa/.local/lib/python3.9/site-packages/spdx_validator/__main__.py", line 131, in main
data = validator.validate_file(file_name, args.recursive, discard_checksum = args.discard_checksum)
File "/home/hesa/.local/lib/python3.9/site-packages/spdx_validator/validator.py", line 118, in validate_file
raise SPDXValidationException("Could not open file: " + str(spdx_file))
spdx_validator.exception.SPDXValidationException: Could not open file: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/hesa/.local/bin/spdx-validator", line 33, in <module>
sys.exit(load_entry_point('spdx-validator==0.1', 'console_scripts', 'spdx-validator')())
File "/home/hesa/.local/lib/python3.9/site-packages/spdx_validator/__main__.py", line 137, in main
print("Failed validating: " + file_name, file=sys.stderr)
TypeError: can only concatenate str (not "NoneType") to str
Check an SBoM's all Relations for validity (recursively)
Currently spdx-validator looks for SPDX files in directories as supplied using --spdx-dir
.
By default it would make sense to look for files in the same directory as where the SPDX file to validate is located.
So for
spdx-validator release/freettype-2.09.spdx.json
then release/
will be added to directories where to look for related SPDX files.
When writing/updating the SPDX file it is somewhat tiresome to update the checksum (in the file) for every update
The policy report does not mention, include, meta data about the compat report. Think it should
$ spdx-validator --convert --format flict example-data/freetype-2.9.spdx.json -pp -r -sd example-data/
...
no implementation for flict
Would be nice to have spdx-validator spit out flict format. Then we can also validate licenses.
convert from one format (e.g. JSON) to another (e.g. YAML)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.