From 0c4e8758b7f7e1f7907522a93d5f514c3a7c889c Mon Sep 17 00:00:00 2001 From: David DE CARVALHO Date: Thu, 12 Dec 2024 21:54:10 +0100 Subject: [PATCH] end of creedengo migration --- CHANGELOG.md | 93 ++++++++++++++++++++++++++++-- CHANGELOG_ecocode-python.md | 110 ------------------------------------ README.md | 8 +-- RULES.md | 2 +- pom.xml | 2 +- 5 files changed, 95 insertions(+), 120 deletions(-) delete mode 100644 CHANGELOG_ecocode-python.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 5943f11..f9f70f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,15 +11,100 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- [#43](https://github.com/green-code-initiative/creedengo-python/pull/43) Strong renaming plugin from `ecocode-python` to `creedengo-python` (and maven groupid from `io.ecocode` to `io.greencodeinitiative`) + +### Deleted + +## [1.5.0] - 2024-10-04 + +### Changed + +- refactoring docker system +- [#29](https://github.com/green-code-initiative/creedengo-python/issues/29) Add test to ensure all Rules are registered +- [#24](https://github.com/green-code-initiative/creedengo-python/issues/24) Set correct required language because the + plugin wasn't loaded anymore - retro-compatibility modifications (9.9.0 to 10.7 and not compatible before 9.9.0) AND + add support for > 10.5 Sonarqube version (up to 10.7.0) +- update some maven plugin versions and library versions to be up-to-date +- correction of SonarCloud issues + ### Deleted -## [1.0.0] - 2024-12-09 +- deletion of EC69 rule because of already deprecated (see RULES.md file) + +## [1.4.4] - 2024-07-18 + +### Added + +- [#26](https://github.com/green-code-initiative/creedengo-python/issues/26) [EC89] Avoid unlimited cache ### Changed -- [#43](https://github.com/green-code-initiative/creedengo-python/pull/43) Migration from `ecocode-python` to `creedengo-python` +- [#22](https://github.com/green-code-initiative/creedengo-python/issues/22) Depreciation of EC69 rule for python because + not relevant (after analysis) + +### Deleted + +- [#22](https://github.com/green-code-initiative/creedengo-python/issues/22) Delete deprecated EC66 rule for Python + +## [1.4.3] - 2024-05-15 + +### Added + +- [#18](https://github.com/green-code-initiative/creedengo-python/issues/18) Add support for SonarQube 10.4 " + DownloadOnlyWhenRequired" feature +- Add Support for SonarQube 10.4.1 + +### Changed + +- [#17](https://github.com/green-code-initiative/creedengo-python/issues/17) EC7 - correction setter problem on + constructor method +- check Sonarqube 10.4.1 compatibility + update docker files and README.md / NOT OK with 10.5.x (issue created) + +## [1.4.2] - 2024-01-11 + +### Changed + +- [#14](https://github.com/green-code-initiative/creedengo-python/issues/14) Correction of error with deprecated EC34 rule +- Update ecocode-rules-specifications to 1.4.7 + +## [1.4.1] - 2024-01-05 + +### Added + +- Add 10.3 SonarQube compatibility + +### Changed + +- [#5](https://github.com/green-code-initiative/creedengo-python/pull/5) Upgrade licence system and licence headers of + Java files +- [#6](https://github.com/green-code-initiative/creedengo-python/pull/6) Adding EC35 rule : EC35 rule replaces EC34 with a + specific use case ("file not found" specific) +- [#7](https://github.com/green-code-initiative/creedengo-python/issues/7) Add build number to manifest +- [#123](https://github.com/green-code-initiative/creedengo/issues/123) Improve unit tests for EC7 rule +- Update ecocode-rules-specifications to 1.4.6 +- README.md upgrade : docker test environment +- [#10](https://github.com/green-code-initiative/creedengo-python/issues/10) Correction of NullPointException in EC2 rule + +### Deleted + +- [#4](https://github.com/green-code-initiative/creedengo-python/issues/4) Deprecate rule EC66 for Python because not + applicable (see details inside issue) + +## [1.4.0] - 2023-08-08 + +### Added + +- Python rules moved from `ecocode` repository to current repository +- [#142](https://github.com/green-code-initiative/creedengo/issues/142) new Python rule : Multiple if-else statement + + refactoring implementation +- [#205](https://github.com/green-code-initiative/creedengo/issues/205) compatibility with SonarQube 10.1 ## Comparison list -[unreleased](https://github.com/green-code-initiative/creedengo-python/compare/1.0.0...HEAD) -[1.0.0](https://github.com/green-code-initiative/creedengo-python/releases/tag/1.0.0) \ No newline at end of file +[unreleased](https://github.com/green-code-initiative/creedengo-python/compare/1.5.0...HEAD) +[1.5.0](https://github.com/green-code-initiative/creedengo-python/compare/1.4.4...1.5.0) +[1.4.4](https://github.com/green-code-initiative/creedengo-python/compare/1.4.3...1.4.4) +[1.4.3](https://github.com/green-code-initiative/creedengo-python/compare/1.4.2...1.4.3) +[1.4.2](https://github.com/green-code-initiative/creedengo-python/compare/1.4.1...1.4.2) +[1.4.1](https://github.com/green-code-initiative/creedengo-python/compare/1.4.0...1.4.1) +[1.4.0](https://github.com/green-code-initiative/creedengo-python/releases/tag/1.4.0) diff --git a/CHANGELOG_ecocode-python.md b/CHANGELOG_ecocode-python.md deleted file mode 100644 index f9f70f6..0000000 --- a/CHANGELOG_ecocode-python.md +++ /dev/null @@ -1,110 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [Unreleased] - -### Added - -### Changed - -- [#43](https://github.com/green-code-initiative/creedengo-python/pull/43) Strong renaming plugin from `ecocode-python` to `creedengo-python` (and maven groupid from `io.ecocode` to `io.greencodeinitiative`) - -### Deleted - -## [1.5.0] - 2024-10-04 - -### Changed - -- refactoring docker system -- [#29](https://github.com/green-code-initiative/creedengo-python/issues/29) Add test to ensure all Rules are registered -- [#24](https://github.com/green-code-initiative/creedengo-python/issues/24) Set correct required language because the - plugin wasn't loaded anymore - retro-compatibility modifications (9.9.0 to 10.7 and not compatible before 9.9.0) AND - add support for > 10.5 Sonarqube version (up to 10.7.0) -- update some maven plugin versions and library versions to be up-to-date -- correction of SonarCloud issues - -### Deleted - -- deletion of EC69 rule because of already deprecated (see RULES.md file) - -## [1.4.4] - 2024-07-18 - -### Added - -- [#26](https://github.com/green-code-initiative/creedengo-python/issues/26) [EC89] Avoid unlimited cache - -### Changed - -- [#22](https://github.com/green-code-initiative/creedengo-python/issues/22) Depreciation of EC69 rule for python because - not relevant (after analysis) - -### Deleted - -- [#22](https://github.com/green-code-initiative/creedengo-python/issues/22) Delete deprecated EC66 rule for Python - -## [1.4.3] - 2024-05-15 - -### Added - -- [#18](https://github.com/green-code-initiative/creedengo-python/issues/18) Add support for SonarQube 10.4 " - DownloadOnlyWhenRequired" feature -- Add Support for SonarQube 10.4.1 - -### Changed - -- [#17](https://github.com/green-code-initiative/creedengo-python/issues/17) EC7 - correction setter problem on - constructor method -- check Sonarqube 10.4.1 compatibility + update docker files and README.md / NOT OK with 10.5.x (issue created) - -## [1.4.2] - 2024-01-11 - -### Changed - -- [#14](https://github.com/green-code-initiative/creedengo-python/issues/14) Correction of error with deprecated EC34 rule -- Update ecocode-rules-specifications to 1.4.7 - -## [1.4.1] - 2024-01-05 - -### Added - -- Add 10.3 SonarQube compatibility - -### Changed - -- [#5](https://github.com/green-code-initiative/creedengo-python/pull/5) Upgrade licence system and licence headers of - Java files -- [#6](https://github.com/green-code-initiative/creedengo-python/pull/6) Adding EC35 rule : EC35 rule replaces EC34 with a - specific use case ("file not found" specific) -- [#7](https://github.com/green-code-initiative/creedengo-python/issues/7) Add build number to manifest -- [#123](https://github.com/green-code-initiative/creedengo/issues/123) Improve unit tests for EC7 rule -- Update ecocode-rules-specifications to 1.4.6 -- README.md upgrade : docker test environment -- [#10](https://github.com/green-code-initiative/creedengo-python/issues/10) Correction of NullPointException in EC2 rule - -### Deleted - -- [#4](https://github.com/green-code-initiative/creedengo-python/issues/4) Deprecate rule EC66 for Python because not - applicable (see details inside issue) - -## [1.4.0] - 2023-08-08 - -### Added - -- Python rules moved from `ecocode` repository to current repository -- [#142](https://github.com/green-code-initiative/creedengo/issues/142) new Python rule : Multiple if-else statement + - refactoring implementation -- [#205](https://github.com/green-code-initiative/creedengo/issues/205) compatibility with SonarQube 10.1 - -## Comparison list - -[unreleased](https://github.com/green-code-initiative/creedengo-python/compare/1.5.0...HEAD) -[1.5.0](https://github.com/green-code-initiative/creedengo-python/compare/1.4.4...1.5.0) -[1.4.4](https://github.com/green-code-initiative/creedengo-python/compare/1.4.3...1.4.4) -[1.4.3](https://github.com/green-code-initiative/creedengo-python/compare/1.4.2...1.4.3) -[1.4.2](https://github.com/green-code-initiative/creedengo-python/compare/1.4.1...1.4.2) -[1.4.1](https://github.com/green-code-initiative/creedengo-python/compare/1.4.0...1.4.1) -[1.4.0](https://github.com/green-code-initiative/creedengo-python/releases/tag/1.4.0) diff --git a/README.md b/README.md index b0591f7..d47590d 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ the project is to provide a list of static code analyzers to highlight code stru ecological impact: energy and resources over-consumption, "fatware", shortening terminals' lifespan, etc. _creedengo_ is based on evolving catalogs -of [good practices](https://github.com/green-code-initiative/ecoCode/blob/main/docs/rules), for various technologies. +of [good practices](https://github.com/green-code-initiative/creedengo-rules-specifications/tree/main/docs/rules), for various technologies. This SonarQube plugin then implements these catalogs as rules for scanning your Python projects. @@ -69,17 +69,17 @@ Ready to use binaries are available [from GitHub](https://github.com/green-code- | 1.4.+ | 9.4.+ LTS to 10.4.1 | 11 / 17 | > Compatibility table of versions lower than 1.4.+ are available from the -> main [creedengo repository](https://github.com/green-code-initiative/ecoCode#-plugins-version-compatibility). +> main [creedengo repository](https://github.com/green-code-initiative/creedengo-rules-specifications#-plugins-version-compatibility). 🤝 Contribution --------------- -check [creedengo repository](https://github.com/green-code-initiative/ecoCode#-contribution) +check [creedengo repository](https://github.com/green-code-initiative/creedengo-rules-specifications#-contribution) 🤓 Main contributors -------------------- -check [creedengo repository](https://github.com/green-code-initiative/ecoCode#-main-contributors) +check [creedengo repository](https://github.com/green-code-initiative/creedengo-rules-specifications#-main-contributors) Links ----- diff --git a/RULES.md b/RULES.md index 82af885..29d1d91 100644 --- a/RULES.md +++ b/RULES.md @@ -1 +1 @@ -Please read [RULES.md](https://github.com/green-code-initiative/ecoCode/blob/main/RULES.md) in `creedengo` repository. +Please read [RULES.md](https://github.com/green-code-initiative/creedengo-rules-specifications/blob/main/RULES.md) in `creedengo` repository. diff --git a/pom.xml b/pom.xml index 4355f9c..3049fe3 100644 --- a/pom.xml +++ b/pom.xml @@ -61,7 +61,7 @@ 5.14.1 - 1.0.0 + 2.0.0