For client debugging that invokes multiple libs it can be useful
to have all libs directly in git and not listing all of them
in LIBS_FROM_GIT.
TrivialFix
Change-Id: Ie631cc4045231ebbe8177d2d113e47e4bf83f61c
... | ... |
@@ -427,6 +427,9 @@ can be specified as a comma separated list. |
427 | 427 |
|
428 | 428 |
LIBS_FROM_GIT=python-keystoneclient,oslo.config |
429 | 429 |
|
430 |
+Setting the variable to ``ALL`` will activate the download for all |
|
431 |
+libraries. |
|
432 |
+ |
|
430 | 433 |
Virtual Environments |
431 | 434 |
-------------------- |
432 | 435 |
|
... | ... |
@@ -192,7 +192,7 @@ function get_from_global_requirements { |
192 | 192 |
function use_library_from_git { |
193 | 193 |
local name=$1 |
194 | 194 |
local enabled=1 |
195 |
- [[ ,${LIBS_FROM_GIT}, =~ ,${name}, ]] && enabled=0 |
|
195 |
+ [[ ${LIBS_FROM_GIT} = 'ALL' ]] || [[ ,${LIBS_FROM_GIT}, =~ ,${name}, ]] && enabled=0 |
|
196 | 196 |
return $enabled |
197 | 197 |
} |
198 | 198 |
|
... | ... |
@@ -208,6 +208,9 @@ REQUIREMENTS_DIR=$DEST/requirements |
208 | 208 |
# ex: LIBS_FROM_GIT=python-keystoneclient,oslo.config |
209 | 209 |
# |
210 | 210 |
# Will install those 2 libraries from git, the rest from pypi. |
211 |
+# |
|
212 |
+# Setting the variable to 'ALL' will activate the download for all |
|
213 |
+# libraries. |
|
211 | 214 |
|
212 | 215 |
|
213 | 216 |
############## |