From a11f4b71bd13eaf63339fa923f90797f22a7b9ba Mon Sep 17 00:00:00 2001 From: mbshields Date: Wed, 29 Nov 2023 10:58:18 -0800 Subject: [PATCH 1/4] docs: add digest search to What's New Signed-off-by: mbshields --- docs/developer-guide/api-user-guide.md | 2 +- docs/general/whats-new.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/developer-guide/api-user-guide.md b/docs/developer-guide/api-user-guide.md index 6992f3d..dad1691 100644 --- a/docs/developer-guide/api-user-guide.md +++ b/docs/developer-guide/api-user-guide.md @@ -57,7 +57,7 @@ For comprehensive details of the API endpoints, see [Viewing the complete zot AP | Endpoint | Actions | Description | Availability | | -------- | ------- | ----------- | -------------| -| /v2/_zot/pprof/ | GET | Returns a current HTML-format profile list along with a count of currently available records for each profile. See [Performance Profiling in zot](../articles/pprof.md) for usage details. | Always enabled. | +| /v2/_zot/pprof/ | GET | Returns a current HTML-format profile list along with a count of currently available records for each profile. See [Performance Profiling in zot](../articles/pprofiling.md) for usage details. | Always enabled. | | /v2/_zot/debug/graphql-playground# | | See [Using GraphQL](../articles/graphql.md) for details. | Enabled only in a `binary-debug` zot build or when the zot registry has been built with the `debug` extension label. | diff --git a/docs/general/whats-new.md b/docs/general/whats-new.md index d228b4b..21074e4 100644 --- a/docs/general/whats-new.md +++ b/docs/general/whats-new.md @@ -56,6 +56,10 @@ - The [`zli search`](../user-guides/zli.md#_zli-search) command allows smart searching for a repository by its name or for an image by its repo:tag. +### Search by digest + +- You can perform a global search for a digest (SHA hash) using either the UI or the CLI. This function is useful when an issue is found in a layer that is used by multiple images. In the UI Search box, for example, begin typing `sha:` followed by a partial or complete digest value to see a dropdown list of images that contain the layer with the digest value. + ### GraphQL support for search - A [GraphQL backend server](../articles/graphql.md) within zot's registry search engine provides efficient and enhanced search capabilities. In addition to supporting direct GraphQL queries through the API, zot hosts the GraphQL Playground, which provides an interactive graphical environment for GraphQL queries. From b8f8a506733a86e0c21e3371c9936eab77e28a65 Mon Sep 17 00:00:00 2001 From: mbshields Date: Wed, 29 Nov 2023 11:04:31 -0800 Subject: [PATCH 2/4] docs: add digest search to What's New - spellcheck Signed-off-by: mbshields --- .wordlist.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/.wordlist.txt b/.wordlist.txt index 25ba30d..dfe9dd5 100644 --- a/.wordlist.txt +++ b/.wordlist.txt @@ -67,6 +67,7 @@ discoverable DistContentDigestKey DN Dockerfile +dropdown dryRun ExpandedRepoInfo ExtensionList From 2ae3995b9295afe84cb54afc9343a911700b79fa Mon Sep 17 00:00:00 2001 From: mbshields Date: Wed, 29 Nov 2023 12:51:25 -0800 Subject: [PATCH 3/4] docs: add digest search to What's New - OCI spec changes Signed-off-by: mbshields --- docs/general/whats-new.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/general/whats-new.md b/docs/general/whats-new.md index 21074e4..9c9c44f 100644 --- a/docs/general/whats-new.md +++ b/docs/general/whats-new.md @@ -4,14 +4,12 @@ ### Updated OCI support -- Support is added for [OCI Distribution Spec v1.1.0-rc3](https://github.com/opencontainers/distribution-spec/releases/tag/v1.1.0-rc3) and [OCI Image Spec v1.1.0-rc4](https://github.com/opencontainers/image-spec/releases/tag/v1.1.0-rc4). The OCI changes are summarized [here](https://opencontainers.org/posts/blog/2023-07-07-summary-of-upcoming-changes-in-oci-image-and-distribution-specs-v-1-1/). - - :warning: Support is deprecated for earlier OCI release candidates. - -- Support is added for [OCI Artifacts and References](https://github.com/opencontainers/image-spec/blob/main/manifest.md#guidelines-for-artifact-usage). The OCI Image Spec v1.1.0 supports arbitrary artifact types and references so that software supply chain use cases can be supported (SBOMs, signatures, etc). Currently, [`oras`](https://github.com/oras-project/oras) and [`regclient`](https://github.com/regclient/regclient) support this spec. +- Support is added for [OCI Distribution Spec v1.1.0-rc3](https://github.com/opencontainers/distribution-spec/releases/tag/v1.1.0-rc3) and [OCI Image Spec v1.1.0-rc4](https://github.com/opencontainers/image-spec/releases/tag/v1.1.0-rc4). The OCI changes are summarized [here](https://opencontainers.org/posts/blog/2023-07-07-summary-of-upcoming-changes-in-oci-image-and-distribution-specs-v-1-1/). These specifications allow arbitrary artifact types and references so that software supply chain use cases can be supported (SBOMs, signatures, etc). Currently, [`oras`](https://github.com/oras-project/oras) and [`regclient`](https://github.com/regclient/regclient) support this spec. - For a demonstration of an end-to-end OCI artifacts workflow, see [Software Provenance Workflow Using OCI Artifacts](../articles/workflow.md). + :warning: Support is deprecated for earlier OCI release candidates. + ### Built-in UI support - Using the new zot [GUI](../user-guides/user-guide-gui.md), you can browse a zot registry for container images and artifacts. The web interface provides the shell commands for downloading an image using popular third-party tools such as docker, podman, and skopeo. From fcd99387334cda3bb046a8fd9f8532fe3b88f8bc Mon Sep 17 00:00:00 2001 From: mbshields Date: Wed, 29 Nov 2023 12:53:38 -0800 Subject: [PATCH 4/4] docs: add digest search to What's New - sha256 Signed-off-by: mbshields --- docs/general/whats-new.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/general/whats-new.md b/docs/general/whats-new.md index 9c9c44f..4296c65 100644 --- a/docs/general/whats-new.md +++ b/docs/general/whats-new.md @@ -56,7 +56,7 @@ ### Search by digest -- You can perform a global search for a digest (SHA hash) using either the UI or the CLI. This function is useful when an issue is found in a layer that is used by multiple images. In the UI Search box, for example, begin typing `sha:` followed by a partial or complete digest value to see a dropdown list of images that contain the layer with the digest value. +- You can perform a global search for a digest (SHA hash) using either the UI or the CLI. This function is useful when an issue is found in a layer that is used by multiple images. In the UI Search box, for example, begin typing `sha256:` followed by a partial or complete digest value to see a dropdown list of images that contain the layer with the digest value. ### GraphQL support for search