Support comma-separated package names in PLCC product entries#28
Support comma-separated package names in PLCC product entries#28kyle-walker wants to merge 3 commits into
Conversation
A single PLCC product (e.g. odf-operator) may track multiple catalog package names. The package field can now hold a comma-separated list, and FilterByPackageNames matches against any value in the list. FBC output emits one package entry per name, sharing the same lifecycle data. ValidateNoDuplicates checks each name individually. Assisted-by: Claude Signed-off-by: Kyle Walker <kwalker@redhat.com
|
/fs-review |
|
🤖 Finished Review · ❌ Failure · Started 1:11 PM UTC · Completed 1:23 PM UTC |
ReviewFindingsHigh
Medium
Low
Labels: PR adds a new feature (comma-separated package support) and has stale documentation findings. |
|
@kyle-walker thanks for the PR! |
Catalog.Validate strict-mode looked up rejections by the raw Product.Package field, but ValidateNoDuplicates keys rejections by individual split names. The lookup never matched, so duplicates were silently kept. Fix by iterating over Product.Packages() in the strict-mode filter loop. writeSplit used Product.Package as a directory name, creating a single directory with the literal comma-containing string. Fix by iterating over Product.Packages() and writing each individual package to its own directory with a single-name product copy. Also fix per-product validation logging to report individual package names instead of the raw compound string. Assisted-by: Claude
Document the 1:N Product-to-FBC-Package mapping in the AGENTS.md data flow diagram. Clarify REQ-VAL-01 duplicate detection and the filtering summary table to reflect comma-separated name expansion. Assisted-by: Claude
|
@asergienk - Happy to! Just merged a couple of changes that should handle the risks raised. Thank you! |
A single PLCC product (e.g. odf-operator) may track multiple catalog package names. The package field can now hold a comma-separated list, and FilterByPackageNames matches against any value in the list.
FBC output emits one package entry per name, sharing the same lifecycle data. ValidateNoDuplicates checks each name individually.
Assisted-by: Claude
Signed-off-by: Kyle Walker <kwalker@redhat.com