Skip to content

Commit 63cfff1

Browse files
authored
Merge pull request #69 from green-code-initiative/TEC_RENAME_REPO
rename repo ecoCode-mobile to ecoCode-android
2 parents 9b275d0 + 7410129 commit 63cfff1

File tree

9 files changed

+32
-30
lines changed

9 files changed

+32
-30
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ jobs:
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
46-
run: mvn -e -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=green-code-initiative_ecoCode-mobile
46+
run: mvn -e -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=green-code-initiative_ecocode-android

.github/workflows/build_container.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ on:
1414

1515
env:
1616
# github.repository as <account>/<repo>
17-
IMAGE_NAME: sonarqube-ecocode-mobile
17+
IMAGE_NAME: sonarqube-ecocode-android
1818
IMAGES: |
19-
ghcr.io/${{ github.repository_owner }}/sonarqube-ecocode-mobile
19+
ghcr.io/${{ github.repository_owner }}/sonarqube-ecocode-android
2020
PLATFORMS: linux/amd64,linux/arm64/v8
2121
jobs:
2222
Build:

CHANGELOG.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414

1515
### Changed
1616

17+
- rename repository `ecoCode-mobile` to `ecoCode-android`
18+
1719
### Deleted
1820

1921
- Moved iOS plugin to its [own repository](https://github.com/green-code-initiative/ecoCode-ios).
@@ -28,30 +30,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2830

2931
### Added
3032

31-
- [#5](https://github.com/green-code-initiative/ecoCode-mobile/pull/5) Add IOS plugin delivery
33+
- [#5](https://github.com/green-code-initiative/ecocode-android/pull/5) Add IOS plugin delivery
3234
- Add `CONTRIBUTING.md`
3335
- Add `CODE_STYLE.md`
3436
- move `INSTALL.md` to common doc in `ecoCode-common` repository
3537

3638
### Changed
3739

3840
- upgrade SonarQube version to 9.9
39-
- [#27](https://github.com/green-code-initiative/ecoCode-mobile/pull/27) preparation for Plugin SonarSource Marketplace integration
41+
- [#27](https://github.com/green-code-initiative/ecocode-android/pull/27) preparation for Plugin SonarSource Marketplace integration
4042
- docker / docker-compose upgrade
4143
- update documentation
4244
- upgrade RULES
43-
- [#28](https://github.com/green-code-initiative/ecoCode-mobile/pull/28) Add minSdk and targetSdk
44-
- [#4](https://github.com/green-code-initiative/ecoCode-mobile/pull/4) minSdk and targetSdk properties must be supported too
45-
- [#23](https://github.com/green-code-initiative/ecoCode-mobile/issues/23) Fix CodeNarc issue
46-
- [#20](https://github.com/green-code-initiative/ecoCode-mobile/issues/20) Refactoring `cnumr` to `greencodeinitiative`
45+
- [#28](https://github.com/green-code-initiative/ecocode-android/pull/28) Add minSdk and targetSdk
46+
- [#4](https://github.com/green-code-initiative/ecocode-android/pull/4) minSdk and targetSdk properties must be supported too
47+
- [#23](https://github.com/green-code-initiative/ecocode-android/issues/23) Fix CodeNarc issue
48+
- [#20](https://github.com/green-code-initiative/ecocode-android/issues/20) Refactoring `cnumr` to `greencodeinitiative`
4749

4850
## [0.1.0] - 2023-01-03
4951

5052
### Added
5153

52-
- [#13](https://github.com/green-code-initiative/ecoCode-mobile/pull/13) Upgrade some versions + sonar version from 9.3
54+
- [#13](https://github.com/green-code-initiative/ecocode-android/pull/13) Upgrade some versions + sonar version from 9.3
5355
to 9.8
54-
- [#14](https://github.com/green-code-initiative/ecoCode-mobile/issues/14) Improve release system
56+
- [#14](https://github.com/green-code-initiative/ecocode-android/issues/14) Improve release system
5557

5658
### Changed
5759

INSTALL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- [Common installation notes / requirements](#common-installation-notes--requirements)
2-
- [Special points for Mobile plugins](#special-points-for-mobile-plugins)
2+
- [Special points for Android plugins](#special-points-for-android-plugins)
33
- [Project structure](#project-structure)
44
- [Howto build the SonarQube ecoCode plugins](#howto-build-the-sonarqube-ecocode-plugins)
55
- [Preliminary steps (only Android)](#preliminary-steps-only-android)
@@ -10,7 +10,7 @@ Common installation notes / requirements
1010

1111
Please read common [INSTALL.md](https://github.com/green-code-initiative/ecoCode-common/blob/main/doc/INSTALL.md) in `ecoCode-common` repository.
1212

13-
Special points for Mobile plugins
13+
Special points for Android plugins
1414
=================================
1515

1616
Project structure
@@ -19,7 +19,7 @@ Project structure
1919
Here is a preview of project tree :
2020

2121
```txt
22-
ecoCode-mobile # Root directory
22+
ecocode-android # Root directory
2323
|
2424
+--android-plugin # Android
2525
|

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ docker run -ti --rm \
3131
-v sq_ecocode_mobile_logs:/opt/sonarqube/logs \
3232
-v sq_ecocode_mobile_data:/opt/sonarqube/data \
3333
-p 9000:9000 \
34-
--name sonarqube-ecocode-mobile \
35-
ghcr.io/green-code-initiative/sonarqube-ecocode-mobile:latest
34+
--name sonarqube-ecocode-android \
35+
ghcr.io/green-code-initiative/sonarqube-ecocode-android:latest
3636
```
3737

3838
Wait a little bit during first start initialization, and go to [http://localhost:9000](http://localhost:9000). Default credentials are `admin`/`admin`
@@ -73,7 +73,7 @@ If you use ecoCode in an academic work we would be really glad if you cite our s
7373
🛒 Distribution
7474
---------------
7575

76-
Ready to use binaries are available [from GitHub](https://github.com/green-code-initiative/ecoCode-mobile/releases).
76+
Ready to use binaries are available [from GitHub](https://github.com/green-code-initiative/ecocode-android/releases).
7777

7878
🧩 Plugins version compatibility
7979
------------------

android-plugin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<parent>
66
<groupId>io.ecocode</groupId>
7-
<artifactId>ecocode-mobile-parent</artifactId>
7+
<artifactId>ecocode-android-parent</artifactId>
88
<version>1.0.2-SNAPSHOT</version>
99
</parent>
1010

@@ -14,7 +14,7 @@
1414
<name>ecoCode Android plugin</name>
1515
<description>Help the earth, adopt this green plugin for your applications</description>
1616
<inceptionYear>2020</inceptionYear>
17-
<url>https://github.com/green-code-initiative/ecoCode-mobile/tree/main/android-plugin</url>
17+
<url>https://github.com/green-code-initiative/ecocode-android/tree/main/android-plugin</url>
1818

1919
<properties>
2020
<sslr.version>1.21</sslr.version>

codenarc-converter/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<parent>
66
<groupId>io.ecocode</groupId>
7-
<artifactId>ecocode-mobile-parent</artifactId>
7+
<artifactId>ecocode-android-parent</artifactId>
88
<version>1.0.2-SNAPSHOT</version>
99
</parent>
1010

@@ -13,7 +13,7 @@
1313
<name>Sonar CodeNarc Converter</name>
1414
<description>Help the earth, adopt this green plugin for your applications</description>
1515
<inceptionYear>2020</inceptionYear>
16-
<url>https://github.com/green-code-initiative/ecoCode-mobile/tree/main/codenarc-converter</url>
16+
<url>https://github.com/green-code-initiative/ecocode-android/tree/main/codenarc-converter</url>
1717

1818
<properties>
1919
<codenarc.version>2.2.3</codenarc.version>

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
build:
55
dockerfile: Dockerfile
66
context: .
7-
container_name: sonar_ecocode-mobile
7+
container_name: sonar_ecocode-android
88
ports:
99
- "9000:9000"
1010
networks:
@@ -25,7 +25,7 @@ services:
2525

2626
db:
2727
image: postgres:12
28-
container_name: postgresql_ecocode-mobile
28+
container_name: postgresql_ecocode-android
2929
networks:
3030
- sonarnet
3131
volumes:

pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<modelVersion>4.0.0</modelVersion>
44

55
<groupId>io.ecocode</groupId>
6-
<artifactId>ecocode-mobile-parent</artifactId>
6+
<artifactId>ecocode-android-parent</artifactId>
77
<version>1.0.2-SNAPSHOT</version>
88
<packaging>pom</packaging>
99

10-
<name>ecoCode Mobile Sonar Plugins Project</name>
10+
<name>ecoCode Android Sonar Plugins Project</name>
1111
<description>Les règles s'appuient sur l'édition 3 du livre "Ecoconception Web / Les 115 bonnes pratiques" =&gt; https://collectif.greenit.fr/ecoconception-web/115-bonnes-pratiques-eco-conception_web.html</description>
12-
<url>https://github.com/green-code-initiative/ecocode-mobile</url>
12+
<url>https://github.com/green-code-initiative/ecocode-android</url>
1313
<organization>
1414
<name>Green code Initiative</name>
1515
<url>https://collectif.greenit.fr</url>
@@ -23,12 +23,12 @@
2323
</licenses>
2424
<issueManagement>
2525
<system>GitHub</system>
26-
<url>https://github.com/green-code-initiative/ecocode-mobile/issues</url>
26+
<url>https://github.com/green-code-initiative/ecocode-android/issues</url>
2727
</issueManagement>
2828
<scm>
29-
<connection>scm:git:https://github.com/green-code-initiative/ecocode-mobile</connection>
30-
<developerConnection>scm:git:https://github.com/green-code-initiative/ecocode-mobile</developerConnection>
31-
<url>https://github.com/green-code-initiative/ecocode-mobile</url>
29+
<connection>scm:git:https://github.com/green-code-initiative/ecocode-android</connection>
30+
<developerConnection>scm:git:https://github.com/green-code-initiative/ecocode-android</developerConnection>
31+
<url>https://github.com/green-code-initiative/ecocode-android</url>
3232
<tag>HEAD</tag>
3333
</scm>
3434

0 commit comments

Comments
 (0)