-
Notifications
You must be signed in to change notification settings - Fork 877
Pluggable architecture #353
Conversation
Here is how plugins are expected to attach:
|
@@ -1,66 +1,7 @@ | |||
# -*- coding: utf-8 -*- | |||
# flake8: noqa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes in init here are meant for the namespace to be used - thus, this have been moved to the run
file below.
We are almost there.
Still todo for tomorrow, before we can merge:
|
+ editor config + sublime project
Docker-DCO-1.1-Signed-off-by: Mangled Deutz <[email protected]> (github: dmp42)
Docker-DCO-1.1-Signed-off-by: Mangled Deutz <[email protected]> (github: dmp42)
Docker-DCO-1.1-Signed-off-by: Mangled Deutz <[email protected]> (github: dmp42)
Docker-DCO-1.1-Signed-off-by: Mangled Deutz <[email protected]> (github: dmp42)
LGTM |
Ok. We are trying staging right now. |
Docker-DCO-1.1-Signed-off-by: Mangled Deutz <[email protected]> (github: dmp42)
Docker-DCO-1.1-Signed-off-by: Mangled Deutz <[email protected]> (github: dmp42)
Docker-DCO-1.1-Signed-off-by: Mangled Deutz <[email protected]> (github: dmp42)
@shin- ok for you? |
self._config = config | ||
self._root_path = self._config.storage_path | ||
self._root_path = config.get('storage_path', '/test') | ||
# logger.info("WHATDFUCK %s" % self._root_path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cleanup?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Docker-DCO-1.1-Signed-off-by: Mangled Deutz <[email protected]> (github: dmp42)
@@ -0,0 +1,35 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if this slipped through or if it was intentionally put in. Don't think we want editor-related files in the repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, let's remove it.
Docker-DCO-1.1-Signed-off-by: Mangled Deutz <[email protected]> (github: dmp42)
Docker-DCO-1.1-Signed-off-by: Mangled Deutz <[email protected]> (github: dmp42)
Docker-DCO-1.1-Signed-off-by: Mangled Deutz <[email protected]> (github: dmp42)
lgtm! |
Let's drop young, then. |
This breaks the
it would be good for the default Dockerfile in the repo to include the glance and swift storage drivers. |
Glance is work in progress and will get fixed before the release. Any help in setting up glance for tests is welcome in https://github.com/dmp42/docker-registry-driver-glance/blob/master/.travis.yml About wether to (re)include swift and glance as a default, this is not my call to make, but the whole idea is to make it as simple as |
Would releasing a |
@shin- the docker-registry-driver-glance repo can easily provide a Dockerfile as well extending the registry image with glance crammed in (makes sense to maintain it there?). |
This is not to be merged right now.
It's an overview (and a call for comments) of the new plugin architecture.
A few facts:
depends
subfolder, and the git repos are under my nickdocker_registry
as a ns turned out to be more difficult than expected - hence the (slight) delay on this PRdocker-registry-core
(https://github.com/dmp42/docker-registry-core) is to contain (few) common utilities that are of interest to plugins and registry, its purpose being to minimize the work for plugins developers and to let us express our storage API and centrally update testsdocker-registry-driver-file
(https://github.com/dmp42/docker-registry-driver-file) (and swift) are first expressions of these new pluginsWhat I would love to have for now is opinions:
core
: are you happy with what is there?I'll push more commit as soon as I'm building successfully again.
cc @samalba @shin-