spdx-examples icon indicating copy to clipboard operation
spdx-examples copied to clipboard

Create build profile example-1

Open lumjjb opened this issue 1 year ago • 7 comments

took a stab at creating a build profile example, based on my understanding of the model and serialization.

@kestewart

lumjjb avatar Jul 05 '24 20:07 lumjjb

Waiting until the CI is updated, then we'll take a pass.

kestewart avatar Aug 20 '24 16:08 kestewart

@lumjjb - can you rebase and see if you can get it passing the validation. Once it is, we'll merge.

kestewart avatar Aug 20 '24 16:08 kestewart

Attached is an updated examples that almost passes validation using the 3.0.1 spec.

It passes my Java verification code (generated from the 3.0.1 schema), but doesn't pass the schema validation.

I'm not quite sure why it is failing the schema validation. Here's a link to the 3.0.1 schema I'm using for validation: https://spdx.github.io/spdx-spec/v3.0.1/rdf/schema.json

@JPEWdev - if you get a chance, can you try the attached on your validation tools and see if you get any insights. example1.json.txt

goneall avatar Sep 12 '24 14:09 goneall

I figured out the validation issues - attached is a JSON file that will pass with the 3.0.1 schema file: example1.json.txt

goneall avatar Sep 12 '24 20:09 goneall

The spdx-validate tool needs to be updated for 3.0.1, then validation should pass. I'll change that and publish it.

JPEWdev avatar Sep 24 '24 16:09 JPEWdev

spdx3-validate 0.0.4 is now supporting v3.0.1. We can try rerunning the validation.

bact avatar Oct 11 '24 03:10 bact

As there were changes in validation workflow/dependencies in April 2025 (and probably also after that), we may like to rerun the check to see if it pass now.

bact avatar Jul 22 '25 08:07 bact