Skip to content

Commit

Permalink
end of creedengo migration
Browse files Browse the repository at this point in the history
  • Loading branch information
dedece35 committed Dec 12, 2024
1 parent 3ac4a27 commit 0c4e875
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 120 deletions.
93 changes: 89 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
[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)
110 changes: 0 additions & 110 deletions CHANGELOG_ecocode-python.md

This file was deleted.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
-----
Expand Down
2 changes: 1 addition & 1 deletion RULES.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<mockito.version>5.14.1</mockito.version>

<!-- temporary version waiting for a real automatic release in creedengo repository -->
<creedengo-rules-specifications.version>1.0.0</creedengo-rules-specifications.version>
<creedengo-rules-specifications.version>2.0.0</creedengo-rules-specifications.version>

</properties>

Expand Down

0 comments on commit 0c4e875

Please sign in to comment.