Skip to content

Comments

Refactor config rule#104

Merged
furtib merged 5 commits intoEricsson:mainfrom
furtib:rebase-config-file-handling
Dec 1, 2025
Merged

Refactor config rule#104
furtib merged 5 commits intoEricsson:mainfrom
furtib:rebase-config-file-handling

Conversation

@furtib
Copy link
Contributor

@furtib furtib commented Nov 25, 2025

Why:
We want to handle configurations for both the monolithic and per_file rule.
I want to use the same implementation for both, and don't want to either repeat code or have cyclic includes.

What:
I have created a file codechecker_config.bzl in which everything related to the rule codechecker_config lives.
I have included this rule in codechecker.bzl and used it.

Addresses:

(In the long run: #30 )

@furtib furtib requested a review from Szelethus November 25, 2025 11:28
@furtib furtib added enhancement New feature or request API change ⚠️ Breaks existing API non-functional change ☮️ The patch doesn't change any functionality, e.g. refactoring, documentation, test-only. and removed enhancement New feature or request labels Nov 25, 2025
@furtib furtib self-assigned this Nov 25, 2025
@furtib furtib force-pushed the rebase-config-file-handling branch from af331f3 to ff95f96 Compare November 25, 2025 11:32
@furtib furtib force-pushed the rebase-config-file-handling branch from ccccf5f to 8757a1a Compare November 25, 2025 11:32
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.

You'll need to adjust the summary.

@furtib furtib requested a review from Szelethus December 1, 2025 12:00
@furtib furtib removed the API change ⚠️ Breaks existing API label Dec 1, 2025
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.

Please add a comment where I placed the nit. Otherwise LGTM

@furtib furtib merged commit 8157d8f into Ericsson:main Dec 1, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

non-functional change ☮️ The patch doesn't change any functionality, e.g. refactoring, documentation, test-only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants