Skip to content

registry: reorganize package layout - #167

Merged
dmp42 merged 7 commits into
distribution:masterfrom
stevvooe:registry-handler-package
Feb 11, 2015
Merged

dmp42 merged 7 commits into
distribution:masterfrom
stevvooe:registry-handler-package

Conversation

@stevvooe

Copy link
Copy Markdown
Collaborator

For the most part this change does exactly what is described by #158, although we haven't move the registry definitions into the registry package as of yet. The last step requires more surgery and depends on some other ongoing work (#157, #159).

While this PR seems massive, it most consists of moves and updates to import statements. The only main caveat is that registry/storage/driver is imported as storagedriver to avoid a major kludge of a PR.

Connects to #158

The goal is to free up the distribution/registry package to include common
registry types. This moves the webapp definitions out of the way to allow for
this change in the future.

Signed-off-by: Stephen J Day <[email protected]>
@stevvooe

Copy link
Copy Markdown
Collaborator Author

cc @docker/distribution-maintainers

@stevvooe stevvooe added this to the Registry/Beta milestone Feb 11, 2015
@stevvooe stevvooe changed the title Reorganize package layout registry: reorganize package layout Feb 11, 2015
This change is slightly more complex than previous package maves in that the
package name changed. To address this, we simply always reference the package
driver as storagedriver to avoid compatbility issues with existing code. While
unfortunate, this can be cleaned up over time.

Signed-off-by: Stephen J Day <[email protected]>
After all of the perl refactoring, some import orderings were left asunder.
This commit corrects that.

Signed-off-by: Stephen J Day <[email protected]>
@stevvooe
stevvooe force-pushed the registry-handler-package branch from 12a1e65 to f74b985 Compare February 11, 2015 20:43
@dmcgowan

Copy link
Copy Markdown
Collaborator

LGTM

1 similar comment
@dmp42

dmp42 commented Feb 11, 2015

Copy link
Copy Markdown
Contributor

LGTM

dmp42 added a commit that referenced this pull request Feb 11, 2015
@dmp42
dmp42 merged commit 2000759 into distribution:master Feb 11, 2015
@dmp42 dmp42 removed the In Progress label Feb 11, 2015
@stevvooe
stevvooe deleted the registry-handler-package branch February 11, 2015 22:33
@stevvooe stevvooe modified the milestones: Registry/2.0.0-beta, Registry/2.0 Mar 31, 2015
wking added a commit to wking/docker-distribution that referenced this pull request May 31, 2015
Catch up after 88795e0 (Lots of various golint fixes, 2014-11-17, distribution#1)
and 65b0d73 (Move storagedriver package to registry/storage/driver,
2015-02-10, distribution#167).
wking added a commit to wking/docker-distribution that referenced this pull request May 31, 2015
Catch up after 88795e0 (Lots of various golint fixes, 2014-11-17, distribution#1)
and 65b0d73 (Move storagedriver package to registry/storage/driver,
2015-02-10, distribution#167).

Signed-off-by: W. Trevor King <[email protected]>
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.

3 participants