You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JSON is not copatible with v2.2 spec - "packages" and "files" lists should be outside "documentDescribes" #184
I see a major gap between the the v2.2 spec and the current python-tool implementation of the JSON format.
In Yash-Varshney#9 discussion with @Yash-Varshney, @goneall have processed to add spec issue around it.
Python-tool (presently)
Java-tool (v2.2)
proposed
Spec
[MAJOR CHANGE] documentDescribes contains Package and Files
documentDescribes is only a list and packages and files another separate entity
Add spec issue
documentDescribes should only be the top-level package/file that the document describes, not the entire list - may need more research
Package is a dict
Package is a list in which there is dict ex. [{}]
Add spec issue
This is related to the documentDescribes difference
I think that we should align the python-tool as well, to complete the v2.2 support (formally declared as WIP now).
Do you guys agree?
Do you have any plans/roadmap of closing the v2.2 support gap?
Activity
dholth commentedon Nov 12, 2021
I am also having this issue. The json generated by tools-python does not validate against
spdx-schema.json.