Skip to content

Conversation

@PlaidCat
Copy link
Collaborator

@PlaidCat PlaidCat commented Oct 28, 2025

Eventually we will be having all FIPS changes in our Rolling Release branches as certification is only done on a fixed version. But we also need to take into account any change that happens in crypto related paths so we know if the crypto math is ever touched and account for near by changes.

In addition the original output was excessively verbose so we've moved some of the output to a debug option.

There will be more changes coming.
Example of new output and processing can be seen here:
ctrliq/kernel-src-tree#651

Most of the rework was done with Claude Code

Going forward we need to run the FIPS check for every single update
rather than just the "fips" ones as they will be integrated into the
main rolling releases.
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 refactors the logging output of the rolling release update script to make it cleaner and more concise. The changes add a DEBUG flag that controls verbose output, consolidate logging messages, and improve message formatting with consistent prefixes and better readability.

  • Added DEBUG-gated verbose logging to reduce output noise during normal execution
  • Removed FIPS check conditional that was checking product name, making FIPS checks apply to all products
  • Improved error messages and progress indicators with better formatting and consistency

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

rolling-release-update has had extremely verbose output and it needs to
be reduced or moved into debug options.  This is the first pass at that
change.
@PlaidCat PlaidCat force-pushed the {jmaple}_rlc_transformation branch from 236150a to d4450d2 Compare October 28, 2025 20:47
@PlaidCat PlaidCat requested a review from Copilot October 28, 2025 20:48
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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


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

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

# Print summary instead of all tags
if len(tags) > 0:
print(f'[rolling release update] Found {len(tags)} RESF kernel tags')
if DEBUG:
Copy link
Contributor

Choose a reason for hiding this comment

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

we can use logging.debug or some in house decorator logic to reduce this in the future.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Absolutely ... one of those things that is on the list but is in the 80%+ deliverable.

@PlaidCat PlaidCat merged commit 9e07d75 into mainline Oct 30, 2025
6 checks passed
@PlaidCat PlaidCat deleted the {jmaple}_rlc_transformation branch October 30, 2025 21:31
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.

3 participants