This is an almost complete rewrite of the installation script, mainly
directed to allow installation of Rally also from unprivileged users,
but also adding a few more options and checks.
More in details, the script now:
* can run as unprivileged user.
* support different database types
* allow to specify custom python binary
* always asks confirmation before doing potentially dangerous actions
(removing directories or installing software)
* automatically install needed software if run as root
* this script is self-sufficient: it automatically downloads Rally
from the git if needed
* if interrupted, cleans up the virtualenv and/or the downloaded repository
Co-Authored-By: Antonio Messina <antonio.s.messina@gmail.com>
Co-Authored-By: Sergey Skripnick <sskripnick@mirantis.com>
Change-Id: I574d4fd7cc7c8e71720a6a5ff8db22ee4fd4fc81
Closes-bug: #1393887
This patch add a script rally.bash_completion which enables
auto-completion of rally CLI in bash environmnet when running:
python setup.py install
or
python setup.py develop
test:
rally [tab]
rally ta[tab]
rally task [tab]
rally task de[tab]
to-do:
adding a cache to bash-completion result could speed up auto-completion
Change-Id: Ia4c68ccf3faea73da87a93ce64b36545d9d8411c