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
Files without an associated Package allowed by spec, but not supported in Document class #181
Despite this, the current Document class does not allow this. While it does have a deprecated 'files' property, that property setter requires that a Package object is provided (via the package property), and all files are associated to that package instead of just being part of the Document's file set per the spec.
In addition, it does not appear that the writer classes (at least the tag/value writer) support this notion either, as all File objects that are serialized are done so as part of a Package.
changed the title [-]Files without an associated Package allowed by spec, but not supported in Document[/-][+]Files without an associated Package allowed by spec, but not supported in Document class[/+]on Jul 17, 2021
@licquia, @kestewart, @pombredanne, et al., PR in-progress for this. Will also add Package rdf:hasFile support to parser, more tests, and utilize the unpackaged files capability to address RDF parser bug where all referencesFile Files get added to the last-listed Package*
Activity
[-]Files without an associated Package allowed by spec, but not supported in Document[/-][+]Files without an associated Package allowed by spec, but not supported in Document class[/+]bjamesv commentedon Jun 8, 2022
@licquia, @kestewart, @pombredanne, et al., PR in-progress for this. Will also add Package
rdf:hasFilesupport to parser, more tests, and utilize the unpackaged files capability to address RDF parser bug where allreferencesFileFiles get added to the last-listed Package*Aiming to have something, middle of next week.
*e.g.:
tools-python/spdx/parsers/tagvaluebuilders.py
Lines 1034 to 1046 in f5629c7
via (rdfbuilder extends agvaluebuilders.FileBuilder)
tools-python/spdx/parsers/rdf.py
Lines 1302 to 1315 in f5629c7