Skip to content

feat: allow subpackage copyright metadata#2500

Open
officialasishkumar wants to merge 1 commit into
chainguard-dev:mainfrom
officialasishkumar:feat/subpackage-copyright
Open

feat: allow subpackage copyright metadata#2500
officialasishkumar wants to merge 1 commit into
chainguard-dev:mainfrom
officialasishkumar:feat/subpackage-copyright

Conversation

@officialasishkumar

Copy link
Copy Markdown

Melange Pull Request Template

Functional Changes

  • This change can build all of Wolfi without errors (describe results in notes)

Notes:
Adds subpackage-level copyright metadata support so subpackages can declare distinct licenses. When a subpackage does not define copyright metadata, package emission and SPDX generation continue to use the origin package metadata. This closes #1007.

Validation:

  • go test ./pkg/config ./pkg/build ./pkg/build/sbom/spdx
  • go test ./...

Wolfi-wide build was not run locally.

SCA Changes

  • Examining several representative APKs show no regression / the desired effect (details in notes)

Notes:
Not an SCA behavior change.

Linter

  • The new check is clean across Wolfi
  • The new check is opt-in or a warning

Notes:
Not a linter change.

@officialasishkumar officialasishkumar force-pushed the feat/subpackage-copyright branch from e328619 to dc9d11c Compare April 23, 2026 20:47
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
@officialasishkumar officialasishkumar force-pushed the feat/subpackage-copyright branch from dc9d11c to 34203ee Compare April 23, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow copyright/license in subpackages

1 participant