-
Task
-
Resolution: Done
-
Undefined
-
None
-
ACM 2.15.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
Not Selected
-
-
-
None
Multiple issues were identified in FBC repository scripts that needed improvement for better maintainability, error handling, and code review readability.
What needs to be implemented:
1. Fix generate-catalog-template.sh to always remove 'replaces' field from first entry regardless of entry count
2. Add proper error handling in generate-catalog-template.sh when skopeo inspect fails
3. Improve catalog-template.yaml organization by adding sorting in add-bundle.sh
4. Sort relatedImages in bundle files for consistency in render-catalog.sh
Acceptance criteria:
- First entry in every channel has no 'replaces' field regardless of total entry count
- Script exits gracefully with helpful message when skopeo inspect fails
- Catalog entries are organized consistently for better code review readability
- Bundle files have sorted relatedImages for consistency