Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to convert between SPDX Spec versions #146

Open
goneall opened this issue Nov 3, 2023 · 1 comment
Open

Add option to convert between SPDX Spec versions #146

goneall opened this issue Nov 3, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@goneall
Copy link
Member

goneall commented Nov 3, 2023

The underlying library supports converting between versions if you specify the version when creating the new SPDX document.

Unfortunately, there is no command line option to support this.

There are a couple possibilities:

  • Add a new comment like "upgradeSpdxDocument" which will take the new version as a noption
  • Add a --version option to the SPDX translator which will use the new version for the translated file

Note that the library only support upgrades, not downgrades.

@goneall goneall added the enhancement New feature or request label Nov 3, 2023
@vargenau
Copy link
Contributor

I would prefer to have the option named --spdxversion.

The --version option should return the version of tools-java. In most tools, the --version option returns the version of the tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants