Skip to content

Commit

Permalink
Add support for dependency relationships for alpine (apk) (#1063)
Browse files Browse the repository at this point in the history
* Fix type of pull deps and add support for provides

Signed-off-by: Dan Luhring <[email protected]>

* [wip] apk dependency lookup

Signed-off-by: Alex Goodman <[email protected]>

* update whitespace for linter

Signed-off-by: Christopher Phillips <[email protected]>

* adjust test conditions

Signed-off-by: Timothy Gerla <[email protected]>

* fix TODOs and improve Provides parser

* run simports after main merge

Signed-off-by: Christopher Phillips <[email protected]>

* add tests to cover apk relationship parsing cases

Signed-off-by: Alex Goodman <[email protected]>

* generate JSON schema for breaking changes to apk metadata

Signed-off-by: Alex Goodman <[email protected]>

* update tests to account for additional dependencies

Signed-off-by: Alex Goodman <[email protected]>

* [wip] fix relationship encoding for cyclonedx

Signed-off-by: Alex Goodman <[email protected]>

* simplify package relationships that can be expressed

Signed-off-by: Alex Goodman <[email protected]>

Signed-off-by: Dan Luhring <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Timothy Gerla <[email protected]>
Co-authored-by: Alex Goodman <[email protected]>
Co-authored-by: Christopher Phillips <[email protected]>
Co-authored-by: Timothy Gerla <[email protected]>
  • Loading branch information
4 people authored Nov 9, 2022
1 parent e58d0ae commit 949cff1
Show file tree
Hide file tree
Showing 18 changed files with 2,625 additions and 145 deletions.
2 changes: 1 addition & 1 deletion internal/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ const (

// 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 = "5.1.0"
JSONSchemaVersion = "6.0.0"
)
2 changes: 1 addition & 1 deletion schema/json/schema-5.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1571,4 +1571,4 @@
"type": "object"
}
}
}
}
Loading

0 comments on commit 949cff1

Please sign in to comment.