Skip to content

Commit 62f800b

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "cleanup comments"
2 parents a1f45c6 + 7e41c6c commit 62f800b

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

lib/libraries

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# lib/oslo
44
#
5-
# Functions to install **Oslo** libraries from git
5+
# Functions to install libraries from git
66
#
77
# We need this to handle the fact that projects would like to use
88
# pre-released versions of oslo libraries.
@@ -13,10 +13,10 @@
1313

1414
# ``stack.sh`` calls the entry points in this order:
1515
#
16-
# - install_oslo
16+
# - install_libraries
1717

1818
# Save trace setting
19-
_XTRACE_LIB_OSLO=$(set +o | grep xtrace)
19+
_XTRACE_LIB_LIBRARIES=$(set +o | grep xtrace)
2020
set +o xtrace
2121

2222

@@ -54,12 +54,11 @@ GITDIR["python-openstacksdk"]=$DEST/python-openstacksdk
5454
GITDIR["stevedore"]=$DEST/stevedore
5555
GITDIR["taskflow"]=$DEST/taskflow
5656
GITDIR["tooz"]=$DEST/tooz
57-
# TODO(mriedem): This is a common pattern so even though os-traits isn't
58-
# officially an oslo library, it is nice to re-use this script for non-oslo
59-
# things like os-traits. We should rename this script to be more generic
60-
# and then fold os-brick into it also.
61-
GITDIR["os-traits"]=$DEST/os-traits
57+
58+
# Non oslo libraries are welcomed below as well, this prevents
59+
# duplication of this code.
6260
GITDIR["os-brick"]=$DEST/os-brick
61+
GITDIR["os-traits"]=$DEST/os-traits
6362

6463
# Support entry points installation of console scripts
6564
OSLO_BIN_DIR=$(get_python_exec_prefix)
@@ -120,18 +119,20 @@ function install_libs {
120119
# installation of additional libraries
121120
#
122121
# os-traits for nova
123-
_install_lib_from_source "os-traits"
124-
# os-brick for nova/cinder
125122
_install_lib_from_source "os-brick"
123+
_install_lib_from_source "os-traits"
126124

127125

128126
# etcd (because tooz does not have a hard dependency on these)
127+
#
128+
# NOTE(sdague): this is currently a work around because tooz
129+
# doesn't pull in etcd3.
129130
pip_install etcd3
130131
pip_install etcd3gw
131132
}
132133

133134
# Restore xtrace
134-
$_XTRACE_LIB_OSLO
135+
$_XTRACE_LIB_LIBRARIES
135136

136137
# Tell emacs to use shell-script-mode
137138
## Local variables:

0 commit comments

Comments
 (0)