Skip to content

fix(pipelines-components): improve title casing in AutoML and AutoRAG component README's - #196

Merged
google-oss-prow[bot] merged 1 commit into
kubeflow:mainfrom
mateusz-szewczyk-dev:fix-RHOAIENG-94939
Sep 16, 2026
Merged

google-oss-prow[bot] merged 1 commit into
kubeflow:mainfrom
mateusz-szewczyk-dev:fix-RHOAIENG-94939

Conversation

@mateusz-szewczyk-dev

Copy link
Copy Markdown
Contributor

Description of your changes:

Summary

  • Replaced the hardcoded acronym list in format_title() with a SPECIAL_CASE_WORDS mapping in constants.py, adding support for AutoML and AutoRAG alongside the existing KFP, API, URL, ID, UI, CI, CD cases.
  • Moved wrap_text() from content_generator.py to utils.py and removed the leftover duplicate definition that remained in content_generator.py after the move; it now imports wrap_text() from utils.py alongside format_title().
  • Minor formatting fixes: normalized spacing around an operator in yoda_data_processor/component.py and unwrapped a warning message onto a single line in validate_examples.py.

Why

wrap_text() is a general text-formatting helper, not README-content-generation logic, so it belongs in utils.py alongside format_title() rather than in content_generator.py. Completing the move (removing the stray duplicate) keeps a single source of truth. Moving the special-case word list to constants.py also makes it easier to extend without touching function logic.

Checklist:

Pre-Submission Checklist

Additional Checklist Items for New or Updated Components/Pipelines

  • metadata.yaml includes fresh lastVerified timestamp
  • All required files
    are present and complete
  • OWNERS file lists appropriate maintainers
  • README provides clear documentation with usage examples
  • Component follows snake_case naming convention
  • No security vulnerabilities in dependencies
  • Containerfile included if using a custom base image

…text

Signed-off-by: Mateusz Szewczyk <mszewczy@redhat.com>

@mprahl mprahl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

/approve
/lgtm

@google-oss-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mprahl

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow
google-oss-prow Bot merged commit 54f8d7e into kubeflow:main Sep 16, 2026
26 checks passed
mateusz-szewczyk-dev added a commit to mateusz-szewczyk-dev/pipelines-components that referenced this pull request Sep 16, 2026
… component README's (kubeflow#196)

Signed-off-by: Mateusz Szewczyk <mszewczy@redhat.com>

(cherry picked from commit 54f8d7e)
Signed-off-by: Mateusz Szewczyk <mszewczy@redhat.com>
mateusz-szewczyk-dev pushed a commit to mateusz-szewczyk-dev/pipelines-components that referenced this pull request Sep 22, 2026
…to 6086496 (kubeflow#196)

Signed-off-by: konflux-internal-p02 <170854209+konflux-internal-p02[bot]@users.noreply.github.com>
Co-authored-by: konflux-internal-p02[bot] <170854209+konflux-internal-p02[bot]@users.noreply.github.com>
Mateusz-Switala pushed a commit to Mateusz-Switala/pipelines-components that referenced this pull request Sep 22, 2026
…pt by pre commit config (#242)

* fix(pipelines-components): Fixed way to run validate_base_images.py by pre commit config (kubeflow#195)

Signed-off-by: Mateusz Szewczyk <mszewczy@redhat.com>

* fix(automl): Fixed `AutoML` nomenclature

Signed-off-by: Mateusz Szewczyk <mszewczy@redhat.com>

* fix(pipelines-components): improve title casing in AutoML and AutoRAG component README's (kubeflow#196)

Signed-off-by: Mateusz Szewczyk <mszewczy@redhat.com>

(cherry picked from commit 54f8d7e)
Signed-off-by: Mateusz Szewczyk <mszewczy@redhat.com>

* fix(automl): update README's

Signed-off-by: Mateusz Szewczyk <mszewczy@redhat.com>

---------

Signed-off-by: Mateusz Szewczyk <mszewczy@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants