From ee9064b76293ec8838f7a3a52ed1de45056f6201 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Thu, 19 Feb 2015 15:06:23 -0800 Subject: [PATCH] Add debtcollector to lib/oslo and stackrc Ensure that the debtcollector library is pulled in like the other oslo libraries so that devstack can use it where appropriate. Also fixes 'test_libs_from_pypi.sh' to not have a huge single line of libraries; and splits it into multiple lines so the diffs and code can be easily looked at. Change-Id: I35ab0ed0e20b6092a41ecb3b6f1aaf0a05f5180e --- lib/oslo | 2 ++ stackrc | 4 ++++ tests/test_libs_from_pypi.sh | 12 +++++++++++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/lib/oslo b/lib/oslo index effde90f13..18cddc193e 100644 --- a/lib/oslo +++ b/lib/oslo @@ -23,6 +23,7 @@ set +o xtrace # Defaults # -------- GITDIR["cliff"]=$DEST/cliff +GITDIR["debtcollector"]=$DEST/debtcollector GITDIR["oslo.concurrency"]=$DEST/oslo.concurrency GITDIR["oslo.config"]=$DEST/oslo.config GITDIR["oslo.context"]=$DEST/oslo.context @@ -58,6 +59,7 @@ function _do_install_oslo_lib { # install_oslo() - Collect source and prepare function install_oslo { _do_install_oslo_lib "cliff" + _do_install_oslo_lib "debtcollector" _do_install_oslo_lib "oslo.concurrency" _do_install_oslo_lib "oslo.config" _do_install_oslo_lib "oslo.context" diff --git a/stackrc b/stackrc index e084d94d7c..b2bc970c63 100644 --- a/stackrc +++ b/stackrc @@ -314,6 +314,10 @@ GITDIR["python-openstackclient"]=$DEST/python-openstackclient GITREPO["cliff"]=${CLIFF_REPO:-${GIT_BASE}/openstack/cliff.git} GITBRANCH["cliff"]=${CLIFF_BRANCH:-master} +# debtcollector deprecation framework/helpers +GITREPO["debtcollector"]=${DEBTCOLLECTOR_REPO:-${GIT_BASE}/openstack/debtcollector.git} +GITBRANCH["debtcollector"]=${DEBTCOLLECTOR_BRANCH:-master} + # oslo.concurrency GITREPO["oslo.concurrency"]=${OSLOCON_REPO:-${GIT_BASE}/openstack/oslo.concurrency.git} GITBRANCH["oslo.concurrency"]=${OSLOCON_BRANCH:-master} diff --git a/tests/test_libs_from_pypi.sh b/tests/test_libs_from_pypi.sh index a2a6cb781c..472b0ea4af 100755 --- a/tests/test_libs_from_pypi.sh +++ b/tests/test_libs_from_pypi.sh @@ -29,7 +29,17 @@ for i in $TOP/lib/*; do fi done -ALL_LIBS="python-novaclient oslo.config pbr oslo.context python-troveclient python-keystoneclient taskflow oslo.middleware pycadf python-glanceclient python-ironicclient tempest-lib oslo.messaging oslo.log cliff python-heatclient stevedore python-cinderclient glance_store oslo.concurrency oslo.db oslo.vmware keystonemiddleware oslo.serialization python-saharaclient django_openstack_auth python-openstackclient oslo.rootwrap oslo.i18n python-ceilometerclient oslo.utils python-swiftclient python-neutronclient tooz ceilometermiddleware oslo.policy" +ALL_LIBS="python-novaclient oslo.config pbr oslo.context python-troveclient" +ALL_LIBS+=" python-keystoneclient taskflow oslo.middleware pycadf" +ALL_LIBS+=" python-glanceclient python-ironicclient tempest-lib" +ALL_LIBS+=" oslo.messaging oslo.log cliff python-heatclient stevedore" +ALL_LIBS+=" python-cinderclient glance_store oslo.concurrency oslo.db" +ALL_LIBS+=" oslo.vmware keystonemiddleware oslo.serialization" +ALL_LIBS+=" python-saharaclient django_openstack_auth" +ALL_LIBS+=" python-openstackclient oslo.rootwrap oslo.i18n" +ALL_LIBS+=" python-ceilometerclient oslo.utils python-swiftclient" +ALL_LIBS+=" python-neutronclient tooz ceilometermiddleware oslo.policy" +ALL_LIBS+=" debtcollector" # Generate the above list with # echo ${!GITREPO[@]}