mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
a07bfe7dfa
- Create new metadata struct and type for python requirements. - Update parsing of python requirements to use python requirements metadata. - Remove extras and url from line. Add them to metadata instead. - Add unit test to test that extras are removed from package name. - Update test to look at requirements metadata. - Will need updated in future to support more than just == for the version constraint. - Update JSON schema data Closes anchore/grype#1246 Closes anchore/grype#1251 Signed-off-by: Shane Dell <shanedell100@gmail.com>
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 = "7.1.5"
|
|
)
|