oras-go icon indicating copy to clipboard operation
oras-go copied to clipboard

More simplified UX

Open shizhMSFT opened this issue 3 years ago • 5 comments

A common scenario is to get content such as manifest and blob into the memory for further processing.

Although the Resolve() and Fetch() methods in the Target interface provides a simple clean secure way to read content, we still need a simplier UX such as GetManifest() and GetBlob() (or can be further combined as GetContent()). Similarly, we might also need PutContent() in the oras package.

shizhMSFT avatar Jan 21 '22 07:01 shizhMSFT

We should start discussing an RC bar at this point and once that is release update notation, ratify and other projects like oras CLI.

sajayantony avatar Jan 24 '22 17:01 sajayantony

An interesting user case can be found at #22

shizhMSFT avatar Jun 07 '22 05:06 shizhMSFT

This one might be useful - https://github.com/oras-project/oras-go/pull/182#discussion_r899787777

Wwwsylvia avatar Jun 28 '22 07:06 Wwwsylvia

Related discussion: #240

Wwwsylvia avatar Jul 18 '22 08:07 Wwwsylvia

Based on the discussion, I will break down this issue into several sub-tasks and will send PRs separately.

  • [x] #272
  • [x] #273
  • [x] #274
  • [x] #275

Wwwsylvia avatar Jul 27 '22 10:07 Wwwsylvia

Closing as all sub-tasks are done.

Wwwsylvia avatar Sep 02 '22 12:09 Wwwsylvia