-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Adjustments for the info and update commands #22999
Conversation
About |
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 306e21a
Full information is available in the Build summary check run. Failures⚙️ Gradle Tests - JDK 11 Windows #- Failing: integration-tests/gradle
📦 integration-tests/gradle✖
|
@aloubyansky were you able to improve a bit the ordering of things to update? |
No, I haven't yet. I can look into that and add it to this change. |
306e21a
to
1a8c6bc
Compare
Fixed the ordering. |
...ools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks/QuarkusInfo.java
Outdated
Show resolved
Hide resolved
1a8c6bc
to
b6bf2f6
Compare
b6bf2f6
to
b00e8a7
Compare
This workflow status is outdated as a new workflow run has been triggered. |
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building b00e8a7
Full information is available in the Build summary check run. Failures⚙️ Gradle Tests - JDK 11 #- Failing: integration-tests/gradle
📦 integration-tests/gradle✖
⚙️ Gradle Tests - JDK 11 Windows #- Failing: integration-tests/gradle
📦 integration-tests/gradle✖
✖
|
b00e8a7
to
86ae1e2
Compare
Added update instructions for extensions that are moved in to/out of the platform between releases. |
86ae1e2
to
36d9b43
Compare
This workflow status is outdated as a new workflow run has been triggered. |
@@ -34,6 +34,9 @@ public QuarkusInfo() { | |||
|
|||
@TaskAction | |||
public void logInfo() { | |||
|
|||
getProject().getLogger().warn("This task is experimental, its options and output might change in future versions"); |
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.
getProject().getLogger().warn("This task is experimental, its options and output might change in future versions"); | |
getProject().getLogger().warn("quarkus info is experimental, its options and output might change in future versions"); |
In maven output this comes possibly many many lines away from what you just executed thus better to be explicit.
@@ -55,6 +55,9 @@ public QuarkusUpdate() { | |||
|
|||
@TaskAction | |||
public void logUpdates() { | |||
|
|||
getProject().getLogger().warn("This task is experimental, its options and output might change in future versions"); |
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.
getProject().getLogger().warn("This task is experimental, its options and output might change in future versions"); | |
getProject().getLogger().warn("quarkus update is experimental, its options and output might change in future versions"); |
@@ -20,6 +20,12 @@ | |||
@Mojo(name = "info", requiresProject = true) | |||
public class InfoMojo extends QuarkusProjectStateMojoBase { | |||
|
|||
@Override | |||
protected void validateParameters() throws MojoExecutionException { | |||
getLog().warn("This task is experimental, its options and output might change in future versions"); |
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.
getLog().warn("This task is experimental, its options and output might change in future versions"); | |
getLog().warn("quarkus info is experimental, its options and output might change in future versions"); |
Looks good - added just comment to be explicit. A few quirks I found. mvn running update on a newly created project it prints:
nothing else - maybe have a "Project extensions are aligned with the platform. No recommendations found." instead? On how to word it, I'm wondering if just write about aligned with platform vs non-aligned with platform when it comes to version differences.? |
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.
looks good just be more explicit to the user.
…ngle instance of the catalog resolver for the update, make sure update to the current platform version isn't suggested
36d9b43
to
3835da7
Compare
All fixed. |
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.
lgtm
Adjustments following feedback on #22979
Looking for the newly published extensions in registry.quarkus.io
logged twice)Update: io.quarkus.platform:quarkus-bom:pom:2.6.2.Final -> 2.6.2.Final
)