Skip to content

feat: warn instead of info if upload-as is ociArtifact and copy-resources is missing#1824

Merged
fabianburth merged 5 commits into
open-component-model:mainfrom
matthiasbruns:feat/transfer_ux_warning_missing_copy
Feb 26, 2026
Merged

feat: warn instead of info if upload-as is ociArtifact and copy-resources is missing#1824
fabianburth merged 5 commits into
open-component-model:mainfrom
matthiasbruns:feat/transfer_ux_warning_missing_copy

Conversation

@matthiasbruns

@matthiasbruns matthiasbruns commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

Tiny UX improvement I stumbled across while preparing the demo for the oci transfer.
If we chose --upload-as ociArtifact we should shout at the user if --copy-resources is missing.

Which issue(s) this PR fixes

Contributes: open-component-model/ocm-project#796

@github-actions github-actions Bot added kind/feature new feature, enhancement, improvement, extension size/s Small labels Feb 23, 2026
…s missing

On-behalf-of: SAP <matthias.bruns@sap.com>
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
@matthiasbruns matthiasbruns force-pushed the feat/transfer_ux_warning_missing_copy branch from 360c3e8 to f227fc7 Compare February 23, 2026 09:47
@matthiasbruns matthiasbruns marked this pull request as ready for review February 23, 2026 11:36
@matthiasbruns matthiasbruns requested a review from a team as a code owner February 23, 2026 11:36
Comment thread cli/cmd/transfer/component-version/internal/graph.go
@fabianburth fabianburth enabled auto-merge (squash) February 26, 2026 19:19
@fabianburth fabianburth merged commit 398d5cf into open-component-model:main Feb 26, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature new feature, enhancement, improvement, extension size/s Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants