Remove the following collections of tools
analyze-oslo.sh, new_core.py, new_core_analyzer.py,
new_core_recruit.py
Used to handle identification and onboarding of new cores. Committed
in 2015 and likely unused in recent years.
apply_cookiecutter.sh
References "graduation" of oslo projects. Oslo Incubator is dead and
so is this.
dashboards/*, build_dashboards.sh
From 2015 and untouched so likely unused nowadays. Most of these are
available in the gerrit-dash-creator now.
clean_oslo_namespaces.sh
A remnant from the days we thought namespace packages were a good
idea. I miss those days...
clone_openstack.sh
Clones the entirety of OpenStack to your local drive. Seems
initially useful but references stackforge and untouched in years so
not really.
lint.py
Runs PyLint with our special flavor of settings. Initially replaced
by tox and now dead because PyLint is a PITA.
find_used_deleted_modules.py
Another reference to the incubator. Now dead.
remove-namespace-packages-project.txt
Describe the long-since-completed effort to drop namespace packages.
No references and therefore removable.
run_tests_common.sh, with_venv.sh, install_venv.py,
install_venv_common.py
All replaced by tox for, well, everything nowadays.
colorizer.py
No users after everything else is removed.
virtual_sprint.py
Sends an email about a virtual sprint. No one's using this anymore
and it was last modified in 2014.
Change-Id: I6c5bd16dcfacdd816caf568f30e55451acf03ae1
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
we don't use py26 in our testing and CI any longer, we no longer
need to keep code to check specifically for py26.
Change-Id: If5071a3816c6d6bc0dcb1508080659c9207e2519
Follow oslo.config style guide for help strings better to create
more consistent help strings:
* Capitalize first word of each help string
* Finish help strings with "."
* Improve wording, capitalization
Change-Id: Ia9698807430d8b6b0862dfb8a7f8874703a88ff1
No need to set tabstop 189 times, this can be set in your vimrc file
instead. Also if set incorrectly gate (pep8 check) will catch your
mistakes.
Change-Id: Ic6f0c0ef94e8194a5c121598305d1ec3c74e4843
The gorey details for why this exists is in the commit message for
commit 3c132c0.
As of this fix:
https://github.com/eventlet/eventlet/pull/34
which was released in eventlet 0.13, we no longer need the patch.
Change-Id: I84267f3c6726cb2e750f615e107c48b12c6ed353
We need to check requirements.txt and test-requirements.txt
in parallel to ensure both are satisfied and we don't upgrade
a package beyond requirements.txt's limits when installing
dependencies for test-requirements.txt
Fixes bug: 1227019
Change-Id: I606f8a1d3eed5c270d5b3c154994d5c3a17b98c8
There is a problem with setuptools and firewalls that prevents
setuptools from downloading setup_requires properly. The only thing
in openstack that really needs setup_requires is pbr. Once that's in,
everything else installs via pip, which does firewalls correctly. So,
just install the latest pbr into the venv and the rest should work.
Change-Id: I838559f6f308e4a0c255af7bc27cdc669c5cf5f3
Upstream distribute is dead and has been merged back into setuptools.
Additionally, enhancements have been made to both setuptools and pip
that mean we no longer have to carry hacks around versions.
Also, we don't need to install greenlet here. Order is respected in
requirements.txt.
Also, let's kill the pip_requires verbage.
Change-Id: Ia15c66d6a03522e804ff96fd6f8d81db00467a6e
The eventlet repository has moved, so the bug url referenced
in the comment about why we patch eventlet needs to be updated.
Change-Id: I55abe0b6eb4c8e21fad15a10d6ec71d3b5a59e54
Change print statements so that it works with python3
as well.
Change-Id: Iff16b62e4b875c79862c9af7726ea77627aa7b4f
Signed-off-by: Chuck Short <chuck.short@canonical.com>
In order to bootstrap a virtualenv from an unmodified 2.6 Python environment,
we need to use optparse instead of argparse or openstack.common.cfg.
Fixes bug 1174926
Change-Id: Iad636c7adf7b184756eeba5ca760d8a76fc0e354
Updates our common venv installation routine so that it no longer
attempts to automatically install missing RPM packages via sudo
and instead just prints an error message and dies.
The primary motivation here was to avoid sudo altogether since
some people would rather not have the test suite run these sorts
of systems admin commands for them.
Change-Id: I350e5421a4dd3094217270d39547acaea0aeda3b
fixes bug 1154745
The previous update (https://review.openstack.org/#/c/24103/) missed
header files that contained "OpenStack, LLC". This change corrects the
missed files to reflect the OpenStack Foundation.
Change-Id: I9c6de265267485ef2c82ea7e6d8643e82134d102
Similar to what we did in 427769c we need to ignore checking
exit codes for patch -N command so that they can be run multiple
times.
The motivation here is that I would like to use this to patch
virtual env's created by tox. Tox doesn't provide a good hook
to call post_process (which patches files) only once so the
idea here is we'll just let it call post_process all the time...
Change-Id: I866e7a3e1fd492d7d4c08eb55cde02f2dfa16c9a
This patch makes it possible to call the post_process function
in install_venv_common (which currently only patches files)
multiple times.
The motivation here is that I would like to use this to patch
virtual env's created by tox. Tox doesn't provide a good hook
to call post_process (which patches files) only once so the
idea here is we'll just let it call post_process all the time...
and for distro's where patching is used to fix the venv the
patch -N option will make it skip patches on subsequent runs.
Change-Id: Ib0a36e49dd1884de131c569fe8bb66fe20285e97
Several people have complained that requiring oslo-config to be
installed in order to run install_venv seems like a chicken and egg
problem.
We're only using cfg for a boolean CLI option which is way overkill.
The truth is that cfg is really only interesting if you want to process
options from both the command line and configuration files. Clearly
that's not the case here.
Just use argparse instead of cfg.
Change-Id: Ib602686b554c3548f4be3d4a69d128c5fef7e8cf
The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.
Add the 2013.1b3 tarball to tools/pip-requires - this will be changed
to 'oslo-config>=2013.1' when oslo-config is published to pypi. This
will happen in time for grizzly final.
Remove the 'deps = pep8==1.3.3' and 'deps = pyflakes' from tox.ini as
it means all the other deps get installed with easy_install which can't
install oslo-config from the URL.
Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
This commit cleans up usage in the docstring for:
run_command_with_code() to be more explicit in the description
of where the commands are being run.
It also updates the prints to be consistent in the usage of venv
vs virtualenv.
These changes were recommended in the review for change:
I68fe3449ed0fcc7fdfb84af2dcc77a39ebde7f01
Change-Id: I3cdb3d991503446d37c8fa6a3547585a4f8beb6a
source directory.
Not doing this raised exceptions when it tried importing modules
that didn't exist in the path.
Change-Id: I10e02cd9ce6beb8fdf822dd397688450ac6981a1
This adds a install_venv.py library that can be used by each
project's tools/install_venv.py script.
Currently all the projects have very similar install_venv
scripts in their respective tools directories that all
accomplish the same end result. This just breaks out the
common code and puts it in a class that can be imported
and used in each project's script.
Change-Id: I8346fc4201f35e5d0c475caef893ca71e7db8236