spdx / spdx/spdx-java-tagvalue-store

Support parsing snippets without the SnippetFromFileSPDXID

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.