green-code-initiative / ecoCode-ios

Reduce the environmental footprint of your Swift-based iOS apps with SonarQube
https://ecocode.io
GNU General Public License v3.0
4 stars 5 forks source link

Migration of rules metadata to common rules specification #22

Closed zippy1978 closed 1 month ago

zippy1978 commented 4 months ago

This PR includes support for the common ecoCode rules repository (https://github.com/green-code-initiative/ecoCode/tree/main/ecocode-rules-specifications)

As a consequence existing local rule key/ids are changed. Example: ESOB002 rule becomes EC19.

Defining local rules is still supported, and useful for when working on a rule which is not released in the common repo yet. ESOB007 is such a rule (new rule not in common repo yet).

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

dedece35 commented 4 months ago

This PR includes support for the common ecoCode rules repository (https://github.com/green-code-initiative/ecoCode/tree/main/ecocode-rules-specifications)

As a consequence existing local rule key/ids are changed.

Example: ESOB002 rule becomes EC19.

Defining local rules is still supported, and useful for when working on a rule which is not released in the common repo yet.

ESOB007 is such a rule (new rule not in common repo yet).

do you want me to create a new release of ecocode-rules-specifications ? is all ok in this project for you to build correctly ios repo ?

zippy1978 commented 2 months ago

@dedece35, PR is ok with local up to date ecocode-rules-specifications. It will be mergeable s soon as a new version of ecocode-rules-specifications is released (would be good to merge it before the 2024 challenge)

zippy1978 commented 2 months ago

This PR is waiting for a new ecocode-rules-specifications release to pass.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud