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
Currently, the library only supports SPDX 2.3.
The idea of this issue is to implement an MVP for supporting SPDX 3 (i.e. not feature complete, but all necessary features to create a valid SPDX 3 document, that contains packages and relationships).
To do that, the following steps are necessary (could be extracted into separate issues):
Create classes in spdx3model. The classes should have constructors that takes the required arguments and an object for all optional properties, described by an interface. Consider if there are properties for which we can assume default values.
Add spdx3-documents to the api. The api methods should take as few required arguments as possible and take all remaining optional arguments in an object. Add an interfaces for all optional parameters. Add static methods fromApi to the classes in spdx3model to enable conversion from the api.
Add SPDX3 classes to the json converter. The classes should have static methods from... that can be used to convert from spdx3model to Json objects.
Extend documentation and readme
Consider how the different types (e.g. SPDXDocument) are used and exported from spdx-tools.ts.
When using the library (like for example in the Yarn and the Rollup plugin), it should be possible to use both, SPDX2Document and SPDX3Document. So, they should be both exported.
The text was updated successfully, but these errors were encountered:
Currently, the library only supports SPDX 2.3.
The idea of this issue is to implement an MVP for supporting SPDX 3 (i.e. not feature complete, but all necessary features to create a valid SPDX 3 document, that contains packages and relationships).
To do that, the following steps are necessary (could be extracted into separate issues):
Consider how the different types (e.g. SPDXDocument) are used and exported from
spdx-tools.ts
.When using the library (like for example in the Yarn and the Rollup plugin), it should be possible to use both, SPDX2Document and SPDX3Document. So, they should be both exported.
The text was updated successfully, but these errors were encountered: