From 63af966badb9df1f5d7be15d69f8c994feb81c01 Mon Sep 17 00:00:00 2001 From: Bruno Verachten Date: Thu, 2 Jan 2025 11:51:20 +0100 Subject: [PATCH 1/2] fix(gitpod): Removal of the `export-datatables` deprecated option. --- .gitpod/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitpod/init.sh b/.gitpod/init.sh index 74143d69..c8d3f986 100755 --- a/.gitpod/init.sh +++ b/.gitpod/init.sh @@ -45,7 +45,7 @@ echo -e "If you want to use another GitHub handle, please set the ${color_green} echo -e "\nWe propose you to work with two Jenkins plugin repositories: ${color_cyan}badge-plugin${color_reset} and ${color_cyan}build-timestamp-plugin${color_reset}." echo -e "You could, though, use other plugin repositories as well (like ${color_cyan}plot-plugin${color_reset}) by entering their name in the following ${color_cyan}java${color_reset} command." echo -e "\nYou can now proceed with the modernizer tool thanks to the following commands:" -echo -e "${color_cyan}java -jar plugin-modernizer-cli/target/jenkins-plugin-modernizer-999999-SNAPSHOT.jar dry-run --plugins badge,build-timestamp --recipe AddCodeOwner --export-datatables${color_reset}" +echo -e "${color_cyan}java -jar plugin-modernizer-cli/target/jenkins-plugin-modernizer-999999-SNAPSHOT.jar dry-run --plugins badge,build-timestamp --recipe AddCodeOwner${color_reset}" echo -e "\nBy the way, you can copy/paste from/to the terminal to execute the commands (⇧+^+C or ⇧+⌘+C and then ⇧+^+V, ⇧+Ins, or ⇧+⌘+V). Enjoy! 🚀" echo -e "See ${color_blue}https://www.gitpod.io/docs/configure/user-settings/browser-settings#browser-settings${color_reset} to know more.\n" From 56197911d736a0c6ee00611819fd9739f8ed1b2d Mon Sep 17 00:00:00 2001 From: Bruno Verachten Date: Thu, 2 Jan 2025 11:53:07 +0100 Subject: [PATCH 2/2] fix(gitpod): Removal of the `export-datatables` deprecated option. --- README.md | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/README.md b/README.md index b9fec136..03db49d4 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,6 @@ Learn more at [this project page](https://www.jenkins.io/projects/gsoc/2024/proj - [Examples](#examples) - [without dry-run](#without-dry-run) - [with dry-run](#with-dry-run) - - [with export-datatables](#with-export-datatables) ## Getting Started @@ -218,20 +217,6 @@ The above command generates patch files instead of applying changes directly. Th > [!Note] > Enable dry-run to avoid opening pull requests in the remote repositories. -### with export-datatables - -```shell -plugin-modernizer dry-run --plugins git,git-client,jobcacher --recipe AddPluginsBom --export-datatables -``` - -The above command creates a report of the changes made through OpenRewrite in csv format. The report will be generated in `target/rewrite/datatables` inside the plugin directory. - -See example generated files: -- [RecipeRunStats.csv](docs/example-rewrite-datatable/org.openrewrite.table.RecipeRunStats.csv) -- [SourcesFileResults.csv](docs/example-rewrite-datatable/org.openrewrite.table.SourcesFileResults.csv) - -More about [Openrewrite Data Tables](https://docs.openrewrite.org/running-recipes/data-tables) - ## Running with Docker You can use the Docker image supplied by this project to run the Plugin Modernizer Tool without needing to install Java or Maven on your local machine.