You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(spdx): Only warn when the same LicenseIDs have different text (#2053)
A lot of packages that exist in Wolfi and Chainguard OS have the same
LicenseIDs but different license text. Until we've updated all
references across the OS to be unique when the text differs, only throw
a warning
Signed-off-by: RJ Sampson <rj.sampson@chainguard.dev>
returnfmt.Errorf("source & target LicenseID %s differ in Text; perhaps multiple versions of the package have different contents of files provided in license-path", targetinfo.LicenseID)
336
+
clog.FromContext(ctx).Warnf("source & target LicenseID %s differ in Text; please either update the package's license-path or use the correct LicenseID", targetinfo.LicenseID)
0 commit comments