Skip to content

22.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 May 07:51
· 1267 commits to main since this release

What's Changed

Bug Fixes 🐞

  • 4dd1612 cargo: Treat projects outside the analyzer root as packages
  • c3c6325 evaluated-model: Fix inconsistency with path exclude serialization
  • addff4e github: Forward GRADLE_OPTS to Docker for unified diffs in funTests
  • 456167b reporter: Fix-up determining the worst severity
  • e7d781f subversion: Make the peg revision newer than the operative revision
  • f8540b2 subversion: Return the actual revision instead of the requested one

New Features 🎉

  • 50a2428 github: Create issue templates
  • bd76214 github: Mark new issues as 'to triage'
  • c91f248 model: Add OrtResult.isExcluded(Issue,Identifier)
  • e64bcbd model: Add isExcluded to EvaluatedIssue
  • 7887428 model: Add the param omitExcluded to getProjectsAndPackages()
  • 6a84fa2 model: Handle excluded affected paths in OrtResult.getIssues()
  • 378795c reporters: Extend license statistics by effective license
  • 237f3e2 static-html: Add an advisor issue summary table
  • e844f82 static-html: Order issues by their severity
  • 9c6b867 static-html: Re-design the summary of issues
  • ba7c817 web-app-template: Add is_excluded to WebAppOrtIssue
  • 4c334aa web-app-template: Add effective stats in models
  • 7c74524 web-app-template: Make use of WebAppIssue.isExcluded

Build 🐘 & CI ⚙️

  • d300540 Gradle: Work on tasks instead of their providers to simplify code
  • 0370fd6 github: Disable Gradle build scans for non-test jobs
  • cfee6f1 github: Disable expensive tests for PR and main builds
  • f51b2a5 github: Do not build the web-app reporter separately anymore
  • d3ddb4d github: Do not push Docker images for pull requests
  • 12a9f4d github: Enable Qodana for PRs only
  • 28c4178 github: Make host users and groups available in the container
  • b9b43f7 github: Move the workspace mount closer to the -w option
  • 1852c30 github: Remove the superfluous --entrypoint argument
  • 69bdfd9 github: Run Docker as the GitHub user to simplify code
  • c5fcc9b github: Set an environment variable for Docker via the -e option

Chores 🔧

  • 7ec5fa9 Gradle: Sort dependency tasks for really deterministic output
  • 90f5f75 analyzer: Filter directly to a list
  • 424b371 analyzer: Make it explicit that project paths are directories
  • d7ae28e cargo: Do not even try to parse a null repository
  • 34af1e8 cargo: Make a Git SHA1 Regex pattern a bit more strict
  • 3d0510d docker: Upgrade Go to version 1.22.2
  • 7a46ed5 downloader: Generalize VCS directory filtering in tests
  • 8942c43 jenkins: Use the non-legacy Dockerfile
  • d6d5cea node: Make directory walking a bit more safe
  • 25515fb reporter: Remove a redundant toMap() call
  • 2d3d710 sbt: Make it explicit that POMs are expected to be files
  • 0e56143 subversion: Align test code for comparing files
  • 1d129ce subversion: Set isIgnoreExternals only once
  • 9dfd352 vcs: Remove some redundant failure logging
  • 16a8501 web-app-template: Alphabetically order functions
  • d61323c web-app-template: Remove unused variable
  • 168394b Remove the unused Dockerfile-legacy

Dependency Updates 🚀

  • 239db45 Update maven-resolver to version 1.9.20
  • 044358a update dependency com.github.ajalt.clikt:clikt to v4.4.0
  • 17d14cd update dependency org.jruby:jruby to v9.4.7.0
  • 872ba5d update dependency org.semver4j:semver4j to v5.3.0
  • 92d2be5 update exposed to v0.50.0
  • 0cec7d6 update jetbrains/qodana-action action to v2024

Documentation 📖

  • 8f945e9 evaluated-model: Fix a KDoc reference to Excludes
  • e098d42 evaluated-model: Fix a typo
  • 328d0f2 spdx: Simplify a function's documentation
  • c94ae6b static-html: Fix a typo
  • 2c1d375 Add Double Open to the list of adopters

Performance Enhancements ⚡

  • 04ff787 evaluator: Turn a list into a sequence to address an inspection hint

Refactorings 🚜

  • b47b7ff Gradle: Avoid the use of {all,sub}projects altogether
  • 40b1e97 model: Expose sparate getIssues() for related ORT stages
  • 37c81f1 model: Factor out filterIssues()
  • 446f77c model: Inline two variables
  • 9fea65a model: Simplify getProjectsAndPackages()
  • f6d808f reporter: Make a local function more specific
  • c27f794 reporter: Rewrite countLicenses() to be more flexible
  • 5628538 static-html: Align on the term "rule violation"
  • a313d42 static-html: Extract constant for the rule violation table ID
  • b1de267 static-html: Move the p tag out of issueDescription()
  • 32b0b1b subversion: Unify code paths for (non-)numeric revisions
  • 1eb0c8b web-app-template: Construct some columns arrays via push only
  • ff053f3 web-app-template: Swap two columns in summary views
  • 2f57ea0 Migrate remaining list(Files) calls to walk

Tests ✅

  • 1981a4e carthage: Fix the GitHub organization replacement
  • 5724311 model: Improve a test case name
  • 0577f85 model: Make use of an EMPTY constant in a couple of places
  • 002d238 reporters: Add analyzer issues to package references
  • eec0fa7 reporters: Consistently make the severity explicit
  • 34c7ee7 reporters: Extend test assets by further issues
  • 3ba6e25 reporters: Fix-up an inconsistent scan issue
  • bf3cb5e reports: Add a couple of advisor issues to reporter test assets
  • eeeb5e3 scanner: Enable a Subversion test that works now
  • 95b82fa static-html: Fixup an expected result
  • fc68834 web-app-template: Add effective licenses
  • 8fc715a web-app-template: Use orthw example
  • ce47e72 Remove all but one ExpensiveTag

Other Changes 💡

  • 974b002 Revert "helper-cli: Add command to delete entries from postgres scan storage"
  • efa25ba style(github): Align to use spaces inside variable interpolation