Rename to os-performance-tools

The name was too generic, and would have become a problem for import
into OpenStack's QA program. So focus it on performance tools.
This commit is contained in:
Clint Byrum 2015-11-09 15:16:51 -08:00
parent f920b45956
commit 4099c44e21
24 changed files with 44 additions and 44 deletions

View File

@ -14,4 +14,4 @@ Pull requests submitted through GitHub will be ignored.
Bugs should be filed on Launchpad, not GitHub: Bugs should be filed on Launchpad, not GitHub:
https://bugs.launchpad.net/openstack-qa-tools https://bugs.launchpad.net/os-performance-tools

View File

@ -1,4 +1,4 @@
openstack-qa-tools Style Commandments os-performance-tools Style Commandments
=============================================== ===============================================
Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/ Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/

View File

@ -1,5 +1,5 @@
=============================== ===============================
openstack-qa-tools os-performance-tools
=============================== ===============================
Python scripts for use in OpenStack's QA process Python scripts for use in OpenStack's QA process
@ -9,8 +9,8 @@ Please feel here a long description which must be at least 3 lines wrapped on
Note that this is a hard requirement. Note that this is a hard requirement.
* Free software: Apache license * Free software: Apache license
* Documentation: http://docs.openstack.org/developer/openstack-qa-tools * Documentation: http://docs.openstack.org/developer/os-performance-tools
* Source: http://git.openstack.org/cgit/openstack/openstack-qa-tools * Source: http://git.openstack.org/cgit/openstack/os-performance-tools
* Bugs: http://bugs.launchpad.net/openstack-qa * Bugs: http://bugs.launchpad.net/openstack-qa
Features Features

View File

@ -37,7 +37,7 @@ source_suffix = '.rst'
master_doc = 'index' master_doc = 'index'
# General information about the project. # General information about the project.
project = u'openstack-qa-tools' project = u'os-performance-tools'
copyright = u'2013, OpenStack Foundation' copyright = u'2013, OpenStack Foundation'
# If true, '()' will be appended to :func: etc. cross-reference text. # If true, '()' will be appended to :func: etc. cross-reference text.

View File

@ -1,9 +1,9 @@
.. openstack-qa-tools documentation master file, created by .. os-performance-tools documentation master file, created by
sphinx-quickstart on Tue Jul 9 22:26:36 2013. sphinx-quickstart on Tue Jul 9 22:26:36 2013.
You can adapt this file completely to your liking, but it should at least You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive. contain the root `toctree` directive.
Welcome to openstack-qa-tools's documentation! Welcome to os-performance-tools's documentation!
======================================================== ========================================================
Contents: Contents:

View File

@ -4,9 +4,9 @@ Installation
At the command line:: At the command line::
$ pip install openstack-qa-tools $ pip install os-performance-tools
Or, if you have virtualenvwrapper installed:: Or, if you have virtualenvwrapper installed::
$ mkvirtualenv openstack-qa-tools $ mkvirtualenv os-performance-tools
$ pip install openstack-qa-tools $ pip install os-performance-tools

View File

@ -2,6 +2,6 @@
Usage Usage
======== ========
To use openstack-qa-tools in a project:: To use os-performance-tools in a project::
import openstack_qa_tools import os_performance_tools

View File

@ -3,4 +3,4 @@
# The list of modules to copy from oslo-incubator.git # The list of modules to copy from oslo-incubator.git
# The base module to hold the copy of openstack.common # The base module to hold the copy of openstack.common
base=openstack_qa_tools base=os_performance_tools

View File

@ -16,4 +16,4 @@ import pbr.version
__version__ = pbr.version.VersionInfo( __version__ = pbr.version.VersionInfo(
'openstack_qa_tools').version_string() 'os_performance_tools').version_string()

View File

@ -16,9 +16,9 @@ import logging
import sys import sys
import threading import threading
from openstack_qa_tools.collectors import _delta from os_performance_tools.collectors import _delta
from openstack_qa_tools.collectors import mysql from os_performance_tools.collectors import mysql
from openstack_qa_tools.collectors import queues from os_performance_tools.collectors import queues
from subunit import v2 as subunit_v2 from subunit import v2 as subunit_v2
mysql_data = {} mysql_data = {}

View File

@ -19,7 +19,7 @@ import os
import pymysql import pymysql
from six.moves import configparser from six.moves import configparser
from openstack_qa_tools import error from os_performance_tools import error
COLLECT_COUNTERS = ( COLLECT_COUNTERS = (
'Com_delete', 'Com_delete',

View File

@ -19,7 +19,7 @@ import socket
from six.moves import http_client from six.moves import http_client
from openstack_qa_tools import error from os_performance_tools import error
OS_QA_RABBITMQ_API = os.environ.get('OS_QA_RABBITMQ_API', OS_QA_RABBITMQ_API = os.environ.get('OS_QA_RABBITMQ_API',
'127.0.0.1:15672') '127.0.0.1:15672')

View File

@ -16,14 +16,14 @@
test_collect test_collect
---------------------------------- ----------------------------------
Tests for `openstack_qa_tools.collect` Tests for `os_performance_tools.collect`
""" """
import json import json
import mock import mock
from openstack_qa_tools import collect from os_performance_tools import collect
from openstack_qa_tools.tests import base from os_performance_tools.tests import base
import six import six
import subunit import subunit
import testtools import testtools
@ -49,8 +49,8 @@ class TestCollect(base.TestCase):
self.stdout = six.BytesIO() self.stdout = six.BytesIO()
self.attachments = [] self.attachments = []
@mock.patch('openstack_qa_tools.collectors.mysql.collect') @mock.patch('os_performance_tools.collectors.mysql.collect')
@mock.patch('openstack_qa_tools.collectors.queues.collect') @mock.patch('os_performance_tools.collectors.queues.collect')
def test_collect_main(self, queues_mock, mysql_mock): def test_collect_main(self, queues_mock, mysql_mock):
mysql_mock.return_value = {} mysql_mock.return_value = {}
queues_mock.return_value = {} queues_mock.return_value = {}
@ -66,8 +66,8 @@ class TestCollect(base.TestCase):
name = name.split(':')[0] name = name.split(':')[0]
self.attachments[name] = detail self.attachments[name] = detail
@mock.patch('openstack_qa_tools.collectors.mysql.collect') @mock.patch('os_performance_tools.collectors.mysql.collect')
@mock.patch('openstack_qa_tools.collectors.queues.collect') @mock.patch('os_performance_tools.collectors.queues.collect')
def test_collect_main_subunit(self, queues_mock, mysql_mock): def test_collect_main_subunit(self, queues_mock, mysql_mock):
mysql_mock.return_value = {} mysql_mock.return_value = {}
queues_mock.return_value = {} queues_mock.return_value = {}

View File

@ -16,13 +16,13 @@
test_delta test_delta
---------------------------------- ----------------------------------
Tests for `openstack_qa_tools.collectors._delta` Tests for `os_performance_tools.collectors._delta`
""" """
import testscenarios import testscenarios
from openstack_qa_tools.collectors import _delta from os_performance_tools.collectors import _delta
from openstack_qa_tools.tests import base from os_performance_tools.tests import base
class TestOSQATDelta(testscenarios.WithScenarios, base.TestCase): class TestOSQATDelta(testscenarios.WithScenarios, base.TestCase):

View File

@ -16,14 +16,14 @@
test_counters2statsd test_counters2statsd
---------------------------------- ----------------------------------
Tests for `openstack_qa_tools.counters2statsd` Tests for `os_performance_tools.counters2statsd`
""" """
import json import json
import mock import mock
from openstack_qa_tools import counters2statsd from os_performance_tools import counters2statsd
from openstack_qa_tools.tests import base from os_performance_tools.tests import base
class TestOpenStackQaTols(base.TestCase): class TestOpenStackQaTols(base.TestCase):

View File

@ -16,18 +16,18 @@
test_collectors test_collectors
---------------------------------- ----------------------------------
Tests for `openstack_qa_tools.collectors` Tests for `os_performance_tools.collectors`
""" """
import mock import mock
from openstack_qa_tools.collectors import mysql from os_performance_tools.collectors import mysql
from openstack_qa_tools.tests import base from os_performance_tools.tests import base
class TestOpenStackQaTools(base.TestCase): class TestOpenStackQaTools(base.TestCase):
@mock.patch('openstack_qa_tools.collectors.mysql._get_config') @mock.patch('os_performance_tools.collectors.mysql._get_config')
@mock.patch('pymysql.connect') @mock.patch('pymysql.connect')
def test_mysql(self, pymysql_mock, get_config_mock): def test_mysql(self, pymysql_mock, get_config_mock):
connection = mock.MagicMock() connection = mock.MagicMock()

View File

@ -16,14 +16,14 @@
test_collectors test_collectors
---------------------------------- ----------------------------------
Tests for `openstack_qa_tools.collectors` Tests for `os_performance_tools.collectors`
""" """
import json import json
import mock import mock
from openstack_qa_tools.collectors import queues from os_performance_tools.collectors import queues
from openstack_qa_tools.tests import base from os_performance_tools.tests import base
class TestOpenStackQaTols(base.TestCase): class TestOpenStackQaTols(base.TestCase):

View File

@ -1,5 +1,5 @@
[metadata] [metadata]
name = openstack-qa-tools name = os-performance-tools
summary = Python scripts for use in OpenStack's QA process summary = Python scripts for use in OpenStack's QA process
description-file = description-file =
README.rst README.rst
@ -21,13 +21,13 @@ classifier =
[entry_points] [entry_points]
console_scripts = console_scripts =
os-qa-counters = openstack_qa_tools.collect:main os-qa-counters = os_performance_tools.collect:main
subunit2sql.target = subunit2sql.target =
openstack_qa_statsd = openstack_qa_tools.counters2statsd:AttachmentResult openstack_qa_statsd = os_performance_tools.counters2statsd:AttachmentResult
[files] [files]
packages = packages =
openstack_qa_tools os_performance_tools
[build_sphinx] [build_sphinx]
source-dir = doc/source source-dir = doc/source