10 Commits

Author SHA1 Message Date
Arseniy Zaostrovnykh
55720d6cda
Fix rule coverage on a rule page: include all rule keys to metadata
For some rules, rule-specific metadata.json overridden the `sqKey` for
all languages, so when the predeployment script collected all keys, it
did not list the actual, most canonical key "S****".
This leads to the incorrect display of coverage information on a rule
page that relies on the `allKeys` precomputed property to retrieve the
version of the analyzer that implements the rule.

The fix includes the generic rule metadata.json file into the aggregator
that computes `allKeys`, thus propagating it to every language-specific
metadata.
2023-08-21 07:45:14 +00:00
Christophe Zürn
45e7d3b4e0
Frontend deployment ignores the 'common' utility folder in rules directories (#1606) 2023-03-03 13:49:24 +01:00
Fred Tingaud
500a488b04
RULEAPI-724: Strikethrough rule ID if the rule is closed, deprecated, or removed 2022-01-31 18:44:44 +00:00
Marco Antognini
b2b116a8e2
RULEAPI-682: Index multiple types and rules with no languages
* Generate description and metadata for rules with no language, so that they get indexed.
* Index rules with different types in language specializations.
* Improve validation to reject new rules with no language specialization (i.e. only a predefined set of such rules is allowed because they were imported from Jira and kept for historical purposes).
* Write smaller JSON files, reduce their size by 30%.
* Improve test coverage of CLI application.
2022-01-28 09:51:13 +01:00
Fred Tingaud
c8c825feb0
RULEAPI-705 differentiate closed and obsolete rules in the UI (#704) 2022-01-17 20:13:15 +01:00
Arseniy Zaostrovnykh
a32b29744e
RULEAPI-571: Increase test coverage of the GitHub Page (#692) 2022-01-12 15:58:15 +00:00
Arseniy Zaostrovnykh
16ca5fafaf
RULEAPI-649: Add frontend tests to CI 2021-06-08 15:21:29 +02:00
Arseniy Zaostrovnykh
53c4d38f7a
RULEAPI-570: Add required filters in Github Page search 2021-06-08 13:55:27 +02:00
Amélie Renard
ac5af2d116
RULEAPI-612 Enable full-text search over the non-implemented RSPECS in the PRs along with the rspecs on the master branch
Co-authored-by: Arseniy Zaostrovnykh <arseniy.zaostrovnykh@sonarsource.com>
2021-05-20 11:24:59 +02:00
nicolas-harraudeau-sonarsource
705aa07e54
Clean frontend rules preprocessing (#31)
* Clean frontend rules preprocessing
2021-02-05 14:24:41 +01:00