CHANGES
=======

* Fix compatibility with latest oslo.config
* Fix gate error "mysqladmin: command not found" and etc
* Add .zuul.yaml and python 3 Train unit tests
* OpenDev Migration Patch
* Fix inconsistent treatment of test status
* Add attachments flag to get\_test\_runs\_by\_status
* Fix handling of xfail and uxsuccess results in subunit2sql cli
* Update min tox version to 2.0

1.10.0
------

* Clean up run\_time graph style
* Fix pandas rolling calls in run\_time graph
* fix tox python3 overrides
* Amend releasenotes for new subunit2sql functions and options
* Add ability to grab stream processing variables from kwargs
* Add delete by uuid functions
* Honor dpi cli flag for ci\_time graph
* Add --dpi flag to subunit2sql-graph

1.9.0
-----

* Replace DbMigrationError with DBMigrationError
* Add subunit2sql CLI option to use non\_subunit\_name
* Fix mysql db api
* Remove setting of version/release from releasenotes
* remove oslosphinx from test-requirements
* Add graph for aggregate run time grouped by run metadata
* Update python3 versions in tox.ini envlist
* Switch to use stestr completely
* Switch to using stestr
* turn on warning-is-error in documentation build
* Update requirements
* Add a unit test with a simple sql injection ala xkcd
* rearrange existing documentation to follow the new standard layout
* Switch from oslosphinx to openstackdocstheme
* Add vcs status to version option
* Dailycount should not need build\_queue to exist
* Update docs theme
* Fix dailycount command
* Fix unit using incorrect type in fake default
* Disable SmartyPants for docs
* Fix run\_failure\_rate title parameter
* Add new graph time for variance of individual tests
* Add run\_failure\_rate argument to specify values to use in graph
* Add run\_time\_meta arge to specify values to use in graph
* Fix stop date option for run\_failure\_rate graph
* Use modern PBR and hacking packages
* Prepare for using standard python tests
* Add DB API function to get multiple tests by test\_id
* H402 hacking have been deprecated
* Add get\_run\_count DB API function
* Cap oslo.db <=4.15.0 and remove badges
* Enable release notes translation

1.8.0
-----

* Add new DB API function to get grouped run\_time time series
* Add run\_metadata filtering to get run\_times function
* Add subunit2sql CLI option to use run wall time
* Remove the test\_attr\_prefix before injecting
* Provide unit test coverage for process\_results

1.7.0
-----

* Add DB API function to get list of runs from ids
* Fix the subunit2sql migration and tests error with mysql 5.7
* Add option to ensure get\_test\_runs\_by\_test\_id() is ordered by date
* Remove discover from test-requirements
* Add new db api method to get recent successes by metadata
* Add get\_runs\_counts\_by\_run\_metadata()
* Remove useless links from index page
* Fix docs warnings and errors

1.6.0
-----

* Add session param doc of get\_recent\_failed\_runs()
* Move oslo.concurrency to test-requirements
* Add optional start\_date parameter to get\_recent\*() methods
* Add link to published release notes in readme
* Fix db API get\_ids\_for\_all\_tests
* Remove cap on oslo.db version
* Fix date format for agg\_count and get\_test\_counts\_in\_date\_range()
* Capitalize first characters in param docs
* Enable returning run id in get\_test\_runs\_by\_status\_for\_run\_ids()
* Add db api tests for subunit2sql (3/3)
* Add db api tests for subunit2sql (2/3)
* Add db api tests for subunit2sql (1/3)

1.5.0
-----

* Add api to get recent failed runs by run\_metadata
* Fix the typo of docstring
* Fix get\_test\_metadata to use test\_id
* Remove DB existence check from open session termination
* Rework migration 1679b5bc102c to not use the db api
* Terminate sessions before dropping DBs in PostgreSQL
* Add more db api tests part 2
* Fix lock range, again
* Add more db api tests
* Fix lock range
* Remove group regex on .testr.conf
* Add pypi and resource links to README.rst
* Update TODO.rst to point the StoryBoard

1.4.0
-----

* Don't extend the passed in targets
* Remove unused flush from read\_subunit()
* Use instance variable in ByteStreamToStreamResult init
* Add API methods for getting tests by prefix

1.3.0
-----

* Add missing release notes before the 1.3.0 release
* Add unit test for api.update\_run
* Add DB API method to get failure rate for jobs by run\_metadata
* Fix brackets on get\_all\_runs\_time\_series\_by\_key
* Add optional run\_metadata filter to get\_test\_runs\_by\_test\_test\_id
* Add stdout to indicate expiring runs operations
* Cleanup to use namedtuple
* Add DB API method to get tests from a list of failed runs
* Omit subunit2sql/tests from coverage
* Remove unused setUp condition

1.2.0
-----

* Disable session synchronization on deletes
* Add release notes for pending 1.2.0 release
* Add DB API method to get a list of recent runs by metadata
* Add min ver to extra libs for graph
* Add command deleting \*.pyc before executing ostestr
* Add new graph type to show run\_time variance by metadata
* Add tests to check migrations and models match
* Stop using implict joins
* Add missing tests for db api functions with implicit joins
* Fix hard coded filter in get\_test\_run\_series()
* Fix typo in README.rst
* Update the README
* Handle test\_runs without metadata in write\_subunit
* Enable db api tests on all backends
* Make graph.py just a module
* Add docstrings of test\_ids

1.1.1
-----

* Add a migration for another set of index creations

1.1.0
-----

* Fix get\_run\_metadata to take UUID
* Fix indexes in db models
* Add docstring for run\_at
* Properly date filter in get\_test\_run\_dict\_by\_run\_meta\_key\_value

1.0.2
-----

* Add support to subunit2sql cli to specify a run\_at time
* Return Run.uuid in public methods
* Add migration for adding missing indexes
* Fix test attachments DB import

1.0.1
-----

* Set old\_alter\_table during large mysql migration
* Add seperate page for v1.0.0 release notes
* Add missing relationship from orm models

1.0.0
-----

* Fix documentation before the release
* Fail early if no data is found in the database
* Add reno release notes to subunit2sql
* Add back uuid column for runs table
* Use the test\_id column as the test identifier
* Add dates to x-axis for subunit2sql graphs
* Change uuid columns to bigint
* Expose extension interface in shell API
* Example of how to use targets plugins
* Add an extension capability for adding targets
* Add unit tests for subunit2sql.shell.main

0.12.0
------

* Add migration to cleanup and add additional indexes
* Add a db api method to get a list of test\_runs by test.test\_id
* Fix the delete\_old\_\*() db api functions
* Enable python 3 testing support

0.11.0
------

* Add option to specify global test attr prefix in subunit2sql
* Add db api method to get test\_run dicts for runs by key value
* Switch to using autogenerated ChangeLog in docs
* Improve performance of get\_runs\_by\_status\_grouped\_by\_run\_metadata
* Add db api methods to get keys from metadata tables
* Test get\_runs\_by\_status\_grouped\_by\_run\_metadata API function
* Add migration to fix wrong column name in test\_metadata
* Add db api method to get time series of runs by key value metadata
* Add more db api tests
* Use ostestr for running unit tests
* Order get\_tests\_run\_dicts\_from\_run\_id response by date
* Add tests for get\_tests\_run\_dicts\_from\_run\_id() and fix issues
* Fix verbose option inialization
* Fix misspelling in comments
* Add --verbose option to show sql statements generated
* Fix for sqlite support on migrations
* Add DB API testing framework

0.10.0
------

* Add support to more than one db provider for tests
* Fix the filter runs by date helper function
* Add a db api method to get a time series of runs by key
* Clarify DB models devref doc
* Add date filter on runs
* Remove conflicting cmdline option 'r'
* Adds error handling for queries returning no data
* Add DB API methods to deal with test metadata
* Add option to subunit2sql for attr regex
* Add graph to show failure rates grouped by run metadata
* Fix using no dates in create\_test\_run db api method
* Add mysql index length cap on index creation
* Add logging capture fixture to the unit tests

0.9.0
-----

* Update the in-tree TODO list
* Fix env command path
* Update the changelog in the readme
* Add a DB API method to get failing test\_ids by run metadata
* Update API docs to include alternative db layer initialization

0.8.1
-----

* Fix issues in migration 1ff737bef438

0.8.0
-----

* Edits to\_dict() to return correct dict
* Adds method to get metadata by key/value pair
* Adds method to get metadata from a run
* Add migration to add indexes on common search patterns
* Don't try to create indexes twice
* Update and fix some minor issues with docs
* Cleanup dailycount graph subunit2sql-graph command
* Update the run\_time graph image in docs

0.7.0
-----

* Drop use of 'oslo' namespace package
* Set temporary version cap on oslo.db
* Fix misspelled words in some docs

0.6.0
-----

* Do not use oslo.db 1.12.0
* Add subunit2sql-graph plugin interface docs
* Add external plugin support to subunit2sql-graph
* Fix miss spelled words
* Scale run\_time graph in subunit2sql-graph docs
* Switch functools partials usage to kwargs
* Add graph command to graph daily test count over time
* Add support to subunit2sql for storing attachments
* Add attachemnts table to database
* Add release notes for recent releases
* Cleanup std dev backfill in run\_time graph
* Add docs about using subunit2sql-graph
* Use setuptools extras for graphing requirements

0.5.1
-----

* Remove matplotlib from requirements file

0.5.0
-----

* Add graph command to show aggregate counts for tests
* Add db api method to get per status counts for a test
* Add db api method to get uuid from test\_id
* Improve run\_time graph formatting
* Add command to calculate failure count and graph it
* Add db api method to get status time series
* Add modular subunit2sql-graph entry point
* Add start and stop date options to subunit2sql-graph
* Add a cli subcommand for deleting old rows
* Add db api methods to delete old runs and test\_runs
* Fix double PL::Python category typo
* Add release notes to the README

0.4.2
-----

* Fix terrible path finding code in 1679b5bc102 migration

0.4.1
-----

* Hard code the sql for mysql on migration 1679b5bc102

0.4.0
-----

* Convert tags metadata to string before persist it
* Add microsecond columns to the test\_runs table
* Add db api methods for getting recent run uuids
* Stop using numpy for just a mean
* Share a single connection with all systems during migrations
* Add db\_api method for updating an existing test\_run
* Improve query efficiency on populate\_run\_time migration
* Add tool for generating line graphs of test run times
* Add a db api method to extract run\_times for a single test

0.3.0
-----

* Ensure we set attrs in test\_ids for sql2subunit
* Add a contributing file
* Update TODO file
* Add --average option to sql2subunit cli
* Correct writing of timestampes in write\_test() for sql2subunit
* Refactor sql2subunit to use get\_tests\_run\_dicts\_from\_run\_id
* Add new db api methods for getting test data from runs

0.2.1
-----

* Remove unneeded version string from setup.cfg
* Add cli option to subunit2sql to specify run\_id
* Add section on the basic data model
* Reorganize the python api documentation
* Flush out the db api documenation
* Add version information
* Fix misspelled words in docs and comments
* Remove unnecessary variable assignment
* Remove openstack-common.conf
* Release subunit2sql 0.2

0.2.0
-----

* Add session objects for get\_all\* db api calls
* Add migration to populate run\_time where needed
* Fix get\_duration db api method
* Add db api function to get the latest run
* Add order column to runs table
* Cleanup some extra spaces
* Add sample config files for commands
* Remove unneccesary state\_path config option
* Preseed data for migration tests until migration 163fd5aa1380
* Add migration tests with data
* Add manifest file to include base alembic config
* Add subunit2sql-db-manage utility
* Stop using intersphinx
* Add get\_failing\_from\_run db api method
* Switch sample sqlalchemy url to use mysql
* Update pep8 ignore list
* Add new item to the TODO list
* Add basic support for creating a subunit stream from db
* Fix get\_test\_run\_by\_run\_id() db api method
* Update the documentation
* Bump oslo.config version
* Add a .gitreview file
* Update the TODO file again
* Release subunit2sql-0.1

0.1
---

* Add unit tests for ReadSubunit helper methods
* Add unit tests and fixes for increment\_counts
* Make get\_duration return the proper type
* Add basic unit tests
* Update requirements files
* Add sphinx docs
* Allow oslo.db config options on the CLI
* Cleanup the readme
* Update project packaging
* Update TODO file
* More pep8 fixes
* Add CLI option to set run artifacts
* Some performance improvements to db updates
* Fix more DB bugs
* Add Test run metadata
* Fix DB bugs found testing with mysql
* Fix typo setting mysql engine
* Add metadata tables and cli args for run meta
* Add support for keeping a moving avg of test run\_time
* Update TODO items
* Store counts for runs and tests
* Add a TODO file
* Add total run time to the runs table
* Make DB path work
* Make stream parser work correctly
* flake8 clean checkpoint
* Flesh out more of subunit
* Initial commit
