mirror of
https://github.com/anchore/syft
synced 2024-11-10 14:24:12 +00:00
42fa9e4965
this PR makes the following changes to update the underlying license model to have more expressive capabilities it also provides some guarantee's surrounding the license values themselves - Licenses are updated from string -> pkg.LicenseSet which contain pkg.License with the following fields: - original `Value` read by syft - If it's possible to construct licenses will always have a valid SPDX expression for downstream consumption - the above is run against a generated list of SPDX license ID to try and find the correct ID - SPDX concluded vs declared is added to the new struct - URL source for license is added to the new struct - Location source is added to the new struct to show where the expression was pulled from
10 lines
406 B
Go
10 lines
406 B
Go
package internal
|
|
|
|
const (
|
|
// ApplicationName is the non-capitalized name of the application (do not change this)
|
|
ApplicationName = "syft"
|
|
|
|
// JSONSchemaVersion is the current schema version output by the JSON encoder
|
|
// This is roughly following the "SchemaVer" guidelines for versioning the JSON schema. Please see schema/json/README.md for details on how to increment.
|
|
JSONSchemaVersion = "8.0.0"
|
|
)
|