Skip to content

Commit

Permalink
Merge pull request #211 from green-code-initiative/feature-remove-jav…
Browse files Browse the repository at this point in the history
…ascript

Remove JavaScript plugin
  • Loading branch information
utarwyn authored Jul 18, 2023
2 parents 5d0011d + 469837c commit 2212915
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 386 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/manual_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,27 +89,6 @@ jobs:
asset_path: lib/ecocode-java-plugin-${{ needs.build.outputs.last_tag }}.jar
asset_name: ecocode-java-plugin-${{ needs.build.outputs.last_tag }}.jar
asset_content_type: application/zip
upload-javascript:
name: Upload JavaScript Plugin
runs-on: ubuntu-latest
needs: build
steps:
- name: Import plugin JAR files
id: import_jar_files
uses: actions/download-artifact@v3
with:
name: ecocode-plugins
path: lib
- name: Upload Release Asset - JavaScript Plugin
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{needs.build.outputs.upload_url}}
asset_path: lib/ecocode-javascript-plugin-${{ needs.build.outputs.last_tag }}.jar
asset_name: ecocode-javascript-plugin-${{ needs.build.outputs.last_tag }}.jar
asset_content_type: application/zip
upload-php:
name: Upload PHP Plugin
runs-on: ubuntu-latest
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/tag_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,27 +69,6 @@ jobs:
asset_path: lib/ecocode-java-plugin-${{ github.ref_name }}.jar
asset_name: ecocode-java-plugin-${{ github.ref_name }}.jar
asset_content_type: application/zip
upload-javascript:
name: Upload JavaScript Plugin
runs-on: ubuntu-latest
needs: build
steps:
- name: Import plugin JAR files
id: import_jar_files
uses: actions/download-artifact@v3
with:
name: ecocode-plugins
path: lib
- name: Upload Release Asset - JavaScript Plugin
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{needs.build.outputs.upload_url}}
asset_path: lib/ecocode-javascript-plugin-${{ github.ref_name }}.jar
asset_name: ecocode-javascript-plugin-${{ github.ref_name }}.jar
asset_content_type: application/zip
upload-php:
name: Upload PHP Plugin
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Deleted

- [#211](https://github.com/green-code-initiative/ecoCode/pull/211) Move JavaScript plugin to its dedicated repository

## [1.3.0] - 2023-07-04

### Added
Expand Down
3 changes: 0 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ ecoCode # Root directory
|
+--java-plugin # JAVA
|
+--javascript-plugin # JavaScript
|
+--php-plugin # PHP
|
+--python-plugin # Python
Expand All @@ -38,6 +36,5 @@ Plugin-specific guides
----------------------

- [Java how-to](java-plugin/README.md)
- [JavaScript how-to](javascript-plugin/README.md)
- [Python how-to](python-plugin/README.md)
- [PHP how-to](php-plugin/README.md)
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ refer to the contribution section.
4 technologies are supported by ecoCode right now:

- [Java](java-plugin/)
- [JavaScript](javascript-plugin/)
- [JavaScript](https://github.com/green-code-initiative/ecoCode-javascript)
- [PHP](php-plugin/)
- [Python](python-plugin/)

Expand Down Expand Up @@ -48,8 +48,6 @@ For example, you’ll be able to access of all your `for` loop, to explore conte

To better understand AST structure, you can use the [AST Explorer](https://astexplorer.net/).

JavaScript plugin works differently because it does not use AST. [More information here](javascript-plugin/README.md)

🚀 Getting Started
------------------

Expand Down
3 changes: 0 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ services:
- type: bind
source: ./java-plugin/target/ecocode-java-plugin-1.3.1-SNAPSHOT.jar
target: /opt/sonarqube/extensions/plugins/ecocode-java-plugin-1.3.1-SNAPSHOT.jar
- type: bind
source: ./javascript-plugin/target/ecocode-javascript-plugin-1.3.1-SNAPSHOT.jar
target: /opt/sonarqube/extensions/plugins/ecocode-javascript-plugin-1.3.1-SNAPSHOT.jar
- type: bind
source: ./php-plugin/target/ecocode-php-plugin-1.3.1-SNAPSHOT.jar
target: /opt/sonarqube/extensions/plugins/ecocode-php-plugin-1.3.1-SNAPSHOT.jar
Expand Down
22 changes: 0 additions & 22 deletions javascript-plugin/README.md

This file was deleted.

130 changes: 0 additions & 130 deletions javascript-plugin/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2212915

Please sign in to comment.