Skip to content

MDEV-39708 invalid supplier name for MariaDB's own components#5156

Merged
vaintroub merged 1 commit into
11.8from
MDEV-39708
Jun 1, 2026
Merged

MDEV-39708 invalid supplier name for MariaDB's own components#5156
vaintroub merged 1 commit into
11.8from
MDEV-39708

Conversation

@vaintroub
Copy link
Copy Markdown
Member

Fix sbom_get_supplier() to correctly return supplier name to caller in all cases.

Fix sbom_get_supplier() to correctly return supplier name to caller
in all cases.
@vaintroub vaintroub requested a review from Copilot June 1, 2026 10:40
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the cmake/generate_sbom.cmake file to ensure that the supplier variable is correctly set in the parent scope when the repository user matches MariaDB. Specifically, it adds the PARENT_SCOPE flag to the SET command for MariaDB, aligning it with the other conditional branches in the sbom_get_supplier function. There are no review comments, so I have no feedback to provide.

Copy link
Copy Markdown

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 fixes sbom_get_supplier() in the SBOM generation CMake logic so that MariaDB-owned components correctly report "MariaDB" back to the caller, aligning behavior with other branches of the function.

Changes:

  • Ensure the mariadb-corporation|mariadb supplier branch sets the output variable in PARENT_SCOPE so the caller receives the value.

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

@vaintroub vaintroub merged commit b316cc8 into 11.8 Jun 1, 2026
16 of 21 checks passed
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.

2 participants