Skip to content

Commit b7c6487

Browse files
authored
Streamline License list command report output and provide more per-license, column data (#83)
* Support a Component list/report command with Signed-off-by: Matt Rutkowski <[email protected]> * Adjust command help and usage text Signed-off-by: Matt Rutkowski <[email protected]> * Support sorting BOM metadata by lifecycle enum. type Signed-off-by: Matt Rutkowski <[email protected]> * Support sorting BOM Composition data Signed-off-by: Matt Rutkowski <[email protected]> * Remove json files that contained license test data that confused GitHub Signed-off-by: Matt Rutkowski <[email protected]> * Remove json files that contained license test data that confused GitHub Signed-off-by: Matt Rutkowski <[email protected]> * Update license list command to use uniform column handling Signed-off-by: Matt Rutkowski <[email protected]> * Update license policy list command to use uniform column handling Signed-off-by: Matt Rutkowski <[email protected]> * Attempt to update to latest lint checker action to remove CI errors Signed-off-by: Matt Rutkowski <[email protected]> * Remove unused function createTitleTextSeparators() Signed-off-by: Matt Rutkowski <[email protected]> * Assure all report commands use same constructors for futre flexibility Signed-off-by: Matt Rutkowski <[email protected]> * Assure all report commands use same constructors for futre flexibility Signed-off-by: Matt Rutkowski <[email protected]> * Standardize how report commands create markdown title & alignment rows Signed-off-by: Matt Rutkowski <[email protected]> * Update Schema command to use standarized title/line generation Signed-off-by: Matt Rutkowski <[email protected]> * Fix cut-paste error on error message Signed-off-by: Matt Rutkowski <[email protected]> * Consolidate License list command default and --summary processing Signed-off-by: Matt Rutkowski <[email protected]> * Consolidate License list command default and --summary processing Signed-off-by: Matt Rutkowski <[email protected]> * Consolidate License list command default and --summary processing Signed-off-by: Matt Rutkowski <[email protected]> * Streamline license list command for all formats full & summary options Signed-off-by: Matt Rutkowski <[email protected]> * Streamline license list command for all formats full & summary options Signed-off-by: Matt Rutkowski <[email protected]> * Support ResourceInfo as an embedded struct in ComponentInfo Signed-off-by: Matt Rutkowski <[email protected]> * Remove deprecated markdown formatting function Signed-off-by: Matt Rutkowski <[email protected]> * Fix linting issues Signed-off-by: Matt Rutkowski <[email protected]> * Support specific component and service resource abstractions Signed-off-by: Matt Rutkowski <[email protected]> --------- Signed-off-by: Matt Rutkowski <[email protected]>
1 parent 6064e7c commit b7c6487

40 files changed

+2361
-16519
lines changed

.github/workflows/golangci-lint.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@ jobs:
1818
name: lint
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
22-
- uses: actions/setup-go@v4
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-go@v5
2323
with:
2424
go-version: '1.21'
2525
#cache: false
2626
- name: golangci-lint
27-
uses: golangci/golangci-lint-action@v3
27+
uses: golangci/golangci-lint-action@v5
2828
with:
2929
# Optional: golangci-lint command line arguments.
3030
args: -D errcheck
31+
# Optional: if set to true, caches will not be saved, but they may still be restored,
32+
# subject to other options
33+
# skip-save-cache: true

.vscode/settings.json

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
"NTIA",
8686
"Nyffenegger",
8787
"OBOM",
88+
"Omnibor",
8889
"oneof",
8990
"OPENCHAIN",
9091
"opensource",
@@ -118,6 +119,7 @@
118119
"startswith",
119120
"staticcheck",
120121
"structs",
122+
"Swhid",
121123
"swid",
122124
"tablewriter",
123125
"Tracef",

0 commit comments

Comments
 (0)