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
This commit is contained in:
parent
18534b2805
commit
46f8cb7f20
@ -427,6 +427,9 @@ can be specified as a comma separated list.
|
||||
|
||||
LIBS_FROM_GIT=python-keystoneclient,oslo.config
|
||||
|
||||
Setting the variable to ``ALL`` will activate the download for all
|
||||
libraries.
|
||||
|
||||
Virtual Environments
|
||||
--------------------
|
||||
|
||||
|
@ -192,7 +192,7 @@ function get_from_global_requirements {
|
||||
function use_library_from_git {
|
||||
local name=$1
|
||||
local enabled=1
|
||||
[[ ,${LIBS_FROM_GIT}, =~ ,${name}, ]] && enabled=0
|
||||
[[ ${LIBS_FROM_GIT} = 'ALL' ]] || [[ ,${LIBS_FROM_GIT}, =~ ,${name}, ]] && enabled=0
|
||||
return $enabled
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user