Skip to content

Commit 0c4e875

Browse files
committed
end of creedengo migration
1 parent 3ac4a27 commit 0c4e875

File tree

5 files changed

+95
-120
lines changed

5 files changed

+95
-120
lines changed

CHANGELOG.md

Lines changed: 89 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,100 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
- [#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`)
15+
16+
### Deleted
17+
18+
## [1.5.0] - 2024-10-04
19+
20+
### Changed
21+
22+
- refactoring docker system
23+
- [#29](https://github.com/green-code-initiative/creedengo-python/issues/29) Add test to ensure all Rules are registered
24+
- [#24](https://github.com/green-code-initiative/creedengo-python/issues/24) Set correct required language because the
25+
plugin wasn't loaded anymore - retro-compatibility modifications (9.9.0 to 10.7 and not compatible before 9.9.0) AND
26+
add support for > 10.5 Sonarqube version (up to 10.7.0)
27+
- update some maven plugin versions and library versions to be up-to-date
28+
- correction of SonarCloud issues
29+
1430
### Deleted
1531

16-
## [1.0.0] - 2024-12-09
32+
- deletion of EC69 rule because of already deprecated (see RULES.md file)
33+
34+
## [1.4.4] - 2024-07-18
35+
36+
### Added
37+
38+
- [#26](https://github.com/green-code-initiative/creedengo-python/issues/26) [EC89] Avoid unlimited cache
1739

1840
### Changed
1941

20-
- [#43](https://github.com/green-code-initiative/creedengo-python/pull/43) Migration from `ecocode-python` to `creedengo-python`
42+
- [#22](https://github.com/green-code-initiative/creedengo-python/issues/22) Depreciation of EC69 rule for python because
43+
not relevant (after analysis)
44+
45+
### Deleted
46+
47+
- [#22](https://github.com/green-code-initiative/creedengo-python/issues/22) Delete deprecated EC66 rule for Python
48+
49+
## [1.4.3] - 2024-05-15
50+
51+
### Added
52+
53+
- [#18](https://github.com/green-code-initiative/creedengo-python/issues/18) Add support for SonarQube 10.4 "
54+
DownloadOnlyWhenRequired" feature
55+
- Add Support for SonarQube 10.4.1
56+
57+
### Changed
58+
59+
- [#17](https://github.com/green-code-initiative/creedengo-python/issues/17) EC7 - correction setter problem on
60+
constructor method
61+
- check Sonarqube 10.4.1 compatibility + update docker files and README.md / NOT OK with 10.5.x (issue created)
62+
63+
## [1.4.2] - 2024-01-11
64+
65+
### Changed
66+
67+
- [#14](https://github.com/green-code-initiative/creedengo-python/issues/14) Correction of error with deprecated EC34 rule
68+
- Update ecocode-rules-specifications to 1.4.7
69+
70+
## [1.4.1] - 2024-01-05
71+
72+
### Added
73+
74+
- Add 10.3 SonarQube compatibility
75+
76+
### Changed
77+
78+
- [#5](https://github.com/green-code-initiative/creedengo-python/pull/5) Upgrade licence system and licence headers of
79+
Java files
80+
- [#6](https://github.com/green-code-initiative/creedengo-python/pull/6) Adding EC35 rule : EC35 rule replaces EC34 with a
81+
specific use case ("file not found" specific)
82+
- [#7](https://github.com/green-code-initiative/creedengo-python/issues/7) Add build number to manifest
83+
- [#123](https://github.com/green-code-initiative/creedengo/issues/123) Improve unit tests for EC7 rule
84+
- Update ecocode-rules-specifications to 1.4.6
85+
- README.md upgrade : docker test environment
86+
- [#10](https://github.com/green-code-initiative/creedengo-python/issues/10) Correction of NullPointException in EC2 rule
87+
88+
### Deleted
89+
90+
- [#4](https://github.com/green-code-initiative/creedengo-python/issues/4) Deprecate rule EC66 for Python because not
91+
applicable (see details inside issue)
92+
93+
## [1.4.0] - 2023-08-08
94+
95+
### Added
96+
97+
- Python rules moved from `ecocode` repository to current repository
98+
- [#142](https://github.com/green-code-initiative/creedengo/issues/142) new Python rule : Multiple if-else statement +
99+
refactoring implementation
100+
- [#205](https://github.com/green-code-initiative/creedengo/issues/205) compatibility with SonarQube 10.1
21101

22102
## Comparison list
23103

24-
[unreleased](https://github.com/green-code-initiative/creedengo-python/compare/1.0.0...HEAD)
25-
[1.0.0](https://github.com/green-code-initiative/creedengo-python/releases/tag/1.0.0)
104+
[unreleased](https://github.com/green-code-initiative/creedengo-python/compare/1.5.0...HEAD)
105+
[1.5.0](https://github.com/green-code-initiative/creedengo-python/compare/1.4.4...1.5.0)
106+
[1.4.4](https://github.com/green-code-initiative/creedengo-python/compare/1.4.3...1.4.4)
107+
[1.4.3](https://github.com/green-code-initiative/creedengo-python/compare/1.4.2...1.4.3)
108+
[1.4.2](https://github.com/green-code-initiative/creedengo-python/compare/1.4.1...1.4.2)
109+
[1.4.1](https://github.com/green-code-initiative/creedengo-python/compare/1.4.0...1.4.1)
110+
[1.4.0](https://github.com/green-code-initiative/creedengo-python/releases/tag/1.4.0)

CHANGELOG_ecocode-python.md

Lines changed: 0 additions & 110 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ the project is to provide a list of static code analyzers to highlight code stru
66
ecological impact: energy and resources over-consumption, "fatware", shortening terminals' lifespan, etc.
77

88
_creedengo_ is based on evolving catalogs
9-
of [good practices](https://github.com/green-code-initiative/ecoCode/blob/main/docs/rules), for various technologies.
9+
of [good practices](https://github.com/green-code-initiative/creedengo-rules-specifications/tree/main/docs/rules), for various technologies.
1010
This
1111
SonarQube plugin then implements these catalogs as rules for scanning your Python projects.
1212

@@ -69,17 +69,17 @@ Ready to use binaries are available [from GitHub](https://github.com/green-code-
6969
| 1.4.+ | 9.4.+ LTS to 10.4.1 | 11 / 17 |
7070

7171
> Compatibility table of versions lower than 1.4.+ are available from the
72-
> main [creedengo repository](https://github.com/green-code-initiative/ecoCode#-plugins-version-compatibility).
72+
> main [creedengo repository](https://github.com/green-code-initiative/creedengo-rules-specifications#-plugins-version-compatibility).
7373
7474
🤝 Contribution
7575
---------------
7676

77-
check [creedengo repository](https://github.com/green-code-initiative/ecoCode#-contribution)
77+
check [creedengo repository](https://github.com/green-code-initiative/creedengo-rules-specifications#-contribution)
7878

7979
🤓 Main contributors
8080
--------------------
8181

82-
check [creedengo repository](https://github.com/green-code-initiative/ecoCode#-main-contributors)
82+
check [creedengo repository](https://github.com/green-code-initiative/creedengo-rules-specifications#-main-contributors)
8383

8484
Links
8585
-----

RULES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Please read [RULES.md](https://github.com/green-code-initiative/ecoCode/blob/main/RULES.md) in `creedengo` repository.
1+
Please read [RULES.md](https://github.com/green-code-initiative/creedengo-rules-specifications/blob/main/RULES.md) in `creedengo` repository.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<mockito.version>5.14.1</mockito.version>
6262

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

6666
</properties>
6767

0 commit comments

Comments
 (0)