removed references to glance and substituted with barbican

This commit is contained in:
Malini K. Bhandaru 2013-05-22 15:38:11 -07:00
parent 915520ceac
commit 02d85859e1
3 changed files with 10 additions and 12 deletions

View File

@ -32,7 +32,7 @@ Example::
\n \n
{{third-party lib imports in human alphabetical order}} {{third-party lib imports in human alphabetical order}}
\n \n
{{glance imports in human alphabetical order}} {{barbican imports in human alphabetical order}}
\n \n
\n \n
{{begin your code}} {{begin your code}}
@ -52,12 +52,10 @@ Example::
import eventlet import eventlet
import webob.exc import webob.exc
import glance.api.middleware import barbican.api.middleware
from glance.api import images import barbican.common
from glance.auth import users from barbican.crypto import plugin.py
import glance.common from barbican.model import repositories
from glance.endpoint import cloud
from glance import test
Docstrings Docstrings

View File

@ -2,7 +2,7 @@
function usage { function usage {
echo "Usage: $0 [OPTION]..." echo "Usage: $0 [OPTION]..."
echo "Run Glance's test suite(s)" echo "Run Barbican's test suite(s)"
echo "" echo ""
echo " -V, --virtual-env Always use virtualenv. Install automatically if not present" echo " -V, --virtual-env Always use virtualenv. Install automatically if not present"
echo " -N, --no-virtual-env Don't use virtualenv. Run tests in local environment" echo " -N, --no-virtual-env Don't use virtualenv. Run tests in local environment"
@ -24,7 +24,7 @@ function process_option {
-N|--no-virtual-env) let always_venv=0; let never_venv=1;; -N|--no-virtual-env) let always_venv=0; let never_venv=1;;
-p|--pep8) let just_pep8=1;; -p|--pep8) let just_pep8=1;;
-f|--force) let force=1;; -f|--force) let force=1;;
--unittests-only) noseargs="$noseargs --exclude-dir=glance/tests/functional";; --unittests-only) noseargs="$noseargs --exclude-dir=barbican/tests/functional";;
*) noseargs="$noseargs $1" *) noseargs="$noseargs $1"
esac esac
} }
@ -51,7 +51,7 @@ function run_tests {
function run_pep8 { function run_pep8 {
echo "Running pep8 ..." echo "Running pep8 ..."
PEP8_OPTIONS="--exclude=$PEP8_EXCLUDE --repeat" PEP8_OPTIONS="--exclude=$PEP8_EXCLUDE --repeat"
PEP8_INCLUDE="bin/* glance tools setup.py run_tests.py" PEP8_INCLUDE="bin/* barbican tools setup.py run_tests.py"
${wrapper} pep8 $PEP8_OPTIONS $PEP8_INCLUDE ${wrapper} pep8 $PEP8_OPTIONS $PEP8_INCLUDE
} }

View File

@ -26,7 +26,7 @@ except ImportError:
# Determine version of this application. # Determine version of this application.
# TBD: Revisit version flows and processing once integrating with OpenStack, # TBD: Revisit version flows and processing once integrating with OpenStack,
# see glance setup.py # see barbican setup.py
PKG = "barbican" PKG = "barbican"
VERSIONFILE = os.path.join(PKG, "version.py") VERSIONFILE = os.path.join(PKG, "version.py")
version = "unknown" version = "unknown"
@ -49,7 +49,7 @@ class local_sdist(sdist):
cmdclass = {'sdist': local_sdist} cmdclass = {'sdist': local_sdist}
# TDB: Revisit sphinx documentation needs once move to OpenStack... # TDB: Revisit sphinx documentation needs once move to OpenStack...
# see glance setup.py # see barbican setup.py
setup( setup(
name='barbican', name='barbican',