Merge "Add option to download all libs from git"
This commit is contained in:
@@ -427,6 +427,9 @@ can be specified as a comma separated list.
|
|||||||
|
|
||||||
LIBS_FROM_GIT=python-keystoneclient,oslo.config
|
LIBS_FROM_GIT=python-keystoneclient,oslo.config
|
||||||
|
|
||||||
|
Setting the variable to ``ALL`` will activate the download for all
|
||||||
|
libraries.
|
||||||
|
|
||||||
Virtual Environments
|
Virtual Environments
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ function get_from_global_requirements {
|
|||||||
function use_library_from_git {
|
function use_library_from_git {
|
||||||
local name=$1
|
local name=$1
|
||||||
local enabled=1
|
local enabled=1
|
||||||
[[ ,${LIBS_FROM_GIT}, =~ ,${name}, ]] && enabled=0
|
[[ ${LIBS_FROM_GIT} = 'ALL' ]] || [[ ,${LIBS_FROM_GIT}, =~ ,${name}, ]] && enabled=0
|
||||||
return $enabled
|
return $enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
3
stackrc
3
stackrc
@@ -208,6 +208,9 @@ REQUIREMENTS_DIR=$DEST/requirements
|
|||||||
# ex: LIBS_FROM_GIT=python-keystoneclient,oslo.config
|
# ex: LIBS_FROM_GIT=python-keystoneclient,oslo.config
|
||||||
#
|
#
|
||||||
# Will install those 2 libraries from git, the rest from pypi.
|
# Will install those 2 libraries from git, the rest from pypi.
|
||||||
|
#
|
||||||
|
# Setting the variable to 'ALL' will activate the download for all
|
||||||
|
# libraries.
|
||||||
|
|
||||||
|
|
||||||
##############
|
##############
|
||||||
|
|||||||
Reference in New Issue
Block a user