Story #4244

Updated by over 2 years ago

Depending The TagView endpoint should return a Manifest or a ManifestList depending on the accept headers that registry will receive from the client it will and depending on what registry has currently in tits storage:

1) convert schema2--> schema1
2) convert manifest list by looking up the appropriate manifest for the amd64 platform and linux OS, rewrite that manifest into the old format if necessary, and return the result to the client. If no suitable manifest is found in the manifest list, the registry will return a 404 error.
3) schema1 is returned the way it is without conversion