-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Wire extension updates in quarkus update #35191
Conversation
@gsmet nice, this is exactly what I had in mind! Thanks this is one less thing in my todo list :) |
@aloubyansky could you have a look at this one? I think we will want it in 3.2 maybe. |
This comment has been minimized.
This comment has been minimized.
for (ExtensionUpdateInfo nonPlatformExtensionsUpdate : nonPlatformExtensionsUpdates) { | ||
if (nonPlatformExtensionsUpdate.getCurrentDep().isPlatformExtension()) { | ||
// add, my understanding is that we should define the version? As a dependency, as a managed one? | ||
// not completely sure how to make it work for a multi-module project? |
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.
Should we log something in this case? AFAIU, we are not applying any update in this case.
// not completely sure how to make it work for a multi-module project? | ||
} else if (nonPlatformExtensionsUpdate.getRecommendedDependency().isPlatformExtension()) { | ||
// remove, decide what to do here, should we remove the version given it is now managed? Will OpenRewrite support that? | ||
// not completely sure how to make it work for a multi-module project? |
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.
Same here?
Note that this is a preliminar effort and it is not handling all the possibilities. Handling the other possibilities might be problematic given how we apply the recipes to a root module of a multi-module project.
5ed04ce
to
53219e6
Compare
@aloubyansky I think we should get this one in even if not perfect. I'm not sure I fully understand the two other cases so if you want something logged you would have to finish this. |
Ok, those are not usual cases. |
This is a relatively naive and simple approach but it seems to work OK.
Note that this is a preliminar effort and it is not handling all the
possibilities.
Handling the other possibilities might be problematic given how we apply
the recipes to a root module of a multi-module project.
@aloubyansky I would be interested in your feedback.
/cc @ia3andy @aloubyansky