From 936d1fa1655737473cf975f315312ea9297593a8 Mon Sep 17 00:00:00 2001 From: Scott Patten Date: Thu, 21 Nov 2024 14:40:39 -0800 Subject: [PATCH 1/2] update the changelog (#1483) --- Changelog.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Changelog.md b/Changelog.md index 2afb2fca3..de93be042 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,4 +1,6 @@ # FOSSA CLI Changelog +## 3.9.40 +- Licensing: Fix a bug where license scanner output sometimes included log lines, which breaks JSON parsing ## 3.9.39 - Licensing: Add the PSF-3.12.7 license. Make a correction to the MulanPSL license. Add a new public-domain rule ([#1480](https://github.com/fossas/fossa-cli/pull/1480)) From 5bf465f73ac53bbfc5c884b7360216a03e01b230 Mon Sep 17 00:00:00 2001 From: Ryan Link <47920994+ryanlink@users.noreply.github.com> Date: Tue, 26 Nov 2024 14:34:04 -0600 Subject: [PATCH 2/2] Update test.md - stderr not stdout (#1484) * Update test.md - stderr not stdout * Update sbom.md - stderr not stdout --- docs/references/subcommands/sbom.md | 2 +- docs/references/subcommands/test.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/references/subcommands/sbom.md b/docs/references/subcommands/sbom.md index bb1a898e6..94a7eab6c 100644 --- a/docs/references/subcommands/sbom.md +++ b/docs/references/subcommands/sbom.md @@ -30,7 +30,7 @@ In addition to the [usual FOSSA project flags](#common-fossa-project-flags) supp The `sbom test` command checks whether the most-recent scan of your FOSSA project raised license-policy or vulnerability issues. This command is usually run immediately after `fossa sbom analyze`. -- If there are issues, it prints them to stdout and fails with an exit code of 1 +- If there are issues, it prints them to stderr and fails with an exit code of 1 - If there are no issues, it prints nothing and succeeds with an exit code of 0 `fossa sbom test` supports the [Common FOSSA Project Flags](./analyze.md#common-fossa-project-flags). diff --git a/docs/references/subcommands/test.md b/docs/references/subcommands/test.md index 4026930b2..2efbfa4bc 100644 --- a/docs/references/subcommands/test.md +++ b/docs/references/subcommands/test.md @@ -3,7 +3,7 @@ The test command checks whether the most-recent scan of your FOSSA project raised license-policy or vulnerability issues. This command is usually run immediately after `fossa analyze` -- If there are issues, it prints them to stdout and fails with an exit code of 1 +- If there are issues, it prints them to stderr and fails with an exit code of 1 - If there are no issues, it prints nothing and succeeds with an exit code of 0 `fossa test` supports the [Common FOSSA Project Flags](./analyze.md#common-fossa-project-flags) supported by all commands @@ -54,4 +54,4 @@ For instance, * If the revision `v2.0.0` has issue: `A`, and the revision `34021e` has issues `A`, `B`, - * `fossa-cli` reports issue `B` and exits with status code of 1. \ No newline at end of file + * `fossa-cli` reports issue `B` and exits with status code of 1.