Skip to content

Commit 46f8cb7

Browse files
committed
Add option to download all libs from git
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
1 parent 18534b2 commit 46f8cb7

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

doc/source/configuration.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,9 @@ can be specified as a comma separated list.
427427

428428
LIBS_FROM_GIT=python-keystoneclient,oslo.config
429429

430+
Setting the variable to ``ALL`` will activate the download for all
431+
libraries.
432+
430433
Virtual Environments
431434
--------------------
432435

inc/python

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function get_from_global_requirements {
192192
function use_library_from_git {
193193
local name=$1
194194
local enabled=1
195-
[[ ,${LIBS_FROM_GIT}, =~ ,${name}, ]] && enabled=0
195+
[[ ${LIBS_FROM_GIT} = 'ALL' ]] || [[ ,${LIBS_FROM_GIT}, =~ ,${name}, ]] && enabled=0
196196
return $enabled
197197
}
198198

stackrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ REQUIREMENTS_DIR=$DEST/requirements
208208
# ex: LIBS_FROM_GIT=python-keystoneclient,oslo.config
209209
#
210210
# 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.
211214

212215

213216
##############

0 commit comments

Comments
 (0)