We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I22f6e478534a5fd90af565812dc81a0fac2f2132
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I66d77a977b76118d3a7b74f1f5b238370b43a38d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Use openstack-tox-cover template, this runs the cover job
in the check queue only.
Remove jobs and use template instead.
Change-Id: I998c864f6d63921d6b424f81b0d38561edf5675c
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I5ece9bc05363937be7e0cfda8d73098129ad6fe9
Story: #2002586
Task: #24327
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Ie230833a7a49ccd49c67a3969adb0a0ff7b798b7
Story: #2002586
Task: #24327
This commit switches to use stestr instead of os-testr. It should be
better to reduce the test runner complexity.
Change-Id: Ia16ad5ed6d9ed7be9dc6902f875b0144b24a938a
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.
Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.
This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.
Change-Id: If85d6e137edff3bf8a764dd517a3528cc813f744
This commit fixes the deprecated warning about 'use_html_smartypants'
config. We actually don't need to use it because when we quote command
line options, the conversion doesn't happen. So, this commit just
removes the config, and quotes the '--database-connection' option.
Change-Id: Ib1470e5f6febd08a9757a8773076faf3e9cd0eab
As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.
[0] https://review.openstack.org/#/c/472275
Change-Id: I8a18f997aa1216fe8094265b8c0586c42d97b5ec
This commit disables the smartypants option of the document. We don't
need to convert quotes and dashes. And this commit also quotes the
--database-connection option. This should be better for the command
option description.
Change-Id: I79d3294eedf16085fa8c84d0ba203024cf80c181
This commit updates the docs theme to the new one. The new theme is the
standard of the openstack document. There is no reason to avoid to use
it.
Change-Id: If17ce35bd2ba50c3e1ae6e1567dcbe4be59d5189
This commit just updates years of copyright. This project is started
from 2016 not 2013, and this is still continuing. So I just updated it.
Change-Id: I86c7ac14782d9e0e4775026363cfab2fdfbe7bca
This commit adds 'files' table. This files table has coverage_id
column as a foreign key for the coverages table. And this commit also
adds a release note for it.
Change-Id: I8998a79a1ba79bbdab1cd79810cc85bcbccbe7d8
the OpenStack requirements project has modify version requirement of docutils/oslosphinx.
The link is below
https://review.openstack.org/#/c/418772/
So modify test-requirement like other project
Closes-Bug: #1666149
Change-Id: Ica3e3294b44127009c57d5e4f9f493a0b3395bab
This commit fixes coverage2sql-db-manage usage in README.rst. We can't
use use --database-connection option now. So this commit just removes
the description. We may add the option in the future, though.
Change-Id: I6018fc5cf394c99ccf5f57bb33f30a21eab7456b
This commit fixes coverage2sql-db-manage to read config file correctly.
In the previous version, coverage2sql-db-manage command doesn't work.
I'm not sure when it didn't work, though.
Change-Id: If3bb93a661a723b0ff0eedf9f0ed84c2af8d88e6
This commit adds py36 to tox.ini because we should support python3.6.
And this commit also removes redundant 'py' in the envlist.
Change-Id: Id6b4e02987bfb16abf1ca9735f22ba4b850d63c3
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.
See also http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html
Needed-By: Ie77f7d0ecd78e513ad7beb0acd6bf173703eeaed
Change-Id: I6e18d780c14bd93c78c77220b4a1debdc88a19c9
This commit adds ChangeLog URL to README.rst. And this commit also
changed about TODO. We already have launchpad site. So, we can manage
our blueprints and bugs there.
Change-Id: I5a9169e1780be0c862b94232a4163adb31ffbb1e
H305/H402 hacking have been removed since hacking 0.10.
https://github.com/openstack-dev/hacking/blob/master/setup.cfg
test-requirements of coverage2sql require hacking<0.11,>=0.10..
So remove H305/H402 ignore statement
Closes-Bug: #1653639
Change-Id: I781fc185b3a70e0c9e12ae0eeab16d2d54925421
The docutils 0.13.1 release breaks some documentation jobs
when it tries to build docs with remote images. This has been reported
upstream[0]. The version matches the supported docutils versions for
sphinx. The requirements patch is here: [1]
[0] https://sourceforge.net/p/docutils/bugs/301/
[1] https://review.openstack.org/#/c/409529/
Change-Id: I1ab3a06167798efbb5a3a683947483d1dd1c65d6
This commit try to add unit tests for shell.py. Also find a bug
in parse_args if not set the config file.
Change-Id: I73a80b238ec95073fc64698655c045fc88ba352a
This commit introduces pip-check-reqs task to tox.ini. We should avoid
inconsistency between (test-)requirements.txt and actual source code.
Change-Id: I9d734cdbc1c1fb3283835890b8132e54a7b757d7