Open akashsinghal opened 2 years ago
As I try to implement this feature, I've found the work to greatly exceed the scope of one pull request. Therefore I would like to split this task into multiple, manageable smaller pull requests as follows:
github.com/opencontainers/image-spec
module to v1.1.0-rc2
. This changes go.mod
, go.sum
and the vendor
directory. #27 manifest/ociartifact
package to provide OCI artifact support. Unit tests are included. #29 registry/storage
package to support OCI artifact manifests. Unit tests are included. #30 registry/handlers/manifests.go
so that the the handlers can handle OCI artifact manifests. I have no idea how to test this part. Probably this part will be tested when issue#21 is completely resolved. #31 v2/<repository>/referrers
route, Part 1 | Implement the referrers
route. Make changes to the registry/api/v2
package. #32 v2/<repository>/referrers
route, Part 2 | Implement indexing referrers for artifact manifests. Make changes to the registry/storage
package.#35 v2/<repository>/referrers
route, Part 3 | Implement the referrersHandler
for artifact manifests. #34 v2/<repository>/referrers
route, Part 4 | Implement indexing referrers for image manifests. #41
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#listing-referrers
v2/<repository>/referrers
routeOpen questions: