On Tue, 2026-11-24 at 14:41 +0100, Lee Garrett wrote:
> Hi fellow Debianistas,
> 
> I'm asking for feedback about an issue I ran into trying to package 
> vault/api, 
> which is the remaining missing dependency to packages sops (#1154515).
> 
> The main repo at github.com/hashicorp/vault/ contains mostly non-free 
> software 
> (Business Source License), the go module in api/ however is MPL-2.0. If I'd 
> use 
> the standard packaging procedure and put the main branch into the "upstream" 
> branch in the packaging repo, we'd end up having non-free code in salsa. We 
> could ensure the source and binary packages are MPL-2.0 only by using 
> Files-Excluded in debian/copyright. But it feels risky since we're only one 
> mistake away from accidentally shipping a license violation in main.

This is still probably the best and easiest method. Note that you can do

Files-Excluded: *
Files-Included: api

rather than naming every directory in Files-Excluded.

--
Maytham

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to