Skip to content

Commit

Permalink
Merge pull request #557 from jenkins-infra/gounthar-patch-1
Browse files Browse the repository at this point in the history
fix(gitpod): Removal of the `export-datatables` deprecated option.
  • Loading branch information
jonesbusy authored Jan 2, 2025
2 parents ad95451 + 5619791 commit 9a91821
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion .gitpod/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 9a91821

Please sign in to comment.