Skip to content

Commit 9fbedca

Browse files
committed
creedengo migration - refacto
1 parent c78d491 commit 9fbedca

File tree

4 files changed

+115
-97
lines changed

4 files changed

+115
-97
lines changed

CHANGELOG.md

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

1616
### Deleted
1717

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-
30-
### Deleted
31-
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
39-
40-
### Changed
41-
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
101-
10218
## Comparison list
103-
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: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
### Added
11+
12+
### Changed
13+
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+
30+
### Deleted
31+
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
39+
40+
### Changed
41+
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
101+
102+
## Comparison list
103+
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)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ _creedengo_ is a collective project aiming to reduce environmental footprint of
55
the project is to provide a list of static code analyzers to highlight code structures that may have a negative
66
ecological impact: energy and resources over-consumption, "fatware", shortening terminals' lifespan, etc.
77

8-
_ecoCode_ is based on evolving catalogs
8+
_creedengo_ is based on evolving catalogs
99
of [good practices](https://github.com/green-code-initiative/ecoCode/blob/main/docs/rules), for various technologies.
1010
This
1111
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-
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 [ecoCode repository](https://github.com/green-code-initiative/ecoCode#-plugins-version-compatibility).
72+
> main [creedengo repository](https://github.com/green-code-initiative/ecoCode#-plugins-version-compatibility).
7373
7474
🤝 Contribution
7575
---------------
7676

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

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

82-
check [ecoCode repository](https://github.com/green-code-initiative/ecoCode#-main-contributors)
82+
check [creedengo repository](https://github.com/green-code-initiative/ecoCode#-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 `ecoCode` repository.
1+
Please read [RULES.md](https://github.com/green-code-initiative/ecoCode/blob/main/RULES.md) in `creedengo` repository.

0 commit comments

Comments
 (0)