Skip to content

Add verbose http logging to blob fetch #911

@sajayantony

Description

@sajayantony

What is the version of your ORAS CLI

1.0.0

What would you like to be added?

Currently there is no output in oras blob fetch that would enable users to debug or learn about the http request path that is being taken.

❯ oras blob fetch --verbose --output ~/temp/scratch  docker.io/library/hello-world@sha256:2db29710123e3e53a794f2694094b9b4338aa9ee5c40b930cb8063a1be392c54

The goal was to see the response status code and how the client might follow the blob request to a CDN endpoint.

Why is this needed for ORAS?

ORAS as a tool is expected to use to inspect/query the registry and having this output helps validate if a server is behaving correctly.

Are you willing to submit PRs to contribute to this feature?

  • Yes, I am willing to implement it.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestloggingquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions