blob: 1eb13dbf3d7437609dc9ab1c6d5481f11586e7fa [file] [log] [blame]
Sean Dague1b6b5312013-07-31 06:46:34 -04001# lib/oslo
2#
3# Functions to install oslo libraries from git
4#
5# We need this to handle the fact that projects would like to use
6# pre-released versions of oslo libraries.
7
8# Dependencies:
9# ``functions`` file
10
11# ``stack.sh`` calls the entry points in this order:
12#
13# install_oslo
14
15# Save trace setting
16XTRACE=$(set +o | grep xtrace)
17set +o xtrace
18
19
20# Defaults
21# --------
22OSLOCFG_DIR=$DEST/oslo.config
23OSLOMSG_DIR=$DEST/oslo.messaging
24
25# Entry Points
26# ------------
27
28# install_oslo() - Collect source and prepare
29function install_oslo() {
30 git_clone $OSLOCFG_REPO $OSLOCFG_DIR $OSLOCFG_BRANCH
31 setup_develop $OSLOCFG_DIR
32
33 git_clone $OSLOMSG_REPO $OSLOMSG_DIR $OSLOMSG_BRANCH
34 setup_develop $OSLOMSG_DIR
35}
36
37# Restore xtrace
38$XTRACE
39
40# Local variables:
41# mode: shell-script
42# End: