28 Commits

Author SHA1 Message Date
Peter Trifanov
14c80b84d0
[NO-JIRA] Point coverage script to the enterprise sonar-go repository (#4635) 2025-01-30 10:19:54 +01:00
Fred Tingaud
5fb2c9dd39 RULEAPI-824 Sort tags by version number instead of commited date when computing coverage 2024-12-12 16:58:20 +01:00
Fred Tingaud
efa7462eae RULEAPI-823 Don't consider tags that are not version numbers in coverage computation 2024-12-12 16:58:20 +01:00
Fred Tingaud
741e23121b RULEAPI-822 Don't consider sonar-css that is deprecated, when computing coverage
sonar-css-plugin is no longer used and the sonar-css repository is archived. Rules that are only in
sonar-css should be considered as deleted and rules that are moved in sonarJS should be displayed
as in sonarJS.
The current coverage format cannot represent perfectly this repository change, so removing sonar-css
from the list seems like the simplest approach to get a good enough result.
2024-12-12 16:58:20 +01:00
Fred Tingaud
c480f9a4b0 RULEAPI-821 Skip all profile files, not only Sonar_way_profile 2024-12-12 16:58:20 +01:00
Fred Tingaud
a6f4f03031 RULEAPI-820 Don't indiscriminately crop rule names on "_" in coverage computation 2024-12-12 16:58:20 +01:00
Jonas Wielage
604db8c2c3
[NO-JIRA] Fix rule coverage for Text and Secrets (#4555) 2024-12-04 12:39:47 +01:00
Mary Georgiou
402a45849d
NET-578 Update coverage.py script in RSpec repo to point to the new enterprise repository (#4520) 2024-11-20 16:41:32 +01:00
Dorian Burihabwa
dcf8ddd32f [NO-JIRA] Fix rule coverage for Apex, Go, Ruby and Scala
Replaced the old reference to slang-enterprise with references to split
repos and JIRA projects for each of the former SLang languages (Apex, Go, Ruby and Scala).
2024-10-07 15:07:25 +02:00
GabinL21
686c4056dc
Modify S2260: add Ansible (#4360) 2024-10-02 11:22:27 +02:00
leonardo-pilastri-sonarsource
570e581908
Include "sonar-architecture" in the list of repos for updating rules coverage script (#4337) 2024-10-01 12:24:49 +02:00
Marharyta
8ae6c27693
Include "sonar-dart" in the list of repos for updating rules coverage script (#4317) 2024-09-25 11:42:14 +02:00
Mate Molnar
c0a5024363 BUILD-4175: use secrets from Vault
* Fix SQ issue Unexpected string concatenation
* Allow testing of the coverage update workflow by checking out all
  branches and referencing the SHA of the triggering event
* Fix repository url for coverage update
* Add a manual trigger for coverage update
2024-07-17 10:38:43 +02:00
Mate Molnar
62870a2202 Revert "BUILD-4733: update clone command to use a github access-token"
This reverts commit 8a20fdca5e8a16320f7864c2fbe2052dc932a917.
2024-07-17 10:38:43 +02:00
Mate Molnar
cf35ea3595 Revert "BUILD-4733: Use the correct url format for cloning with an access token"
This reverts commit 72febdb50709c0edba5ead3d6b139812cb557f8c.
2024-07-17 10:38:43 +02:00
Mate Molnar
7d64c96a75 Revert "BUILD-4733: Use COVERAGE_GITHUB_TOKEN from the vault instead of the default GITHUB_TOKEN"
This reverts commit 9a14e956754adfffdfb53bd22d4a230cb97acaae.
2024-07-17 10:38:43 +02:00
Tom
9a14e95675 BUILD-4733: Use COVERAGE_GITHUB_TOKEN from the vault instead of the default GITHUB_TOKEN 2024-07-05 17:01:17 +02:00
tomverin
72febdb507
BUILD-4733: Use the correct url format for cloning with an access token 2024-07-04 16:05:28 +02:00
tomverin
8a20fdca5e
BUILD-4733: update clone command to use a github access-token 2024-07-04 15:48:47 +02:00
Johann Beleites
e2c4c4b8fe
RULEAPI-770 Fix bug due to multiple sonarpedia.json files (#3983)
When there are multiple sonarpedia.json files for the same language, the rules
picked up for the next sonarpedia.json file will override the ones picked up
previously. With this fix, the rules are not overwritten but all are collected,
so one repository can have multiple sonarpedia.json files for the same language.
2024-06-11 12:15:51 +02:00
leonardo-pilastri-sonarsource
90dd1316f0
Add dbd to plugin list to compute rules coverage (#3602) 2024-02-05 12:03:14 +01:00
Arseniy Zaostrovnykh
c475f0d6de RULEAPI-753: Use modern ids and coalesce the coverage for legacy ids 2022-04-13 00:28:19 -07:00
Arseniy Zaostrovnykh
1911fca994
Mock analyzer repos for the coverage test
This removes the dependency on online repositories (on GitHub)
and speeds up the test by stripping the number of versions and files to a minimum.
Prepare the ground for RULEAPI-753.
2022-04-05 09:44:09 +02:00
tomasz-kaminski-sonarsource
7f5b613ec4
RULEAPI-711: Adjust for underscore in CLOUDFORMATION inside sonar-iac sonarpedia 2022-01-14 14:21:00 +01:00
Arseniy Zaostrovnykh
d444d13593
Fix python issues raised by SQ for the old code 2022-01-13 09:25:17 +01:00
Nils Werner
0153e37597
RULEAPI-715: Add the "common" language (#632) 2021-12-01 15:18:31 +00:00
Nils Werner
d989c48b3f
Add sonar-iac as repository for coverage (#600) 2021-11-16 16:57:55 +00:00
Arseniy Zaostrovnykh
0fe8dffe85
RULEAPI-573: Clean and test script generating for each rule the list of plugins covering it (#429) 2021-10-01 14:52:12 +02:00