spdx / spdx/spdx-java-tagvalue-store
Support parsing snippets without the SnippetFromFileSPDXID
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3
- Forks
- 1
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 3
Description
The SPDX spec is ambiguous with respect to if the SnippetFromFileSPDXID is required for snippets or if a snippet immediately following a file is assumed to belong to that file (see SPDX Spec issue #651).
The tag/value parser could be enhanced to associate the snippet with the immediately preceeding SPDX file if the SnippetFromFileSPDXID is not present.
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 by locating the tag/value parser and its handling of snippets, then inspect how the immediately preceding SPDX file is tracked. Check existing parser tests, if present, and add coverage showing the intended association when SnippetFromFileSPDXID is absent; done means such snippets parse successfully without changing explicit associations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100