We have agreed to use term Active Contrubitor rather then
Active Technical Contributor, which means it's high time we've aligned
naming in our tools and releases documentation to align on
term to use. Moreover, it makes even more sense with Extra ACs, since
these are designed for ones, who do not contribute in gerrit but with
other means, which are usually non-technical.
Needed-By: https://review.opendev.org/c/openstack/releases/+/893833
Needed-By: https://review.opendev.org/c/openstack/election/+/893810
Change-Id: Id9f2d182d93a9fbe1357e9ecd4814d49d6eb962f
This patch improves the legacy repository validation by ensuring that we
actually make sure the repository is properly retired. This job will
only run on changes to the legacy.yaml file to avoid a high number of
API calls.
Change-Id: I40f1818955eaa0a2037f239aeced86c3faf3281e
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Use newer openstackdocstheme and Sphinx versions for Python3
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Move python3 to testenv in tox.ini
- Switch to hacking 3, fix problems found.
Change-Id: I26fcab3b288b5ed64c74f7a6725b43036f195d44
Without this patch, a change of membership of any ATC could break
the lint jobs.
This is a problem, as the change of membership can happen anytime.
This fixes it by creating a new job to show whether atc validation
fails or not, as non voting. This brings increased visibility to
the eventual membership problems, compared to having them listed
in stdout like we used to do in the past.
Change-Id: I5cb3dee7809d80369eaf8c955695b1389f5eb5d4
This change adds a tool to perform basic JSONSchema validation of the
reference/projects.yaml file.
Change-Id: I28ff94af37d7f4de07c1d282bf3c37c77eeea101
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Co-Authored-by: Zane Bitter <zbitter@redhat.com>
Add a separate pep8 environment in tox.ini for linting only the code
changes. We don't need to add the zuul job because flake8 also runs as
part of the linters environment and job.
Change-Id: Ie6bbdfdecef43666cb0eb5d3ff4a34a7067daed2
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
We do not want to set basepython in [testenv] because that overrides
the value used in the automatic environments like py35 and py36.
Change-Id: If198a38def34c3017523ab2fa8fec1c094732443
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Switch docs to new PTI docs interface using tox-docs via
the template build-openstack-docs-pti.
Fix tox.ini to use proper output directory.
With this change, Zuul now uses "tox -e docs" for building
documentation following the updated PTI.
Needed-By: https://review.openstack.org/608443
Change-Id: Ifdb23c28a0c8a42542919dd02d8f459af324deec
We do not want to fail the linters job because existing valid
memberships can be closed or deleted at any time, so we just report
the errors to stdout.
Change-Id: I70bcab87c839760c43fc667dd526bd6992a46e53
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Require new repositories to exist in the gerrit project data managed
by the infra team before they can be added to governance.
Change-Id: Ic465e415d5253d2a918c3cd3ec8861f672360834
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
I have been using this script to apply the house rules to governance
changes to help track when they are ready to be approved. I thought it
would be good to share it for others to be able to see and review the
work.
Change-Id: I41e3338858f546705e78ce5428a09dfe3b904947
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
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: I13cd6b83388368966868f90ae09c88a3c644114f
Recent changes in sphinx and pbr make it easier to just invoke
sphinx-build directly instead of going through setup.py.
Change-Id: Ic5c4f397fd45d9978c630ff03dcff7bf6b4d05e4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Add the redirect instructions and add whereto as a step in the linters
build to ensure that all redirects are being tested.
Change-Id: Ib8ea0be2e063a7972f3a6ad71c32921512796136
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Turn on flake8 for code style checks, like in our other repos. Fix or
explicitly ignore various issues to allow the linter job to pass.
Change-Id: I7bfd8cf5e9c00dfa83c0393a4307fd54d2113047
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Set tox to use python3 as the base python so that all of the
environments default to python3. Fix various issues with code associated
with the change to make it work under python 3.
Change-Id: I29f9514f83aa97740e55adddaeff76d0800135bc
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Move yamllimt and check_projects_yaml_alphabetized into a generic linters
environment which can then be called from in the gate to keep yaml
data clean.
This can be extended later to include pep8 and other tools if desired
Needed-By: I92b38a8363d716fd2b844ff9c6db7dc74f4b4bfc
Change-Id: I76bc62ef22d09e1b6c19ebcd9b12f6381e1fd2db
Currently most OpenStack code is linted, but YAML files are not.
This patch enables linting in tox tests using the yamllint tool [1].
It also corrects some indentation misalignments and a line longer
than 80 chars; the new CI test will prevent new errors from coming in.
[1]: http://yamllint.readthedocs.org/
Change-Id: Ie33e2636be97a09f27e519be185382be82fa19f2
Add to docs tox target a check that reference/projects.yaml is sorted
alphabetically and display entries that are not sorted.
Change-Id: Ia86b50622e2fac5fdf791d57c884d2d8a9ec6c44
This converts 2 of the reference documents to rst, and fixes the
tox.ini so that tox -e docs creates a pretty html version of these
documents. While the publish target location has still not been
sorted this moves the ball forward in generating nicer output
for the documents.
The incubation-integration-requirements document was intentionally
left out, because it's much more active, and we should decide this
is the right approach before we impose the merge conflicts on
everyone in flight.
Change-Id: I2fefdb5efe196cdbda4555141b09e7e771e20bdd
* tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were
introduced originally during the testr migration in an attempt to be
conservative about the possibility that locale settings in the
calling environment could cause consistency problems for test runs.
In actuality, this should be unnecessary and any place where it does
cause issues ought to be considered an actual bug. Also, having
these in the configuration actively causes older pip to have
problems with non-ASCII content in some package metadata files under
Python 3, so drop it now.
Change-Id: Ie399248ec210966a57e7ef6354b6664fa48ef334
Closes-Bug: #1277495
this brings over the pbr infrastructure for publishing rst files
to html with the oslo.sphix style. We'll need to move around
and reformat some of the documents for them to fully take effect
but this would be the first step in getting there.
Updated with our latest knowledge on how to do the right tox.ini
changes to handle sphinx issues.
This will then get used by another publish job to go to some
online repository.
Change-Id: I0dd3ecf0a9b3e356a4a2980a305b421b7d7b8602