Skip to content

MTA 8.1.0 attributes#330

Merged
anarnold97 merged 2 commits intomigtools:mainfrom
anarnold97:MTA-8.1.0-attributes
Mar 24, 2026
Merged

MTA 8.1.0 attributes#330
anarnold97 merged 2 commits intomigtools:mainfrom
anarnold97:MTA-8.1.0-attributes

Conversation

@anarnold97
Copy link
Copy Markdown
Collaborator

@anarnold97 anarnold97 commented Mar 24, 2026

Summary by CodeRabbit

  • Documentation
    • Updated product numbering and version info for the MTA release (product number 8.0 → 8.1; version 8.0.1 → 8.1.0) across templates.
    • Updated distribution package references to the 8.1.0 release.
    • Removed the OpenShift product number (previously 4.18) from the documentation templates.

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

coderabbitai Bot commented Mar 24, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 944a2ad1-b92a-45d4-ad02-18c32f981582

📥 Commits

Reviewing files that changed from the base of the PR and between 4725144 and 1367415.

📒 Files selected for processing (1)
  • docs/topics/templates/document-attributes.adoc

📝 Walkthrough

Walkthrough

Updated AsciiDoc template attributes in docs/topics/templates/document-attributes.adoc: bumped MTA product/version values from 8.0.x → 8.1.x and removed the unconditional OpenShiftProductNumber attribute.

Changes

Cohort / File(s) Summary
MTA & OpenShift attributes
docs/topics/templates/document-attributes.adoc
Within ifdef::mta[] updated: DocInfoProductNumber 8.0 → 8.1, ProductVersion 8.0.1 → 8.1.0, ProductDistributionVersion 8.0.1.GA-redhat → 8.1.0.GA-redhat, ProductDistribution filename updated accordingly. Removed unconditional OpenShiftProductNumber (was 4.18).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 I hopped through docs with zest,
Numbers changed and looked their best.
Eight to eight-one, a tiny cheer,
Attributes updated, clear! 🎉

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'MTA 8.1.0 attributes' directly and clearly summarizes the main change: updating MTA release attributes from version 8.0 to 8.1.0.
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

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 March 24, 2026 11:11
Copy link
Copy Markdown
Contributor

@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

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/topics/templates/document-attributes.adoc`:
- Line 17: Several docs include hardcoded "8.0.0"/"/8.0/" references causing
mismatch with the :DocInfoProductNumber: 8.1 attribute; update those static
strings to use the version attribute or change them to 8.1. Edit the listed
files (developer-lightspeed/con_installation.adoc,
developer-lightspeed/con_intro-to-developer-lightspeed.adoc,
mta-ui/proc_configuring-generators.adoc,
vscode/proc_vscode-analyzing-application.adoc,
vscode/proc_configuring-lighstspeed-ide-settings.adoc,
vscode/proc_configuring-profile-settings.adoc) and replace the literal "8.0.0"
and URL path segments "/migration_toolkit_for_applications/8.0/" with the
document attribute (e.g., use {DocInfoProductNumber} or a dedicated version
attribute) or update them to "8.1" so the content is consistent with
:DocInfoProductNumber: 8.1.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a0811e76-601d-451c-bb6e-d0db8825d100

📥 Commits

Reviewing files that changed from the base of the PR and between 7a9a933 and 4725144.

📒 Files selected for processing (1)
  • docs/topics/templates/document-attributes.adoc

:ProductName: migration toolkit for applications
:DocInfoProductName: migration toolkit for applications
:DocInfoProductNumber: 8.0
:DocInfoProductNumber: 8.1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Find all hardcoded MTA version references that may need updating

echo "=== Searching for hardcoded 8.0.x version strings ==="
rg -n --type=asciidoc -C2 '\b8\.0\.[0-9]' 

echo -e "\n=== Searching for hardcoded 8.0 version strings (potential URL paths) ==="
rg -n --type=asciidoc -C2 'migration_toolkit_for_applications/8\.0/'

echo -e "\n=== Searching for MTA 8.0 in titles and headings ==="
rg -n --type=asciidoc -C1 '^=.*8\.0'

echo -e "\n=== Searching for version-specific release notes files ==="
fd -e adoc 'mta-8-0'

Repository: migtools/mta-documentation

Length of output: 14196


🏁 Script executed:

# Check if installation files are version-specific or general current documentation
head -20 docs/topics/developer-lightspeed/con_installation.adoc
echo "---"
head -20 docs/topics/developer-lightspeed/con_intro-to-developer-lightspeed.adoc
echo "---"
# Check if these files have context/scope attributes indicating they're for a specific version
grep -E "context|ProductVersion|version" docs/topics/developer-lightspeed/con_installation.adoc | head -10

Repository: migtools/mta-documentation

Length of output: 2156


🏁 Script executed:

# Find which assemblies include the general documentation files
rg -l "con_installation|con_intro-to-developer-lightspeed" --type=asciidoc | head -20
echo "---"
# Check if these inclusions appear in version-specific release notes or general assemblies
rg "include.*con_installation" --type=asciidoc -B 2 | head -30

Repository: migtools/mta-documentation

Length of output: 470


🏁 Script executed:

# Check the master.adoc file to understand if it's version-agnostic or version-specific
head -30 docs/developer-lightspeed-guide/master.adoc
echo "---"
# Check if assembly_getting-started.adoc is included in version-specific or general guides
rg -l "assembly_getting-started" --type=asciidoc | head -20

Repository: migtools/mta-documentation

Length of output: 1096


🏁 Script executed:

# Check which files include the proc_vscode files with /8.0/ URLs
rg -l "proc_vscode-analyzing-application|proc_configuring-lighstspeed-ide-settings|proc_configuring-profile-settings" --type=asciidoc | head -20
echo "---"
# Check the content around the /8.0/ URL in one of these files
sed -n '20,30p' docs/topics/vscode/proc_vscode-analyzing-application.adoc

Repository: migtools/mta-documentation

Length of output: 465


Update hardcoded version references in general documentation modules.

The template attribute updates are correct. However, general documentation modules that will be included in the 8.1 build contain hardcoded version strings that should be updated to use attributes or removed. This creates inconsistency where dynamic attributes show 8.1.0 while static text references older versions.

Instances requiring updates:

  • docs/topics/developer-lightspeed/con_installation.adoc:10: "8.0.0"
  • docs/topics/developer-lightspeed/con_intro-to-developer-lightspeed.adoc:10: "Starting from 8.0.0"
  • docs/topics/mta-ui/proc_configuring-generators.adoc:13: "8.0.0 operator"
  • docs/topics/vscode/proc_vscode-analyzing-application.adoc:26: /migration_toolkit_for_applications/8.0/ URL path
  • docs/topics/vscode/proc_configuring-lighstspeed-ide-settings.adoc:38: /migration_toolkit_for_applications/8.0/ URL path
  • docs/topics/vscode/proc_configuring-profile-settings.adoc:45: /migration_toolkit_for_applications/8.0/ URL path

Consider using document attributes for dynamic version references or updating these hardcoded values to 8.1.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/topics/templates/document-attributes.adoc` at line 17, Several docs
include hardcoded "8.0.0"/"/8.0/" references causing mismatch with the
:DocInfoProductNumber: 8.1 attribute; update those static strings to use the
version attribute or change them to 8.1. Edit the listed files
(developer-lightspeed/con_installation.adoc,
developer-lightspeed/con_intro-to-developer-lightspeed.adoc,
mta-ui/proc_configuring-generators.adoc,
vscode/proc_vscode-analyzing-application.adoc,
vscode/proc_configuring-lighstspeed-ide-settings.adoc,
vscode/proc_configuring-profile-settings.adoc) and replace the literal "8.0.0"
and URL path segments "/migration_toolkit_for_applications/8.0/" with the
document attribute (e.g., use {DocInfoProductNumber} or a dedicated version
attribute) or update them to "8.1" so the content is consistent with
:DocInfoProductNumber: 8.1.

Copy link
Copy Markdown
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!

@anarnold97 anarnold97 merged commit 3e161ea into migtools:main Mar 24, 2026
2 checks passed
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.

3 participants