feat: remove compref package from cli #1941
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (17)
💤 Files with no reviewable changes (3)
🚧 Files skipped from review as they are similar to previous changes (7)
📝 WalkthroughWalkthroughThis PR replaces the CLI's internal component-reference parser with the external OCI bindings implementation. The internal Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Signed-off-by: Christoph Bleyer <christoph.bleyer@sap.com>
<!-- markdownlint-disable MD041 --> #### What this PR does / why we need it Follow up for: open-component-model#1908. Removes compref from cli. ##### Verification - [x] I have tested the changes locally by running `task test` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Component reference handling moved to the public OCI bindings, consolidating parsing/resolution into a shared implementation. * Legacy internal reference parser and its option surface were removed; CLI commands use the unified binding with no functional change. * Tests updated to the new bindings; some legacy internal tests were removed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Christoph Bleyer <christoph.bleyer@sap.com>
<!-- markdownlint-disable MD041 --> #### What this PR does / why we need it Follow up for: open-component-model#1908. Removes compref from cli. ##### Verification - [x] I have tested the changes locally by running `task test` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Component reference handling moved to the public OCI bindings, consolidating parsing/resolution into a shared implementation. * Legacy internal reference parser and its option surface were removed; CLI commands use the unified binding with no functional change. * Tests updated to the new bindings; some legacy internal tests were removed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Christoph Bleyer <christoph.bleyer@sap.com> Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
What this PR does / why we need it
Follow up for: #1908. Removes compref from cli.
Verification
task testSummary by CodeRabbit