Skip to content

Conversation

@PlaidCat
Copy link
Collaborator

The new feature allows a user to run in interactive mode where the rolling release will "pause" while the engineer fixes the failed forward-port and commit. It will then attempt to continue.

Actual Run ctrliq/kernel-src-tree#684

Copy link
Collaborator

@bmastbergen bmastbergen left a comment

Choose a reason for hiding this comment

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

LGTM, but maybe add the --skip suggestion (you used that multiple times in the demo yesterday)

print('[rolling release update] Please complete the cherry-pick with:')
print('[rolling release update] git cherry-pick --continue')
print('[rolling release update] or abort with:')
print('[rolling release update] git cherry-pick --abort')
Copy link
Collaborator

Choose a reason for hiding this comment

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

or skip with: git cherry-pick --skip ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will add the RUFF changes caused a pretty big conflict that I'm resolving I'll also be including the new minor version update as well when I come back to this

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, we should have merged all of these before that. Sorry.

roxanan1996
roxanan1996 previously approved these changes Nov 14, 2025
Copy link
Contributor

@roxanan1996 roxanan1996 left a comment

Choose a reason for hiding this comment

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

LGTM

Copilot AI review requested due to automatic review settings November 26, 2025 20:55
@PlaidCat PlaidCat force-pushed the {jmaple}_rollling-release-iteractive branch from 561c106 to 185d1f1 Compare November 26, 2025 20:55
Copilot finished reviewing on behalf of PlaidCat November 26, 2025 20:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds interactive mode functionality to the rolling release update script, allowing engineers to manually resolve merge conflicts during cherry-pick operations and continue the rolling release process. The changes also refactor commit mapping to use a shared helper function and add support for new minor version releases.

Key Changes:

  • Added --interactive flag to pause on merge conflicts and allow manual resolution
  • Refactored commit mapping logic to use get_backport_commit_data from ciq_helpers module
  • Added --new_minor_version flag to extend tag detection beyond RESF tags
  • Made FIPS checks conditional based on product name

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

elif ciq_commit in new_base_commit_map:
print(
f"- CIQ Commit {ciq_commit} already present in new base branch: {repo.git.show('--pretty=oneline', '-s', ciq_commit)}"
f"- CIQ Commit {ciq_commit[:12]} already present in new base branch: {repo.git.show('--pretty=oneline', '-s', ciq_commit)}"
Copy link

Copilot AI Nov 26, 2025

Choose a reason for hiding this comment

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

[nitpick] Inconsistent formatting in output messages: Line 380 uses '--pretty=%s' (subject only) while line 385 uses '--pretty=oneline' (hash and subject). For consistency and clarity, both should use the same format, preferably '--pretty=%s' since the hash is already shown separately with [:12] truncation.

Suggested change
f"- CIQ Commit {ciq_commit[:12]} already present in new base branch: {repo.git.show('--pretty=oneline', '-s', ciq_commit)}"
f"- CIQ Commit {ciq_commit[:12]} already present in new base branch: {repo.git.show('--pretty=%s', '-s', ciq_commit)}"

Copilot uses AI. Check for mistakes.
@PlaidCat PlaidCat changed the title [RR] Add Interactive settings [RR] Add Interactive settings and Minor Release Rebase Nov 26, 2025
Previously the tooling would find the common RESF tag but when upgrading
minor versions it would not search across centos versions.
The new feature allows a user to run in interactive mode where the
rolling release will "pause" while the engineer fixes the failed
forward-port and commit.  It will then attempt to continue.
One of the critical items as a fork of RedHat is that our kernel updates
out from under us and some of the features/fixes/etc we backport in one
version of RLC might need to be dropped on the next update.  The latest
minor update, to 10.1, rebase missed some items that should have been
dropped due being present in in CentOS streams branch but not a part of
the RHEL minor version updates.

WIWT: Fixed some debugging.
@PlaidCat PlaidCat force-pushed the {jmaple}_rollling-release-iteractive branch from c7cb948 to 8c9baa6 Compare November 26, 2025 22:03
Copilot AI review requested due to automatic review settings November 26, 2025 22:03
Copilot finished reviewing on behalf of PlaidCat November 26, 2025 22:07

This comment was marked as outdated.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants