Skip to content

Commit c5ed9e1

Browse files
chore: Add Templates for tutorials and how-to docs following diataxis methodology (#713)
On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com> <!-- markdownlint-disable MD041 --> #### What this PR does / why we need it Add templates for tutorials and how-tos. --------- Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com> Co-authored-by: Gerald Morrison (SAP) <gerald.morrison@sap.com> 3a83653
1 parent 4cc6a82 commit c5ed9e1

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

dev/docs/reference/ocm-cli/ocm-transfer-component-version/index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
# Transfer from one OCI registry to another
2828
transfer component-version ghcr.io/source-org/ocm//ocm.software/mycomponent:1.0.0 ghcr.io/target-org/ocm
2929

30+
# Transfer from one OCI to another using localBlobs
31+
transfer component-version ghcr.io/source-org/ocm//ocm.software/mycomponent:1.0.0 ghcr.io/target-org/ocm --copy-resources --upload-as localBlob
32+
33+
# Transfer from one OCI to another using OCI artifacts (default)
34+
transfer component-version ghcr.io/source-org/ocm//ocm.software/mycomponent:1.0.0 ghcr.io/target-org/ocm --copy-resources --upload-as ociArtifact
35+
3036
# Transfer including all resources (e.g. OCI artifacts)
3137
transfer component-version ctf::./my-archive//ocm.software/mycomponent:1.0.0 ghcr.io/my-org/ocm --copy-resources
3238

@@ -36,7 +42,9 @@
3642
-h, --help help for component-version
3743
-o, --output enum output format of the component descriptors
3844
(must be one of [json ndjson yaml]) (default yaml)
39-
-r, --recursive recursively discover and transfer component versions</code></pre></figure></div><h3 id=options-inherited-from-parent-commands>Options inherited from parent commands<a href=#options-inherited-from-parent-commands class=anchor aria-hidden=true>#</a></h3><div class=expressive-code><figure class="frame not-content"><figcaption class=header><span class=title></span></figcaption><pre tabindex=0><code> --config string supply configuration by a given configuration file.
45+
-r, --recursive recursively discover and transfer component versions
46+
-u, --upload-as enum Define whether copied resources should be uploaded as OCI artifacts (instead of local blob resources). This option is only relevant if --copy-resources is set.
47+
(must be one of [default localBlob ociArtifact]) (default default)</code></pre></figure></div><h3 id=options-inherited-from-parent-commands>Options inherited from parent commands<a href=#options-inherited-from-parent-commands class=anchor aria-hidden=true>#</a></h3><div class=expressive-code><figure class="frame not-content"><figcaption class=header><span class=title></span></figcaption><pre tabindex=0><code> --config string supply configuration by a given configuration file.
4048
By default (without specifying custom locations with this flag), the file will be read from one of the well known locations:
4149
1. The path specified in the OCM_CONFIG_PATH environment variable
4250
2. The XDG_CONFIG_HOME directory (if set), or the default XDG home ($HOME/.config), or the user&#39;s home directory

dev/search-index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/overview/specification/schema-v2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8148,6 +8148,6 @@ <h2 class="mb-0">
81488148
</div>
81498149

81508150
<footer>
8151-
<p class="generated-by-footer">Generated using <a href="https://github.com/coveooss/json-schema-for-humans">json-schema-for-humans</a> on 2026-02-13 at 16:03:19 +0000</p>
8151+
<p class="generated-by-footer">Generated using <a href="https://github.com/coveooss/json-schema-for-humans">json-schema-for-humans</a> on 2026-02-18 at 11:59:57 +0000</p>
81528152
</footer></body>
81538153
</html>

0 commit comments

Comments
 (0)