From 311d1105a2c20854c9f8b963f3edc70686a91893 Mon Sep 17 00:00:00 2001 From: Hilmar Falkenberg Date: Tue, 14 Jan 2025 16:00:14 +0100 Subject: [PATCH] skip if IsDeprecated(child) --- docs/reference/ocm_add_routingslips.md | 4 +- docs/reference/ocm_bootstrap_configuration.md | 4 +- docs/reference/ocm_bootstrap_package.md | 4 +- docs/reference/ocm_check_componentversions.md | 4 +- docs/reference/ocm_create.md | 1 - docs/reference/ocm_create_componentarchive.md | 62 ------------ docs/reference/ocm_describe_package.md | 4 +- docs/reference/ocm_download_cli.md | 4 +- .../ocm_download_componentversions.md | 4 +- docs/reference/ocm_download_resources.md | 4 +- docs/reference/ocm_get_componentversions.md | 4 +- docs/reference/ocm_get_references.md | 4 +- docs/reference/ocm_get_resources.md | 4 +- docs/reference/ocm_get_routingslips.md | 4 +- docs/reference/ocm_get_sources.md | 4 +- docs/reference/ocm_hash_componentversions.md | 4 +- docs/reference/ocm_install_plugins.md | 4 +- docs/reference/ocm_list_componentversions.md | 4 +- docs/reference/ocm_ocm.md | 1 - docs/reference/ocm_show_versions.md | 4 +- docs/reference/ocm_sign_componentversions.md | 4 +- docs/reference/ocm_transfer.md | 1 - .../ocm_transfer_componentarchive.md | 96 ------------------- .../ocm_transfer_componentversions.md | 4 +- .../reference/ocm_verify_componentversions.md | 4 +- hack/generate-docs/cobradoc/md_docs.go | 6 +- 26 files changed, 25 insertions(+), 222 deletions(-) delete mode 100644 docs/reference/ocm_create_componentarchive.md delete mode 100644 docs/reference/ocm_transfer_componentarchive.md diff --git a/docs/reference/ocm_add_routingslips.md b/docs/reference/ocm_add_routingslips.md index 4bebc50df7..968d9ad83f 100644 --- a/docs/reference/ocm_add_routingslips.md +++ b/docs/reference/ocm_add_routingslips.md @@ -94,10 +94,8 @@ For the *Common Transport Format* the types directory, Using the JSON variant any repository types supported by the linked library can be used: -Dedicated OCM repository types: - - ComponentArchive: v1 - OCI Repository types (using standard component repository to OCI mapping): + - CommonTransportFormat: v1 - OCIRegistry: v1 - oci: v1 diff --git a/docs/reference/ocm_bootstrap_configuration.md b/docs/reference/ocm_bootstrap_configuration.md index 92396ca672..c74726be34 100644 --- a/docs/reference/ocm_bootstrap_configuration.md +++ b/docs/reference/ocm_bootstrap_configuration.md @@ -75,10 +75,8 @@ For the *Common Transport Format* the types directory, Using the JSON variant any repository types supported by the linked library can be used: -Dedicated OCM repository types: - - ComponentArchive: v1 - OCI Repository types (using standard component repository to OCI mapping): + - CommonTransportFormat: v1 - OCIRegistry: v1 - oci: v1 diff --git a/docs/reference/ocm_bootstrap_package.md b/docs/reference/ocm_bootstrap_package.md index 19e343b811..a752fdca38 100644 --- a/docs/reference/ocm_bootstrap_package.md +++ b/docs/reference/ocm_bootstrap_package.md @@ -156,10 +156,8 @@ For the *Common Transport Format* the types directory, Using the JSON variant any repository types supported by the linked library can be used: -Dedicated OCM repository types: - - ComponentArchive: v1 - OCI Repository types (using standard component repository to OCI mapping): + - CommonTransportFormat: v1 - OCIRegistry: v1 - oci: v1 diff --git a/docs/reference/ocm_check_componentversions.md b/docs/reference/ocm_check_componentversions.md index 23f9849220..9689f20306 100644 --- a/docs/reference/ocm_check_componentversions.md +++ b/docs/reference/ocm_check_componentversions.md @@ -63,10 +63,8 @@ For the *Common Transport Format* the types directory, Using the JSON variant any repository types supported by the linked library can be used: -Dedicated OCM repository types: - - ComponentArchive: v1 - OCI Repository types (using standard component repository to OCI mapping): + - CommonTransportFormat: v1 - OCIRegistry: v1 - oci: v1 diff --git a/docs/reference/ocm_create.md b/docs/reference/ocm_create.md index eb4db9987a..70c319cbee 100644 --- a/docs/reference/ocm_create.md +++ b/docs/reference/ocm_create.md @@ -21,7 +21,6 @@ ocm create [] ... ##### Sub Commands -* [ocm create componentarchive](ocm_create_componentarchive.md) — (DEPRECATED) create new component archive * [ocm create rsakeypair](ocm_create_rsakeypair.md) — create RSA public key pair * [ocm create transportarchive](ocm_create_transportarchive.md) — create new OCI/OCM transport archive diff --git a/docs/reference/ocm_create_componentarchive.md b/docs/reference/ocm_create_componentarchive.md deleted file mode 100644 index f95d8403dc..0000000000 --- a/docs/reference/ocm_create_componentarchive.md +++ /dev/null @@ -1,62 +0,0 @@ -## ocm create componentarchive — (DEPRECATED) Create New Component Archive - -### Synopsis - -```bash -ocm create componentarchive [] --provider {--provider