-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port OpenRewrite to Main #43884
base: main
Are you sure you want to change the base?
Port OpenRewrite to Main #43884
Conversation
sdk/tools/azure-openrewrite/src/main/java/com/azure/recipes/AddTryCatchToMethodCallRecipe.java
Outdated
Show resolved
Hide resolved
sdk/tools/azure-openrewrite/src/main/java/com/azure/recipes/AddTryCatchToMethodCallRecipe.java
Outdated
Show resolved
Hide resolved
sdk/tools/azure-openrewrite/src/main/java/com/azure/recipes/RemoveFixedDelayRecipe.java
Outdated
Show resolved
Hide resolved
sdk/tools/azure-openrewrite/src/main/java/com/azure/recipes/RemoveFixedDelayRecipe.java
Outdated
Show resolved
Hide resolved
...ols/azure-openrewrite/src/main/java/com/azure/openrewrite/AddTryCatchToMethodCallRecipe.java
Outdated
Show resolved
Hide resolved
sdk/tools/azure-openrewrite/src/main/resources/META-INF/rewrite/rewrite.yml
Show resolved
Hide resolved
sdk/tools/azure-openrewrite/src/main/resources/META-INF/rewrite/rewrite.yml
Show resolved
Hide resolved
sdk/tools/azure-openrewrite/src/main/resources/META-INF/rewrite/rewrite.yml
Show resolved
Hide resolved
...ols/azure-openrewrite/src/main/java/com/azure/openrewrite/AddTryCatchToMethodCallRecipe.java
Show resolved
Hide resolved
...ols/azure-openrewrite/src/main/java/com/azure/openrewrite/AddTryCatchToMethodCallRecipe.java
Outdated
Show resolved
Hide resolved
...ols/azure-openrewrite/src/main/java/com/azure/openrewrite/AddTryCatchToMethodCallRecipe.java
Show resolved
Hide resolved
...ols/azure-openrewrite/src/main/java/com/azure/openrewrite/AddTryCatchToMethodCallRecipe.java
Outdated
Show resolved
Hide resolved
...ols/azure-openrewrite/src/main/java/com/azure/openrewrite/AddTryCatchToMethodCallRecipe.java
Show resolved
Hide resolved
eng/versioning/version_client.txt
Outdated
@@ -484,6 +484,7 @@ io.clientcore:core;1.0.0-beta.1;1.0.0-beta.2 | |||
io.clientcore:http-okhttp3;1.0.0-beta.1;1.0.0-beta.1 | |||
io.clientcore:http-stress;1.0.0-beta.1;1.0.0-beta.1 | |||
io.clientcore:optional-dependency-tests;1.0.0-beta.1;1.0.0-beta.1 | |||
com.azure:azure-openrewrite;1.0.0-beta.1;1.0.0-beta.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add this with the rest of the com.azure
packages sorted alphabetically.
sdk/tools/azure-openrewrite/pom.xml
Outdated
<!-- You only need the version that corresponds to your current | ||
Java version. It is fine to add all of them, though, as | ||
they can coexist on a classpath. --> | ||
<dependency> | ||
<groupId>org.openrewrite</groupId> | ||
<artifactId>rewrite-java-17</artifactId> | ||
<scope>runtime</scope> | ||
</dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean we should have dependencies for all versions ranging from 8 to 23 because user apps could be on any of these versions?
@srnagar I will further confirm but I believe this dependency is necessary for developing recipes, not running them. So, we would only need the one that supports our Java baseline. |
This PR moves the work done within the azure/azsdk-java-rewrite-recipes in this repository for continued development of Azure OpenRewrite