The repository now lives in the poli0981org organization, and this makes it at home there. - main was red since 2026-11-18: RUSTSEC-2026-0543 (chrono), in Cargo.lock only through serde_with's weak features and compiled into nothing; ignored with its reason and exit condition. - Supersedes #113–#118 (Rust 1.100.0, rusqlite 0.42.0, Tauri 2.12.6, code-health pins, actions, npm) plus jsdom 31.0.1; minimatch 11 closes GHSA-g3hv-75wg-m249. rfd 0.18 (#112) is held again until tauri-plugin-dialog moves. - Dependabot's tauri groups never worked (it picks the most specific group); exclude-patterns on the catch-alls fix it. - CI is self-contained: no workflow calls poli0981/.github; every action is pinned by commit; notify.yml vendors the Discord notifier. - npm licences: scripts/check-licenses.mjs, deny.toml's allowlist for the npm half. Required, with cargo deny and tauri lockstep — eight required checks. - Qodana in two parts (Rust, TS/JS), full scans, a triaged Rust baseline, fail on anything new. The Rust container needed its toolchain and CARGO_HOME pointed somewhere writable before it analysed anything. - SonarQube Cloud analyses into poli0981org_pipdock; every npm ci runs with --ignore-scripts (S6505). - Every repository URL points at the organization. README's attestation command for 1.4.0/1.5.0 had stopped working; it now says --owner poli0981 --signer-repo poli0981/pipdock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
95 lines
4.5 KiB
Properties
95 lines
4.5 KiB
Properties
# SonarQube Cloud - CI-based analysis, run by .github/workflows/sonar.yml.
|
|
#
|
|
# Automatic analysis (the SonarCloud GitHub App scanning on its own) was switched off for this:
|
|
# it cannot run a build, so it never analysed a line of Rust - two thirds of the code - and it
|
|
# could import no coverage at all. It also sent no project version, so the "previous version"
|
|
# new-code period stayed anchored to the first analysis (2026-09-27) and "new code" only ever grew.
|
|
# The workflow passes `sonar.projectVersion` from package.json, which is one of the five places the
|
|
# version lives (CLAUDE.md) and what the previous-version period keys on, one analysis late: the
|
|
# first analysis with a new version is still measured against the old period, and the next one
|
|
# from the last analysis of the version before.
|
|
|
|
# The project moved with the repository to the poli0981org organization on 2026-11-21. Its history
|
|
# up to 1.5.0 stays in the old project, `poli0981_pipdock` in the `poli0981` organization; this one
|
|
# started empty, so its first analysis of `main` is the baseline everything after it is new against.
|
|
sonar.organization=poli0981org
|
|
sonar.projectKey=poli0981org_pipdock
|
|
sonar.projectName=pipdock
|
|
sonar.sourceEncoding=UTF-8
|
|
|
|
# --- Scope ------------------------------------------------------------------------------------
|
|
# Everything tracked, as automatic analysis saw it, with tests split out. Untracked build output
|
|
# (target/, node_modules/, dist/, coverage/) is already out: files .gitignore names are never
|
|
# indexed. Test patterns appear twice, as sources' exclusions and as tests' inclusions, because
|
|
# the two sets must be disjoint or the scanner refuses to index a file twice.
|
|
sonar.sources=.
|
|
sonar.tests=.
|
|
sonar.test.inclusions=\
|
|
ui/src/**/*.test.ts,\
|
|
ui/src/**/*.test.tsx,\
|
|
ui/src/test/**,\
|
|
crates/*/tests/**,\
|
|
scripts/**/*.test.mjs,\
|
|
.github/scripts/**/*.test.*
|
|
# Images and fonts are tracked too, and the secrets sensor read every one as UTF-8 text and warned
|
|
# about each of them; nothing in them is code.
|
|
sonar.exclusions=\
|
|
ui/src/**/*.test.ts,\
|
|
ui/src/**/*.test.tsx,\
|
|
ui/src/test/**,\
|
|
crates/*/tests/**,\
|
|
scripts/**/*.test.mjs,\
|
|
.github/scripts/**/*.test.*,\
|
|
**/*.png,\
|
|
**/*.ico,\
|
|
**/*.icns,\
|
|
**/*.woff2
|
|
# Fixtures are data, not code: captured engine output, and sample Python projects that are broken
|
|
# on purpose so that Code Health has something to find.
|
|
sonar.test.exclusions=\
|
|
crates/*/tests/fixtures/**,\
|
|
crates/*/tests/snapshots/**
|
|
|
|
# --- Coverage -----------------------------------------------------------------------------------
|
|
# Rust from cargo-llvm-cov and TypeScript from vitest's v8 provider, both LCOV. Clippy's JSON is
|
|
# imported as external issues; `-D warnings` in ci-rust.yml keeps it empty on any green build, so
|
|
# what it adds is the finding on the line, in the PR, when that build is red.
|
|
sonar.rust.lcov.reportPaths=target/lcov-rust.info
|
|
sonar.rust.clippyReport.reportPaths=target/clippy.json
|
|
sonar.javascript.lcov.reportPaths=coverage/lcov.info
|
|
|
|
# What no test in this repository can execute, so a 0% here would measure nothing:
|
|
# * xtask, scripts/ and the root *.config files are developer tooling, run by hand;
|
|
# * spikes/ are the research scripts the adapters were built from (spikes/README.md);
|
|
# * probe.py runs inside the user's interpreter - the Rust suite parses canned output, and only
|
|
# ci-integration.yml runs it for real;
|
|
# * generated.ts is `cargo run -p xtask -- bindings` output, and the two entry points mount what
|
|
# the tests render directly;
|
|
# * .github/ holds the workflows and the helpers they run on a runner (the Discord notifier since
|
|
# 2026-11-21) - they talk to GitHub's and Discord's APIs, which no test here reaches.
|
|
sonar.coverage.exclusions=\
|
|
xtask/**,\
|
|
scripts/**,\
|
|
.github/**,\
|
|
spikes/**,\
|
|
*.config.ts,\
|
|
*.config.js,\
|
|
crates/pipdock-core/examples/**,\
|
|
crates/pipdock-core/src/probe.py,\
|
|
src-tauri/build.rs,\
|
|
src-tauri/src/main.rs,\
|
|
ui/src/main.tsx,\
|
|
ui/src/ipc/generated.ts
|
|
|
|
# Regenerating the bindings rewrites dozens of near-identical type declarations at once, which
|
|
# would read as new duplication on the next analysis without anyone having copied anything. Test
|
|
# files never count toward duplication, but the Rust sensor computed theirs anyway and logged a
|
|
# warning per file saying it would be dropped.
|
|
sonar.cpd.exclusions=\
|
|
ui/src/ipc/generated.ts,\
|
|
crates/*/tests/**
|
|
|
|
# --- Languages ----------------------------------------------------------------------------------
|
|
# probe.py's floor and ceiling (ARCHITECTURE section 10: managed Pythons 3.10-3.14).
|
|
sonar.python.version=3.10,3.11,3.12,3.13,3.14
|