Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScanCode error handling improvements #9197

Merged
merged 4 commits into from
Sep 26, 2024
Merged

ScanCode error handling improvements #9197

merged 4 commits into from
Sep 26, 2024

Commits on Sep 26, 2024

  1. docs(scancode): Move a comment to a more relevant location

    Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
    sschuberth committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    ba02ee9 View commit details
    Browse the repository at this point in the history
  2. feat(scancode): Try to to get more information on failures

    Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
    sschuberth committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    13fa29f View commit details
    Browse the repository at this point in the history
  3. chore(scanner): Get the time for a failure summary only once

    Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
    sschuberth committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    33d2631 View commit details
    Browse the repository at this point in the history
  4. fix(scanner): Properly handle scanPath() exceptions

    There have reportedly [1] been cases where ScanCode apparently crashed
    without printing anything to `stderr`, resulting in no `result.json`
    file being written, which causes `readText()` to throw a
    `FileNotFoundException`. Properly handle such cases by logging and
    creating an issue for them.
    
    [1]: https://oss-review-toolkit.slack.com/archives/C9NNJ54B1/p1727277816661189?thread_ts=1724222709.453049
    
    Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
    sschuberth committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    ec04ed0 View commit details
    Browse the repository at this point in the history