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:
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/

View File

@ -1,5 +1,5 @@
===============================
openstack-qa-tools
os-performance-tools
===============================
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.
* Free software: Apache license
* Documentation: http://docs.openstack.org/developer/openstack-qa-tools
* Source: http://git.openstack.org/cgit/openstack/openstack-qa-tools
* Documentation: http://docs.openstack.org/developer/os-performance-tools
* Source: http://git.openstack.org/cgit/openstack/os-performance-tools
* Bugs: http://bugs.launchpad.net/openstack-qa
Features

View File

@ -37,7 +37,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'openstack-qa-tools'
project = u'os-performance-tools'
copyright = u'2013, OpenStack Foundation'
# 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.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to openstack-qa-tools's documentation!
Welcome to os-performance-tools's documentation!
========================================================
Contents:

View File

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

View File

@ -2,6 +2,6 @@
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 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(
'openstack_qa_tools').version_string()
'os_performance_tools').version_string()

View File

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

View File

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

View File

@ -19,7 +19,7 @@ import socket
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',
'127.0.0.1:15672')

View File

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

View File

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

View File

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

View File

@ -16,18 +16,18 @@
test_collectors
----------------------------------
Tests for `openstack_qa_tools.collectors`
Tests for `os_performance_tools.collectors`
"""
import mock
from openstack_qa_tools.collectors import mysql
from openstack_qa_tools.tests import base
from os_performance_tools.collectors import mysql
from os_performance_tools.tests import base
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')
def test_mysql(self, pymysql_mock, get_config_mock):
connection = mock.MagicMock()

View File

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

View File

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