Add simple script to setup mysql and postgresql databases,
this script can be run by users during testing and will be
run by CI systems for specific setup before running unit tests.
This allows us to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.
Update README for this.
See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html
Needed-By: Ib69a034ef32236a3d584f3d6fa0d996463fe61c9
Change-Id: I0a281960cd74bf3d98f347a7e5fa9c64950e7596
The latest oslo.db versions changed how their testing interfaces work
and that is breaking subunit2sql's tests. Lets cap for now to unbreak
things. This commit also removes the shields.io badges from the README
because they're breaking doc builds.
Change-Id: Iae45702dc1519cc7c95666d5426cbd85ea85b4e0
This commit fixes docs and warnings. But I left some warnings such as
ChangeLog and external image URIs. Because ChangeLog is generated from
git log. And to fix the external image URIs, it needs needs an ugly
workaround that is replacing it to raw html.
Change-Id: Ieecc640fdf5d54d138eeb963ff9ef8cd1c9eaa4a
One of the things missing from the README was a link to the release
notes. We used to have this when the changelog was manually curated
in the readme, but since we switched to an autogenerated short log
and reno the readme page doesn't contain any release info itself.
This commit adds the links to point people to where these docs live.
Change-Id: Ie8494a9eec5ee2a2ff0ffdb417fbee119e77f047
This commit adds pypi download + version badges and resource links to
README.rst. These information could be useful for users and developers.
Change-Id: Ifd68ad7cc3c5f504a0562821d719ddb3cf58408a
The README has become a bit stale from some recent changes we've made
to the project. This commit updates things to make it better reflect
the current reality.
Change-Id: I0e8d40d11dd5a624a2e87705cb6156dfafc47627
This commit switches the docs to use the PBR generated ChangeLog
instead of a hand curated release notes section. This is a lot less
error prone and instantaneous as compared to our current method which
often leaves the release notes section stale for months at a time.
Change-Id: If7354fc0612ed6d4dd76c8c595ba4722367fe65e
This commit updates the documentation to add some missing details,
bring the release notes and todo list up to date, and add a section
to the subunit2sql-graph docs for the dailycount graph type.
Additionally, some minor issues are corrected, like missing links
to the subunit and testrepository documentation, man page generation
from the sphinx builds, and internal links between sections.
Change-Id: I88937db88b830d7955079c7c44009a5358b65270
This commit adds the release notes for the 0.5.0 and the 0.5.1
release. I probably should start pushing these before I push the
release, oh well...
Change-Id: I3c87532f28415659bd9d789a056b36e883c34a43
This commit switches the packages only required to generate graphs,
mainly pandas and matplotlib, to be marked as extra requirements using
setuptools extras. These requirements aren't needed for subunit2sql
unless you want to generate graphs and they are fairly involved to
install with many external dependencies.
Change-Id: Iefc0bbed60ad8a42a2568060ce109072e3e4c920
This commit removes matplotlib from the requirements file. It is
only used by the subunit2sql-graph tool and isn't required for the
whole package. Given issues with running it in CI this removes it
from the requirements file and adds a note to the README about
needing it to use the graph command.
Change-Id: Ibdc68745ea035be66a35281845d7e4fc49e239a4
This commit adds a release notes section to the README and populates
it for all the previous releases of subunit2sql.
Change-Id: I8ae228b751d5586be291f20d8a86d9b6034b90d7
This commit adds a new cli utility for managing the subunit2sql db.
Previously alembic could just be used directly however since access
to the db models were needed for future migration scripts the db api
was needed. This required invoking the config object to be able to
use the db api calls. Alembic isn't aware of oslo.db or the config
object, so by creating a seperate cli interface we initialize all of
that at the same time. This also saves the need to configure
connection info to the db in 2 places, since just the oslo.db option
will be used.
This utility borrows heavily from the neutron utility to do the same
thing.
Change-Id: I110baa532d08de4ca70b7ea2d1dcdc845d595693
This adds a new command, sql2subunit, to take a run_id and create a
subunit stream from all the data in the db around that run_id.
Change-Id: Id1f95da71f3d4ca8469e985ee904e91fb4acb247
This commit updates the documentation for subunit2sql. It adds details
to the README around running setting up the DB and running subunit2sql.
Also, the db api autodoc usage is corrected so that it properly
generates the documentation. Finally, the sphinx theme is switched to
oslosphinx to have consistent style with the documentation for the
other OpenStack projects.
Related-Bug: #1348202
Change-Id: Icf148dee19bb888b551e60a396f87f6c09553e09