oras icon indicating copy to clipboard operation
oras copied to clipboard

Pull arbitrary manifest config

Open shizhMSFT opened this issue 4 years ago • 2 comments

As the solution to #142, #274 enables the CLI to pull manifest config. However, the user must provide the desired media type of the config or use the default.

The advantages of specified media types are

  • Config can be virtually optional although it is a required field in the manifest.
  • oras will not pull unrecognized config files.

In this issue, we discuss we should allow pulling arbitrary manifest config or not.

If we do want to pull arbitrary manifest config, we will have more implementation complexity.

  • We need to explicitly specify a hybrid store of a file store and a memory store.
  • We need to add a manifest hooker to the base handler. Basically, we need to explicitly re-invent the oras.Pull().

shizhMSFT avatar May 19 '21 12:05 shizhMSFT

@shizhMSFT Please assign it to me.

qweeah avatar Jul 26 '22 09:07 qweeah

Assigned

lizMSFT avatar Aug 02 '22 03:08 lizMSFT