-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subsystemFilter #334
subsystemFilter #334
Conversation
WalkthroughЭти изменения добавляют новые конфигурационные опции для фильтрации подсистем в настройках проекта Sonar. Включены новые строки для ключей включения и исключения фильтров подсистем в классе Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant SonarQube
participant BSLCommunityProperties
participant BSLCoreSensor
User->>SonarQube: Update Configuration
SonarQube->>BSLCommunityProperties: Fetch Properties
BSLCommunityProperties->>BSLCoreSensor: Update Configuration with Filters
BSLCoreSensor->>SonarQube: Apply Filters
SonarQube->>User: Configuration Updated
Assessment against linked issues
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
b2397ce
to
7bf3bd3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (5)
- src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCommunityProperties.java (2 hunks)
- src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCoreSensor.java (1 hunks)
- src/main/resources/org/sonar/l10n/communitybsl.properties (1 hunks)
- src/main/resources/org/sonar/l10n/communitybsl_ru.properties (1 hunks)
- src/test/java/com/github/_1c_syntax/bsl/sonar/BSLPluginTest.java (1 hunks)
Files skipped from review due to trivial changes (1)
- src/main/resources/org/sonar/l10n/communitybsl.properties
Additional comments not posted (5)
src/main/resources/org/sonar/l10n/communitybsl_ru.properties (1)
13-16
: Проверьте правильность и соответствие добавленных строк.Добавленные строки для описания и имен фильтров подсистем выглядят корректно, но стоит убедиться, что они соответствуют существующему стилю и формату.
src/test/java/com/github/_1c_syntax/bsl/sonar/BSLPluginTest.java (1)
53-53
: Обновите количество расширений в тесте.Изменение количества расширений с 23 до 25 выглядит корректным, учитывая добавление новых свойств фильтров подсистем.
src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCommunityProperties.java (2)
44-45
: Добавлены новые ключи фильтров подсистем.Новые константы для ключей фильтров подсистем добавлены корректно.
101-113
: Добавлены новые свойства фильтров подсистем.Новые свойства фильтров подсистем добавлены корректно и соответствуют существующему формату.
src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCoreSensor.java (1)
331-343
: Добавлена настройка фильтров подсистем в конфигурации.Код для настройки включения и исключения фильтров подсистем выглядит корректным и соответствует существующему стилю.
7bf3bd3
to
022c59b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (5)
- src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCommunityProperties.java (2 hunks)
- src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCoreSensor.java (1 hunks)
- src/main/resources/org/sonar/l10n/communitybsl.properties (1 hunks)
- src/main/resources/org/sonar/l10n/communitybsl_ru.properties (1 hunks)
- src/test/java/com/github/_1c_syntax/bsl/sonar/BSLPluginTest.java (1 hunks)
Files skipped from review as they are similar to previous changes (5)
- src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCommunityProperties.java
- src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCoreSensor.java
- src/main/resources/org/sonar/l10n/communitybsl.properties
- src/main/resources/org/sonar/l10n/communitybsl_ru.properties
- src/test/java/com/github/_1c_syntax/bsl/sonar/BSLPluginTest.java
022c59b
to
1972319
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (5)
- src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCommunityProperties.java (2 hunks)
- src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCoreSensor.java (1 hunks)
- src/main/resources/org/sonar/l10n/communitybsl.properties (1 hunks)
- src/main/resources/org/sonar/l10n/communitybsl_ru.properties (1 hunks)
- src/test/java/com/github/_1c_syntax/bsl/sonar/BSLPluginTest.java (1 hunks)
Files skipped from review due to trivial changes (2)
- src/main/resources/org/sonar/l10n/communitybsl.properties
- src/test/java/com/github/_1c_syntax/bsl/sonar/BSLPluginTest.java
Additional comments not posted (4)
src/main/resources/org/sonar/l10n/communitybsl_ru.properties (1)
13-16
: Проверьте точность и согласованность переводов.Убедитесь, что переводы новых строк "Список подсистем для замечаний" и "Исключая подсистемы" согласованы с остальными строками в файле.
src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCommunityProperties.java (2)
44-45
: Добавлены новые статические константы.Новые ключи для фильтрации подсистем добавлены корректно.
101-113
: Проверьте корректность добавленных настроек.Новые настройки для фильтрации подсистем добавлены в метод
getProperties()
.src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCoreSensor.java (1)
331-343
: Проверьте корректность добавленных фильтров подсистем.Изменения в методе
getLanguageServerConfiguration
для включения фильтров подсистем выглядят корректно.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- docs/en/index.md (1 hunks)
- docs/index.md (1 hunks)
Additional comments not posted (2)
docs/en/index.md (1)
92-93
: Добавлено описание новых настроек для фильтров подсистемНастройки описаны корректно и последовательно. Хорошо, что добавлены значения по умолчанию и подробное описание.
docs/index.md (1)
94-95
: Добавлено описание новых настроек для фильтров подсистемНастройки описаны корректно и последовательно. Хорошо, что добавлены значения по умолчанию и подробное описание.
src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCommunityProperties.java
Show resolved
Hide resolved
src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCommunityProperties.java
Outdated
Show resolved
Hide resolved
поменял порядок параметров
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCommunityProperties.java (2 hunks)
Files skipped from review as they are similar to previous changes (1)
- src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCommunityProperties.java
Фильтр по подсистемам добавлен в настройки
fix #319