25 Commits

Author SHA1 Message Date
Fred Tingaud
0fd7e2c4b0
Fix language in rule creation script 2024-07-09 17:07:27 +02:00
Jamie Anderson
bed74da521
Create specialized single-language rules (#3996) 2024-06-26 09:52:29 +01:00
hendrik-buchwald-sonarsource
a315e5de4c
Add review checklist
This PR adds a small checklist for new PRs that will make it more
visible what parts of the RSPEC were reviewed.
2023-06-06 17:04:39 +02:00
Marco Antognini
26e3ebc7ec Refactor rspec-tools and other cleanups
The main changes are:
 * Split RuleCreator: move some of its content to RspecRepo and to
   RuleEditor in new modules.
 * Refactor tests accordingly.

Other less important changes:
 * Sort and remove unnecessary imports
 * Remove unimplemented functions and unnecessary classes
 * Make some functions private
 * Move pushd from utils to tests where it is only used
 * Reduce code duplication here and there
 * Remove unnecessary Mock in some tests
 * Improve coverage for add_language_to_rule
2022-02-28 12:08:21 +01:00
Marco Antognini
dbb8027666 RULEAPI-748: Add new workflow to update quickfix status 2022-02-28 12:08:21 +01:00
Fred Tingaud
9ca204f1c9
RULEAPI-744 automatically fill the template source tags with the current language 2022-02-08 17:34:53 +01:00
Marco Antognini
065322db2f
RULEAPI-680: Remove the mention of [label] (#705) 2022-01-13 16:03:40 +00:00
Arseniy Zaostrovnykh
d444d13593
Fix python issues raised by SQ for the old code 2022-01-13 09:25:17 +01:00
Arseniy Zaostrovnykh
dd885e0b4e
RULEAPI-606: Fix the url and raise an exception earlier. (#436) 2021-10-01 10:25:35 +02:00
Arseniy Zaostrovnykh
5f8a2e7ec1
RULEAPI-606: github action and underlying script for adding a new language to an existing rule 2021-09-30 15:47:25 +00:00
Arseniy Zaostrovnykh
b0c064cfb7
RULEAPI-640: Add language(s) label(s) to automatically created PR 2021-06-10 09:03:05 +00:00
Arseniy Zaostrovnykh
64226f8b2c Prefix the branches for new rules by 'rule/' to enable UI auto refresh 2021-06-01 17:41:02 +02:00
Arseniy Zaostrovnykh
8a2a77321f Add the preview link to the pr description 2021-06-01 11:46:52 +02:00
Arseniy Zaostrovnykh
97cd183fc2
RULEAPI-596 Bring all the meta info into the language subfolder for new single-lang rules 2021-05-03 09:24:46 +02:00
Nicolas Harraudeau
f169cc2323 Fix Pull request assignment 2021-02-18 18:00:42 +01:00
Nicolas Harraudeau
ad7f0af28d Assign new pull request rules when created 2021-02-18 17:50:03 +01:00
Nicolas Harraudeau
95ec206fd5 Improve logging during rule creation 2021-02-18 14:51:20 +01:00
Nicolas Harraudeau
bc4f113642 Fix create rule command in create_new_rspec github workflow 2021-02-18 13:18:24 +01:00
Nicolas Harraudeau
472e87cb6c Fix create rule command in create_new_rspec github workflow 2021-02-18 13:06:06 +01:00
Nicolas Harraudeau
aeb10c40d2 Fix create rule command in create_new_rspec github workflow 2021-02-18 13:00:51 +01:00
Nicolas Harraudeau
a002318f77 Fix create rule command in create_new_rspec github workflow 2021-02-18 12:50:55 +01:00
Nicolas Harraudeau
30cafe81f0 Fix create rule command in create_new_rspec github workflow 2021-02-18 12:34:32 +01:00
Nicolas Harraudeau
5744c7b409 Fix create rule command in create_new_rspec github workflow 2021-02-18 12:32:10 +01:00
Nicolas Harraudeau
fa1f8ba482 Fix create rule command in create_new_rspec github workflow 2021-02-18 12:18:01 +01:00
Nicolas Harraudeau
de024c5f96 Add RuleCreator to rspec-tools 2021-02-18 11:32:08 +01:00