According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I9a52c912ef5ad19fe24e9294f573a2770436d5e3
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.
This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.
Change-Id: I614992cea6044be9ca21f4f18ceef92b282dfff1
As we known, Exceptions are raised by the sys.exit() function.
When they are not handled, no stack traceback is printed in the Python interpreter.
In this patch we have known main() got return values(eg:0, 1), but it can't
specifies exit status when terminate the main thread by unusing sys.exit().
So when using sys.exit(main()) instead of main() may be more readable and
reasonable.
Change-Id: I2fbc21b65d62e7d444bd1acf2858114ef7a5995f
Sync tools/tox_install.sh with python-openstackclient. This brings in
the following improvements:
* Do not leave temporary directory around, instead delete temporary
directory directly after usage (change
I939eae82dba3287fd4e4086128ebf4609a0e0770).
* Do not set ZUUL_BRANCH explicitely and remove unused if condition
(change I0077c986a17d6bb92791474e03d1e77776e9382f).
Change-Id: Ia82bd33c30dee308fea32dd5b7156d724f040172
This commit will add script and coverage config file that will allow to run
non voting coverage job which will detect any changes in the code coverage
for each commit on review.
Change-Id: I4559c86c840b40b9154f80b04b9e1c741e3236e0
This will force pip install to use the upper-constraints.txt specified
version of pip modules. When you don't do this, you are out on the
bleeding edge and become unstable everytime some python library in the
wide world changes in a way that you don't expect.
The releasenotes job has no constraints file, so override the install
command there.
Change-Id: I531606ce2ed981bddc618dac046ab081de2805eb
Partial-bug: #1598906
In PY3, print should used as a function instead of a statement.
This is PY27 compatible as well.
For example, instances of the first case were replaced by the
second case:
>>> print 'help'
File "<stdin>", line 1
print 'help'
^
SyntaxError: Missing parentheses in call to 'print'
>>> print('help')
help
Change-Id: I247aedf4a3090c2d75338389cf383adb090da231
Closes-bug: #1594741
A script to be used for bash completion of murano CLI tool
commands.
Change-Id: Id50ece6b360832601eefdb9b118c646dcaebcfc5
Implements: blueprint murano-bash-completion-script