From 6e46cc7e04a908a74cf3f7dda1525d6c1869b79e Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 8 Dec 2011 15:14:48 -0800 Subject: [PATCH] Rename .nova-venv to .venv. This simplifies a number of Jenkins jobs which currently, other than directory names, could be the same for all OpenStack projects. By renaming the virtualenv directory, the redundant Jenkins virtualenv build and copy jobs can be eliminated. Change-Id: Ieaf1dac3207ecb34b911c7edcd2086809abdf49e --- .gitignore | 1 + .mailmap | 2 ++ Authors | 2 +- doc/source/devref/development.environment.rst | 4 ++-- run_tests.sh | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 3ef41c879..64a96d0a8 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ build/* build-stamp nova.egg-info .nova-venv +.venv *.sqlite *.log po/*.pot \ No newline at end of file diff --git a/.mailmap b/.mailmap index 2265c2e22..21bdaaa3a 100644 --- a/.mailmap +++ b/.mailmap @@ -25,6 +25,8 @@ + + diff --git a/Authors b/Authors index 11e1daa8c..adc7c9c95 100644 --- a/Authors +++ b/Authors @@ -55,7 +55,7 @@ Hisaki Ohara Ilya Alekseyev Isaku Yamahata Jake Dahn -James E. Blair +James E. Blair Jason Cannavale Jason Koelker Jay Pipes diff --git a/doc/source/devref/development.environment.rst b/doc/source/devref/development.environment.rst index 1e81b4cfa..ce5b721b7 100644 --- a/doc/source/devref/development.environment.rst +++ b/doc/source/devref/development.environment.rst @@ -96,7 +96,7 @@ Grab the code from GitHub:: Running unit tests ------------------ -The unit tests will run by default inside a virtualenv in the ``.nova-venv`` +The unit tests will run by default inside a virtualenv in the ``.venv`` directory. Run the unit tests by doing:: ./run_tests.sh @@ -130,7 +130,7 @@ If all goes well, you should get a message something like this:: To activate the Nova virtualenv for the extent of your current shell session you can run:: - $ source .nova-venv/bin/activate + $ source .venv/bin/activate Or, if you prefer, you can run commands in the virtualenv on a case by case basis by running:: diff --git a/run_tests.sh b/run_tests.sh index 23e9783b1..0b2acbc00 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -42,7 +42,7 @@ function process_option { esac } -venv=.nova-venv +venv=.venv with_venv=tools/with_venv.sh always_venv=0 never_venv=0