ocm transfer componentversions --enforce --overwrite
doesn't work as expected
#1050
Labels
Milestone
ocm transfer componentversions --enforce --overwrite
doesn't work as expected
#1050
What happened:
When transfering component versions, it's not clear what the settings do.
the synopsis:
ocm transfer componentversions [<options>] {<component-reference>} <target>
uses the term:<options>
but down below are only Aliases and Flags listed.Options are ambiguous...
--enforce
-f, --overwrite
--enforce
nor-f, --overwrite
does respect--copy-resources
What you expected to happen:
When using the options:
--enforce --overwrite --copy-local-resources --copy-resources --copy-sources
I would expect that:How to reproduce it (as minimally and precisely as possible):
See the documentation with
ocm transfer componentversions --help
Run the following command twice:
ocm transfer componentversions --enforce --overwrite --copy-local-resources --copy-resources --copy-sources .\docker-hello-tiny ocm-oci-test.repository.foo.bar
Anything else we need to know:
Definition of done:
Options
<options>
and keep only:-f, --force
-f
or--force
is set everything (component versions, local resources, resources, sources) is transferred again completely. In case of failures an error is shown.The text was updated successfully, but these errors were encountered: