Skip to content

Chore/improve clang tidy integration - #10666

Open
mgallien wants to merge 10 commits into
masterfrom
chore/improveClangTidyIntegration
Open

Chore/improve clang tidy integration#10666
mgallien wants to merge 10 commits into
masterfrom
chore/improveClangTidyIntegration

Conversation

@mgallien

Copy link
Copy Markdown
Collaborator

Resolves

#

Summary

TODO

  • ...

Checklist

AI (if applicable)

@mgallien mgallien added this to the 35.0.0 milestone Aug 25, 2026
@mgallien
mgallien force-pushed the chore/improveClangTidyIntegration branch 2 times, most recently from 5bd898f to 6e33e38 Compare August 25, 2026 15:01
mgallien and others added 6 commits August 26, 2026 09:13
Extract the inline -checks= list from the CI workflow into a
.clang-tidy configuration file so the check set is discoverable
outside CI and can be reused by local/IDE runs of clang-tidy.

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
also enforce it via clang-tidy configuration file

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
also add it to our configuration file to be enforced

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
@mgallien
mgallien force-pushed the chore/improveClangTidyIntegration branch from 6e33e38 to b843837 Compare August 26, 2026 08:42
mgallien and others added 3 commits August 26, 2026 11:00
Broaden the clang-format requirement beyond ./src to all C++ source
files, and add a mandatory run-clang-tidy -fix pass that must report
no further changes before a task is considered done.

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
@github-actions

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-10666.zip

Digest: sha256:497c8fec86999aeafc8beac8901c186dcfc32b4d3764ea2d263a733f5589f54e

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
63.0% Coverage on New Code (required ≥ 80%)
46 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

The step should not fail the job on lint warnings; fixes.yml is still
exported and consumed by the PR-comments step regardless of exit code.

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant