From a81525b101929bc334bb1414c431bd5c1cb92bed Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 30 Oct 2012 07:41:42 +0100 Subject: [PATCH] add some thoughts on changes for multiple directory search for types and explorers Signed-off-by: Nico Schottelius --- docs/dev/logs/2012-10-29.installed_paths | 32 ++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/dev/logs/2012-10-29.installed_paths diff --git a/docs/dev/logs/2012-10-29.installed_paths b/docs/dev/logs/2012-10-29.installed_paths new file mode 100644 index 00000000..f6824274 --- /dev/null +++ b/docs/dev/logs/2012-10-29.installed_paths @@ -0,0 +1,32 @@ + +Installed paths: (read first) + os.path.dirname(cdist.__file__) + + /conf/explorer + /conf/type + +User paths: (read after, overwrite)? + + $HOME/.cdist + + /explorer + /type + + /manifest + +Additional paths: + + CDIST_EXPLORER_EXTRA_PATH=... + CDIST_TYPE_EXTRA_PATH=... + + or + + -c dir -c dir2 -c ... => + add types and explorer from those directories + last one wins? + because they can only be appended to existing "$PATH" + +Open questions: + + - How to tell types to use global explorer? + - How to tell types to find other types?