Skip to content

Comments

api: Use OCI types for Digest and Platform#33237

Merged
thaJeztah merged 1 commit intomoby:masterfrom
aaronlehmann:oci-types
May 17, 2017
Merged

api: Use OCI types for Digest and Platform#33237
thaJeztah merged 1 commit intomoby:masterfrom
aaronlehmann:oci-types

Conversation

@aaronlehmann
Copy link

The current use of the types from distribution brings in some
unfortunate dependencies, including other distribution packages and the
gorilla/mux and gorilla/context packages. Using the OCI types avoids
the extra dependencies for client users.

cc @nishanttotla @stevvooe @ijc25

@ijc
Copy link
Contributor

ijc commented May 16, 2017

LGTM

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we not need to update the fourth field here?

@nishanttotla
Copy link
Contributor

nishanttotla commented May 16, 2017

LGTM (I am not a maintainer).

This will impact #32388, so either that (or this) PR need to be updated depending on which gets merged first.

EDIT: Actually it doesn't seem like there will be impact.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use the features field at all. We are removing it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

The current use of the types from distribution brings in some
unfortunate dependencies, including other distribution packages and the
gorilla/mux and gorilla/context packages. Using the OCI types avoids
the extra dependencies for client users.

Signed-off-by: Aaron Lehmann <[email protected]>
@stevvooe
Copy link
Contributor

LGTM

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (if green)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants