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
feat: Replace hardcoded SPDX enum with spdx-licenses gem for dynamic validation (#44)
The license/spdx annotation previously used a hardcoded enum of ~20 licenses,
requiring manual updates whenever a new SPDX ID appeared. Now uses the
spdx-licenses gem which provides the full canonical list of 500+ identifiers.
- Add spdx-licenses gem dependency
- Remove hardcoded enum from license/spdx annotation
- Replace KNOWN_SPDX set with SpdxLicenses.exist? calls in LicenseAnalyzer
- Add validator: option to Annotation class for custom validation lambdas
- Add SPDX_VALIDATOR on TechnologyArtifact to validate license values at lint time
- Add BUSL-1.1 as source-available category for risk assessment
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments