Add option to convert between SPDX Spec versions
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 101
- Forks
- 46
- Avg merge
- 9h 43m
- Merged PRs (30d)
- 8
Description
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
--versionoption to the SPDX translator which will use the new version for the translated file
Note that the library only support upgrades, not downgrades.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the SPDX translator's command-line option handling and review how a new document version is passed to the underlying library. Decide between the proposed comment and --version approaches, then verify that an upgrade produces the requested SPDX version while respecting the library's lack of downgrade support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100