Skip to content

Commit 7592ad1

Browse files
committed
feat: add check-advisories to check BRSA fields
Signed-off-by: Piyush Jena <[email protected]>
1 parent e970576 commit 7592ad1

File tree

15 files changed

+848
-0
lines changed

15 files changed

+848
-0
lines changed

Cargo.lock

Lines changed: 85 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ members = [
2020
"tools/testsys-config",
2121
"tools/unplug",
2222
"tools/update-metadata",
23+
"tools/advisory-checker",
2324

2425
"twoliter",
2526
"twoliter/src/tool-crates/*",
@@ -53,6 +54,7 @@ pre-build = [
5354
]
5455

5556
[workspace.dependencies]
57+
advisory-checker = { version = "0.1", path = "tools/advisory-checker", artifact = [ "bin:advisory-checker" ] }
5658
amispec = { version = "0.1", path = "tools/amispec" }
5759
bottlerocket-types = { version = "0.0.16", git = "https://github.com/bottlerocket-os/bottlerocket-test-system", tag = "v0.0.16" }
5860
bottlerocket-variant = { version = "0.1", path = "tools/bottlerocket-variant" }
@@ -75,6 +77,7 @@ testsys-config = { version = "0.1", path = "tools/testsys-config" }
7577
testsys-model = { version = "0.0.16", git = "https://github.com/bottlerocket-os/bottlerocket-test-system", tag = "v0.0.16" }
7678

7779
twoliter = { version = "0.15.1", path = "twoliter", artifact = [ "bin:twoliter" ] }
80+
twoliter-tool-advisory-checker = { version = "0.1", path = "twoliter/src/tool-crates/advisory-checker" }
7881
twoliter-tool-buildsys = { version = "0.1", path = "twoliter/src/tool-crates/buildsys" }
7982
twoliter-tool-embedded-bundle = { version = "0.1", path = "twoliter/src/tool-crates/embedded-bundle" }
8083
twoliter-tool-pipesys = { version = "0.1", path = "twoliter/src/tool-crates/pipesys" }
@@ -133,6 +136,7 @@ nix = "0.30"
133136
nonzero_ext = "0.3"
134137
num_cpus = "1"
135138
num-traits = "0.2"
139+
nutype = "0.6"
136140
once_cell = "1.21"
137141
olpc-cjson = "0.1"
138142
proc-macro2 = "1"

tests/integration-tests/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ libc.workspace = true
1111
lzma-rs.workspace = true
1212
once_cell.workspace = true
1313
rand.workspace = true
14+
regex.workspace = true
1415
reqwest.workspace = true
1516
serde.workspace = true
1617
serde_json.workspace = true
@@ -19,4 +20,5 @@ tempfile.workspace = true
1920
tokio = { workspace = true, features = ["fs", "process", "rt-multi-thread"] }
2021
toml.workspace = true
2122
twoliter = { workspace = true }
23+
advisory-checker = { workspace = true }
2224
which.workspace = true

0 commit comments

Comments
 (0)