Skip to content

CQA for CLI guide Feb 26#306

Open
anarnold97 wants to merge 9 commits intomigtools:mainfrom
anarnold97:CQA-CLI-guide-Feb26
Open

CQA for CLI guide Feb 26#306
anarnold97 wants to merge 9 commits intomigtools:mainfrom
anarnold97:CQA-CLI-guide-Feb26

Conversation

@anarnold97
Copy link
Collaborator

@anarnold97 anarnold97 commented Feb 11, 2026

Summary



1. Red Hat Style & Wording Fixes (docs/topics/mta-cli/)

File Change
proc_reviewing-analysis-issues-and-incidents.adoc "command-lie" → "command-line"; "click on" → "click".
proc_accessing-analysis-report.adoc "click on" → "click".
proc_analyzing-single-app-with-mta-cli.adoc "click on" → "click".
ref_openrewrite-command-options.adoc "openrewrite" → "OpenRewrite" (title and body).
ref_mta-cli-analyze-flags.adoc "open-source" → "open source"; "may" → "might".
proc_generating-deployment-manifest.adoc "transition" → "move".
proc_running-the-containerless-mta-cli.adoc "desired" → "not needed"; "execute" → "run".
ref_effort-level-estimation.adoc "may need" → "might need".
ref_supported-migration-paths.adoc "EAP" → "JBoss EAP" in footnote text.

2. Spelling / Vocab (Red Hat style)

  • Spelling filters/accept: containerless, bool, stringArray, rearchitecture, Rearchitecture, Thorntail (in .github/styles/RedHat/Spelling.yml).

3. Vale Result

  • Scope: docs/cli-guide/*.adoc, assemblies/cli-guide/*.adoc, docs/topics/mta-cli/*.adoc, docs/topics/templates/document-attributes.adoc, docs/topics/making-open-source-more-inclusive.adoc.
  • Result: 0 errors, 0 warnings, 0 suggestions in 35 files.

Summary by CodeRabbit

  • Documentation
    • Improved formatting of warning and important notices for better readability.
    • Enhanced instructions with clearer wording and consistent phrasing throughout guides.
    • Added detailed procedures and examples for deployment manifest generation.
    • Included JVM memory configuration notes and command usage examples.
    • Fixed terminology and grammar corrections for accuracy.

Signed-off-by: A.Arnold <anarnold@redhat.com>
@coderabbitai
Copy link

coderabbitai bot commented Feb 11, 2026

Warning

Rate limit exceeded

@anarnold97 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 19 minutes and 21 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between b3ee7af and 1bafeb3.

📒 Files selected for processing (1)
  • docs/topics/mta-cli/ref_supported-migration-paths.adoc
📝 Walkthrough

Walkthrough

This PR updates MTA CLI documentation with formatting improvements, terminology corrections, and content enhancements. Changes include converting inline warnings to AsciiDoc admonition blocks, standardizing action verbs in procedures, adding command examples and prerequisites, and refining wording across multiple reference documents.

Changes

Cohort / File(s) Summary
Admonition Block Formatting
assemblies/cli-guide/assembly_analyzing-nonjava-applications.adoc, assemblies/cli-guide/assembly_performing-transformation.adoc
Converted inline plain text warnings to formatted AsciiDoc [IMPORTANT] admonition blocks for improved visual presentation.
Procedure Content Enhancements
docs/topics/mta-cli/proc_accessing-analysis-report.adoc, docs/topics/mta-cli/proc_analyzing-single-app-with-mta-cli.adoc, docs/topics/mta-cli/proc_generating-deployment-manifest.adoc, docs/topics/mta-cli/proc_reviewing-analysis-issues-and-incidents.adoc, docs/topics/mta-cli/proc_running-the-containerless-mta-cli.adoc
Added subs directives, new prerequisites and procedure sections, command examples with Quarkus Maven plugin snippet, JVM memory caveats, and standardized action verbs (removed "on" before click actions).
Reference Documentation Updates
docs/topics/mta-cli/ref_effort-level-estimation.adoc, docs/topics/mta-cli/ref_mta-cli-analyze-flags.adoc, docs/topics/mta-cli/ref_supported-migration-paths.adoc
Minor wording refinements including "may"→"might", "open-source"→"open source", terminology corrections ("command-lie"→"command-line"), and updated footnote text for consistency.
Document Structure
docs/cli-guide/master.adoc
Reordered include directive placing document-attributes after title instead of before, affecting initial document attribute initialization.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 The docs hop brighter now, with admonitions bold and clear,
Warnings wrapped in proper blocks—oh what a cheerful cheer!
From "may" to "might" we dance along, our grammar now precise,
Examples bloom like carrots sweet, a documented device! 🥕

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'CQA for CLI guide Feb 26' is vague and generic, using non-descriptive abbreviations (CQA, Feb 26) that don't convey meaningful information about the changeset without additional context. Revise the title to describe the actual changes, such as 'Update CLI guide documentation style and wording for Red Hat standards' or 'Apply style corrections and terminology updates to CLI guide documentation'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@anarnold97 anarnold97 requested a review from mpershina February 11, 2026 15:37
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (6)
docs/topics/mta-cli/proc_analyzing-single-app-with-mta-cli.adoc (2)

5-5: ⚠️ Potential issue | 🟡 Minor

Fix typo in ID attribute.

The ID contains "wth" which should be "with": analyzing-single-app-with-mta-cli_{context}.

📝 Proposed fix
-[id="analyzing-single-app-wth-mta-cli_{context}"]
+[id="analyzing-single-app-with-mta-cli_{context}"]

53-53: ⚠️ Potential issue | 🟡 Minor

Check whitespace formatting.

This line contains unusual whitespace/indentation (appears to have excessive spaces or mixed tabs). Please verify this is intentional AsciiDoc formatting.

docs/topics/mta-cli/proc_reviewing-analysis-issues-and-incidents.adoc (1)

31-33: ⚠️ Potential issue | 🔴 Critical

Invalid XML placeholders in Maven pom.xml example.

Lines 31 and 33 use bare $ symbols as placeholders, which creates invalid XML. Users who copy this example will encounter Maven parsing errors.

These should use Maven property reference syntax to match the properties defined in lines 24-27.

🔧 Proposed fix using Maven property references
 <plugin>
-<groupId>$</groupId>
+<groupId>${quarkus.platform.group-id}</groupId>
 <artifactId>quarkus-maven-plugin</artifactId>
-<version>$</version>
+<version>${quarkus.platform.version}</version>
 <extensions>true</extensions>
docs/topics/mta-cli/proc_running-the-containerless-mta-cli.adoc (2)

32-34: ⚠️ Potential issue | 🟡 Minor

Clarify whether JVM_MAX_MEM is required or recommended.

There's a potential contradiction: line 32 lists setting JVM_MAX_MEM as a prerequisite (implying it's mandatory), but the NOTE on lines 33-34 explains what happens "if you do not set" it (implying it's optional). This could confuse users about whether this variable is required or just recommended.

Consider revising to make the requirement clear. For example:

  • If it's mandatory: Remove the conditional note, or change it to emphasize the requirement.
  • If it's recommended but optional: Change line 32 from "You set..." to "You should set..." or move it out of the prerequisites section.
📝 Suggested rephrasing if JVM_MAX_MEM is recommended but optional
-* You set the `JVM_MAX_MEM` system variable.
-+
-NOTE: If you do not set `JVM_MAX_MEM`, the analysis might hang because Java might require more memory than the default `JVM_MAX_MEM` value.
+* You should set the `JVM_MAX_MEM` system variable to avoid analysis hanging due to insufficient memory.

53-53: ⚠️ Potential issue | 🟡 Minor

Correct the placeholder name for the --target parameter to align with documentation conventions.

The placeholder _<target_source>_ is inconsistent with the rest of the documentation and misleading. The --target parameter expects a target technology (e.g., eap8), not a source. Other examples in the documentation use placeholder names like _<target_name>_, _<target_A>_, or _<target_from_the_list>_. Replace _<target_source>_ with _<target_name>_ or a similar descriptive placeholder that does not reference "source."

docs/topics/mta-cli/proc_generating-deployment-manifest.adoc (1)

36-50: ⚠️ Potential issue | 🔴 Critical

Fix incorrect commands and duplicated verification steps.

This section contains several critical issues:

  1. Incorrect command syntax (lines 40, 48): mta-cli cd is invalid. The cd command is a shell builtin, not an mta-cli subcommand. It should be just cd.

  2. Mismatched step content (lines 36-43): Step 3 is titled "Verify the ConfigMap" but includes commands to display both configmap.yaml and Dockerfile.

  3. Duplicate verification (lines 44-50): Step 4 repeats the Dockerfile verification and the navigation command from step 3.

📝 Proposed fix for verification steps

Option 1: Separate verification steps

-. Verify the ConfigMap:
+. Navigate to the deployment manifest directory:
 +
 [subs="+quotes"]
 ----
-$ *mta-cli cd _<location_of_deployment_manifest>_ \*
+$ *cd _<location_of_deployment_manifest>_*
+----
+
+. Verify the ConfigMap:
++
+[subs="+quotes"]
+----
 $ *cat configmap.yaml*
-$ *cat Dockerfile*
 ----
+
 . Verify the Dockerfile:
 +
 [subs="+quotes"]
 ----
-$ *mta-cli cd _<location_of_deployment_manifest>_ \*
 $ *cat Dockerfile*
 ----

Option 2: Combined verification step (more concise)

-. Verify the ConfigMap:
+. Navigate to the deployment manifest directory and verify the generated files:
 +
 [subs="+quotes"]
 ----
-$ *mta-cli cd _<location_of_deployment_manifest>_ \*
+$ *cd _<location_of_deployment_manifest>_*
 $ *cat configmap.yaml*
 $ *cat Dockerfile*
 ----
-. Verify the Dockerfile:
-+
-[subs="+quotes"]
-----
-$ *mta-cli cd _<location_of_deployment_manifest>_ \*
-$ *cat Dockerfile*
-----
🤖 Fix all issues with AI agents
In `@docs/topics/mta-cli/ref_mta-cli-analyze-flags.adoc`:
- Around line 16-19: The table breaks because the explanatory paragraph for the
`--disable-maven-search` flag is not inside a table cell; change the description
cell for `--disable-maven-search` from a standard cell `|` to a block cell `a|`
so the following multi-line paragraph (the block referencing {ProductShortName}
behavior) remains inside the same table cell; update the table row where the
`--disable-maven-search` flag is defined so the long paragraph is part of the
`a|` cell for that flag.
🧹 Nitpick comments (1)
docs/topics/mta-cli/proc_running-the-containerless-mta-cli.adoc (1)

56-56: Consider minor wording polish.

The note clearly explains the --overwrite behavior. For slightly better clarity, consider adding "already" to emphasize the condition:

-NOTE: The `--overwrite` option overwrites the output folder if it exists.
+NOTE: The `--overwrite` option overwrites the output folder if it already exists.

This is a minor stylistic improvement and not required.

@anarnold97 anarnold97 requested a review from Pkylas007 February 11, 2026 15:37
@mpershina
Copy link
Collaborator

Left a couple of comments, otherwise, LGTM!

Copy link
Collaborator

@mpershina mpershina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes are needed, otherwise, LGTM!

anarnold97 and others added 5 commits February 12, 2026 11:31
Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@docs/cli-guide/master.adoc`:
- Around line 4-6: The AsciiDoc attribute include is declared after the title so
{ProductName} may be undefined; move the
include::topics/templates/document-attributes.adoc[] line above the title line
"= Using the {ProductName} command-line interface" so attributes are defined
before use, ensuring {ProductName} resolves correctly in the document title.

Copy link
Collaborator

@mpershina mpershina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants