Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

SPDX relationship data

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
backend

Research direction

Start by reviewing pull request #6 and the SPDX parsing path that currently relies on the deprecated hasFiles field. Trace how relationship data is represented and traversed; done means associated files are reconstructed for SPDX documents generated by syft, with existing behavior preserved.

Written by the indexing model from the issue text.

Description

https://github.com/docker/go-imageinspect/pull/6 added support for finding associated files for packages.

However, this won't work with new SPDXs generated by syft, since the hasFiles field is deprecated. To get this same information we need to traverse all the relationship data to recreate this same view that we had before.

Dominant language
Go
Stars
15
Forks
5
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from docker/go-imageinspect

All issues in docker/go-imageinspect

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.