Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor storage API to be registry oriented #74

Merged
merged 2 commits into from
Jan 20, 2015

Conversation

stevvooe
Copy link
Collaborator

In support of making the storage API ready for supporting notifications and mirroring, we've begun the process of paring down the storage model. The process started by creating a central Registry interface. From there, the common name argument on the LayerService and ManifestService was factored into a Repository interface. The rest of the changes directly follow from this.

An interface wishlist was added, suggesting a direction to take the registry package that should support the distribution project's future goals. As these objects move out of the storage package and we implement a Registry backed by the http client, these design choices will start getting validation.

Connects to #42.

Signed-off-by: Stephen J Day <stephen.day@docker.com

In support of making the storage API ready for supporting notifications and
mirroring, we've begun the process of paring down the storage model. The
process started by creating a central Registry interface. From there, the
common name argument on the LayerService and ManifestService was factored into
a Repository interface. The rest of the changes directly follow from this.

An interface wishlist was added, suggesting a direction to take the registry
package that should support the distribution project's future goals. As these
objects move out of the storage package and we implement a Registry backed by
the http client, these design choices will start getting validation.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
Signed-off-by: Stephen J Day <stephen.day@docker.com>
@stevvooe stevvooe added this to the Registry/Beta milestone Jan 17, 2015
@dmp42
Copy link
Contributor

dmp42 commented Jan 19, 2015

LGTM - I like where this goes.

@stevvooe stevvooe self-assigned this Jan 19, 2015
dmp42 added a commit that referenced this pull request Jan 20, 2015
Refactor storage API to be registry oriented
@dmp42 dmp42 merged commit 8ae6179 into distribution:master Jan 20, 2015
@stevvooe stevvooe deleted the refactor-storage-interfaces branch January 20, 2015 18:45
@stevvooe stevvooe modified the milestones: Registry/2.0.0-beta, Registry/2.0 Mar 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants