Skip to content

Conversation

@furtib
Copy link
Contributor

@furtib furtib commented Nov 24, 2025

Why:
We want to support not just JSON, but YAML config files too.

What:

  • Added support for YAML config files in the monolishic codechecker rule.
  • Added support for any config file in the per_file rule

Addresses:
Fixes #30
Depends on: #103

@furtib furtib requested a review from Szelethus November 24, 2025 13:34
@furtib furtib self-assigned this Nov 24, 2025
@furtib furtib added bug Something isn't working enhancement New feature or request labels Nov 24, 2025
@furtib
Copy link
Contributor Author

furtib commented Nov 24, 2025

I needed the separate file to deal with cyclic includions

@furtib furtib marked this pull request as ready for review November 24, 2025 16:08
@Szelethus Szelethus added the API change ⚠️ Breaks existing API label Nov 25, 2025
@Szelethus Szelethus requested a review from nettle November 25, 2025 10:19
@Szelethus
Copy link
Contributor

@nettle This PR as it is changes the load path of codechecker_config. Is that a dealbreaker?

Copy link
Contributor

@Szelethus Szelethus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate to do this to you, but can you split this PR up? How about this:

  • Move codechecker_config to its own .bzl file,
  • Add config support to per_file analysis
  • Add .yaml support

@furtib
Copy link
Contributor Author

furtib commented Nov 25, 2025

:'(

@furtib
Copy link
Contributor Author

furtib commented Dec 1, 2025

Superseeded by #113, #112 and #104

@furtib furtib closed this Dec 1, 2025
furtib added a commit that referenced this pull request Dec 2, 2025
Why:
We want to support config files; we should test for them.
What:
- Test whether every rule that takes a config file as an argument acts
on the content of said config file

Addresses:
#30
Test for #102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API change ⚠️ Breaks existing API bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for YAML CodeChecker config files

2 participants