Skip to content

Commit

Permalink
rollback somes renaming changes for a specific PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Lmgrto committed Nov 19, 2024
1 parent d959ce0 commit e9f187f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- [#14](https://github.com/green-code-initiative/creedengo-python/issues/14) Correction of error with deprecated EC34 rule
- Update creedengo-rules-specifications to 1.4.7
- Update ecocode-rules-specifications to 1.4.7

## [1.4.1] - 2024-01-05

Expand All @@ -79,7 +79,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
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 creedengo-rules-specifications to 1.4.6
- 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

Expand All @@ -92,7 +92,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Python rules moved from `creedengo` repository to current repository
- 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
Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>io.creedengo</groupId>
<groupId>io.ecocode</groupId>
<artifactId>creedengo-python-plugin</artifactId>
<version>1.5.1-SNAPSHOT</version>
<packaging>sonar-plugin</packaging>
Expand Down Expand Up @@ -61,15 +61,15 @@
<mockito.version>5.14.1</mockito.version>

<!-- temporary version waiting for real automatic release in creedengo repository -->
<creedengo-rules-specifications.version>1.6.4</creedengo-rules-specifications.version>
<ecocode-rules-specifications.version>1.6.4</ecocode-rules-specifications.version>

</properties>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>creedengo-rules-specifications</artifactId>
<version>${creedengo-rules-specifications.version}</version>
<artifactId>ecocode-rules-specifications</artifactId>
<version>${ecocode-rules-specifications.version}</version>
<classifier>python</classifier>
</dependency>

Expand Down Expand Up @@ -221,7 +221,7 @@
</excludes>
</filter>
<filter>
<artifact>io.creedengo:creedengo-rules-specifications:*</artifact>
<artifact>io.ecocode:ecocode-rules-specifications:*</artifact>
<excludes>
<exclude>META-INF/**</exclude>
</excludes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public class PythonRuleRepository implements RulesDefinition, PythonCustomRuleRe
);

public static final String LANGUAGE = "py";
public static final String NAME = "creedengo";
public static final String RESOURCE_BASE_PATH = "io/creedengo/rules/python";
public static final String REPOSITORY_KEY = "creedengo-python";
public static final String NAME = "ecocode";
public static final String RESOURCE_BASE_PATH = "io/ecocode/rules/python";
public static final String REPOSITORY_KEY = "ecocode-python";

private final SonarRuntime sonarRuntime;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ void init() {
@Test
@DisplayName("Test repository metadata")
void testMetadata() {
assertThat(repository.name()).isEqualTo("creedengo");
assertThat(repository.name()).isEqualTo("ecocode");
assertThat(repository.language()).isEqualTo("py");
assertThat(repository.key()).isEqualTo("creedengo-python");
assertThat(repository.key()).isEqualTo("ecocode-python");
}

@Test
Expand Down

0 comments on commit e9f187f

Please sign in to comment.