+
Skip to content

Releases: okorach/sonar-tools

Improvements on `sonar-config` import, `sonar-findings-sync` and `sonar-audit`

30 Sep 10:49
8b67986
Compare
Choose a tag to compare

What's Changed

  • sonar-config:
    • Several improvements in applications export/import
    • Rule export format is modified, for the best
    • Handle SCA criteria in QG exports
    • A couple of bug fixes:
      • Rule custom params are exported
      • Import of instantiated rules is now working fine
      • Applications imports with project branches non existing
  • sonar-finding-sync:
    • Projects can be selected through regexp, allowing to sync multiple (or all) projects are once
    • Incremental sync: findings are synced starting from the most recent change on the target finding
    • Sync separates changelog sync and comment sync for more accuracy
    • A tag can be added to all issues that were synchronized (not on hotspots, hotspots can't be tagged)
    • sonar-findings-sync is now compatible with Community Edition (as a source or target platform)
    • Fixed bug when synchronizing issues with no line nbr (file based issues)
  • sonar-findings-export:
    • A couple of bug fixes when using complex export filters (was not working before)
  • sonar-audit:
    • SonarQube Cloud audit improvements. The Members group on cloud is handled like the sonar-users group on Server
    • Fix a crash when auditing organizations
    • Added auditing that projects keys follow a given naming convention (match a given regexp)

Milestone:

See https://github.com/okorach/sonar-tools/milestone/51?closed=1

Pull Requests

Full Changelog: 3.15...3.16

Multiple hardening and improvements

15 Aug 06:32
ae7284a
Compare
Choose a tag to compare

What's Changed

  • General performance (speed) improvements

  • Allow to run tools with non admin tokens when possible (sonar-measures-export, sonar-findings-export, sonar-loc)

  • Misc hardening

  • sonar-findings-sync:

    • Fix #1871 - Sync may not happen when an issue has old transition data generated before MQR mode
    • Added precise doc about what issues are sync'ed
    • Fail fast with clear message if organization and/or project does not exists
  • sonar-config:

    • /!\ Modification of export/import format for Quality Profiles
    • Export of rules custom severities
    • Export of prioritized rules
    • Export quality profiles permissions on SonarQube Cloud
    • Performance improvements
    • Fix on import of project visibility
  • sonar-audit:

    • Fix to allow audit report in JSON format
    • Raise issue when duplicate quality gates or profiles
    • Raise issue when the new code period is too long (more than 90 days, configurable)
    • Raise issue when the sonar-users group has admin permission on QP, QG, App or Portfolio
    • Raise issue when an app or portfolio is Public
    • Raise issue when too many groups or users have permissions on anything
    • Raise issue when permissions on permission templates granted to users (instead of groups)
    • Make the project key comparison for duplicate less aggressive (was creating to many false positives)
  • See milestone 3.15

  • Audit duplicate QP by @okorach in #1878

  • Audit duplicate QG by @okorach in #1880

  • Fix-1823 by @okorach in #1881

  • Multithread QP comparison for perf by @okorach in #1882

  • Multithread rules collection by @okorach in #1883

  • Fix-tests-2 by @okorach in #1884

  • Allow-non-admin-tokens by @okorach in #1814

  • Tests-non-reg by @okorach in #1888

  • Fix performance problems on rule and QP profile export by @okorach in #1892

  • fix export of QP permissions on SQC by @okorach in #1894

  • Fix sonar-config import of project visibility by @okorach in #1898

  • Document precisely what findings are synced by @okorach in #1903

  • Fail fast if org does not exists, user is not member or project not in org by @okorach in #1904

  • Update tests by @okorach in #1907

  • Non-reg-9 by @okorach in #1908

  • What-s-new-3-15 by @okorach in #1910

Full Changelog: 3.14...3.15

Hotfixes on `sonar-findings-sync`

30 Jul 16:26
197d067
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.14...3.14.1

Minor improvements and bug fixes release

02 Jul 06:53
406a029
Compare
Choose a tag to compare

What's Changed

New features

  • Most tools (sonar-loc, sonar-measures-export, sonar-findings-export, sonar-projects, sonar-config, sonar-audit) now select project keys and/or branches with regexp instead of comma separated list. This is more flexible. Old "key1,key2,key3" equivalent is "(key1|key2|key3)" but you can also use "key.*" or other flexible regexps
  • sonar-audit: Added check that tokens max lifetime is bound (Add check on sonar.auth.token.max.allowed.lifetime is not confired as "no expiration")
  • sonar-measures-export: Updated list of default "main" metrics in line with new SonarQube 2025.x release

Hardening:

Details

See https://github.com/okorach/sonar-tools/milestone/48 for details

Full Changelog: 3.13...3.14

sonar-projects and `sonar-audit improvements

29 May 16:03
7455644
Compare
Choose a tag to compare
  • sonar-projects improvements

    • Allow to export/import or not projects with 0 LoCs (projects that were only provisioned)
    • Detect conflicts in project keys that generate the same zip file
    • Add URL of source and target project in report
    • Mutithread sonar-projects import
    • Diagnose import error based on background tasks results rather than (impossible) pre-checks
      (eg version check for Commuity Builds vs Commercial Editions)
    • Averoll much more robust detection and reporting of export/import errors
  • sonar-audit

    • Fix bug on checking proper value of boolean settings such as sonar.cpd.cross_project and sonar.forceAuthentication
      Provide more synthetic result of the export or import result
    • Don't raise issue when plugins that are registered on the update center are installed

What's Changed

Full Changelog: 3.12...3.13

sonar-finding-sync improvements

20 May 06:32
f610f1c
Compare
Choose a tag to compare

Summary:

  • sonar-findings-sync improvements:

    • Improved finding matching algorithm to match more fidnings
    • Increased robustness to unexpected errors
    • Adjust to SonarQube Cloud API and capabilities (eg Acknowledge hotspots is not possible)
  • sonar-projects export honors the --threads option when searching project list

What's Changed

Full Changelog: 3.11...3.12

3.11

03 May 09:39
31d33db
Compare
Choose a tag to compare

Version 3.11 - sonar-findings-sync improvements and general hardening

  • sonar-findings-sync
    • Fixed major sync regression
    • Added sync multithreading to significantly accelerate sync of large projects with many findings to sync
    • Covered support for several additional corner cases to increase number of issues that can be matched, and sync them
  • Several bug fixes and hardening across the board

(Version 3.10 - Intermediate release, don't use)

  • sonar-findings-sync hardening
  • sonar-config:
    • Fix bug about not exporting all projects when more than 1000 projects
    • Fix bug about not exporting groups that have no description
  • sonar-audit:
    • New audit check to avoid using Scanner for .Net 9.2 that has a vulnerability
    • Fix incorrect warning when running 2025.1 with JRE 21 (this is supported)
    • Fix incorrect warning when SQS is run with JRE 17 (this is supported)
  • sonar-rules:
    • Allow to only export rules of a given quality profile
  • sonar-findings-sync hardening

What's Changed

New Contributors

Full Changelog: 3.9...3.11

3.9

09 Mar 12:47
f3d87d6
Compare
Choose a tag to compare
3.9

What's new:

  • Compatibility with SonarQube 2025.1 release
  • Fixed sonar-projects import pre-check to be less strict (follow new SonarQube criterias for project import)
  • A few new things audited by sonar-audit (Excessive project history data points and Excessive proportion of accepted or FP issues)
  • Bug fixes
  • More unit tests

What's Changed

Full Changelog: 3.8...3.9

Improvements on sonar-findings-sync, sonar-config, sonar-rules and sonar-audit

13 Apr 15:57
e814ebb
Compare
Choose a tag to compare

Version 3.10

  • sonar-findings-sync hardening
  • sonar-config:
    • Fix bug about not exporting all projects when more than 1000 projects
    • Fix bug about not exporting groups that have no description
  • sonar-audit:
    • New audit check to avoid using Scanner for .Net 9.2 that has a vulnerability
    • Fix incorrect warning when running 2025.1 with JRE 21 (this is supported)
    • Fix incorrect warning when SQS is run with JRE 17 (this is supported)
  • sonar-rules:
    • Allow to only export rules of a given quality profile
  • sonar-findings-sync hardening

What's Changed

Full Changelog: 3.8...3.10

Further test, improvements and better Community Build and Developer Edition compatibility

09 Jan 17:18
19d208a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.7...3.8

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载