chainguard-dev / chainguard-dev/melange

Allow copyright/license in subpackages

Open
#1,007 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
628
Forks
179
Avg merge
14h 55m
Merged PRs (30d)
15

Description

While the APKBUILD allows one to set the license for subpackages (see e.g. APKBUILD for util-linux), melange does not allow that. Please make it possible. This is very interesting for packages that have distinct sets of software that might have incompatible licenses. Also see util-linux for that, which has "GPL-3.0-or-later (...) AND GPL-2.0-only" in its license list (which are incompatible but applicable to distinct software sets).

Contributor guide

No contributing guide indexed for this repository

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 reviewing the util-linux APKBUILD example referenced in the issue, then locate melange's handling of package and subpackage license metadata. Trace how subpackages are represented and validated. Done means subpackages can declare distinct license expressions, including the separate licenses described in the issue.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.