Commit Graph

16 Commits

Author SHA1 Message Date
Sorin Sbarnea 97ca1c24c3 Drop py27 and add py38 jobs
- Dropping py27 as is out of support
- Enable py38 testing, already default python on several distros.
- removes six as a dependency as is no longer needed for pure py3

Change-Id: I1e825073abc6cd55aa2fdc363358f2701152c57b
2020-09-08 10:21:02 +01:00
Sorin Sbarnea f68a8719af Bumped flake8
- Upgraded hacking(flake8)
- Added more modern tox linters environment (pep8 alias)
- Temporary added skips for broken newer rules
- Fixed few basic rule violations
- Moved flake8 config to setup.cfg (tox.ini is not recommended)

Change-Id: I75b3ce5d2ce965a9dc5bdfaa49b2aacd8f0195ad
2020-05-23 08:54:14 +01:00
Matt Riedemann dbeeceeb8e Add script to remove queries for fixed bugs
This automates the process to remove old queries
for fixed bugs. It's a bit conservative to start
so it doesn't check for open reviews nor does it
filter out affected projects with non-Fix* status
on the bug. It can be made more robust once we're
confident in how it works and play with it on the
open queries.

Change-Id: Iaaf17892804453b99a846be27457c88e5a8f8a55
2019-08-19 17:54:47 -04:00
qingszhao cf2b9fd7f7 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I5c603938a1d516ac0f2e5bab5082b6c57736c8e8
2018-12-04 13:49:11 +00:00
Sorin Sbarnea 6c4f466282 Made elastic-recheck py3 compatible
- Adds py36/py37 jobs.
- Fixed invalid syntax errors
- Bumps dependencies to versions that are py3 compatible

Change-Id: I0cebc35993b259cc86470c5ceb1016462a1d649b
Related-Bug: #1803402
2018-11-29 20:15:07 +00:00
Sean Mooney 380c2287ad convert docs to PTI
This change converts the repo to the new PTI workflow
and modernises the docs by using the OpenStack docs theme.

Change-Id: I5a3706c7cf40ee0c3405131b89f956bf75cae244
2018-09-20 06:22:02 +00:00
Andreas Jaeger caf50835ad Remove argparse from requirements
argparse was external in python 2.6 but not anymore, remove it from
requirements. Also, remove python 2.6 classifier from setup.cfg. This
project is not tested with 2.6 anymore.

This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.

Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
2016-01-21 07:58:31 +01:00
Dolph Mathews ac4eaab80e add CLI command for executing elastic-recheck queries
This is an upstreaming of:

  https://github.com/dolph/spandex
  https://pypi.python.org/pypi/spandex

... which I'll nuke if this is merged.

I use this tool to write, test, and look for patterns in the results of
elastic recheck queries. I never use logstash.openstack.org anymore.

Change-Id: I864b22c05b398f6ad8ccb9009b5866f36b46789d
2015-10-14 08:07:52 -07:00
Matt Riedemann 9f44f79a2d Fix the module index link in the docs
Since we weren't autodoc'ing the modules during the docs build, the
module index link was broken.

This generates the module docs (but hides them from the main top-level
table of contents) so they can be accessed via the 'Module Index' link.

Also cleans up some docs issues so that warnerrors=True works during
sphinx-build.

Closes-Bug: #1472642

Change-Id: I5a3a16d1e81b12237452d5a3a3f7f0cc42618e88
2015-07-08 07:54:23 -07:00
Sean Dague c96a8e8e6d add uncategorized failure generation code
the following adds a new tool to build a web page that will give
us a full list of all the uncategorized failures and their logs.
This gives us a todo list to start building ER queries from.

this will require an infrastructure change to run this on cron to
generate a public page.

it also brings in jinja2 for html templating, which will be useful
for future html generation jobs.

Change-Id: I5114296fbac2cde9c6b0133e2717e1cc28fb631d
2014-01-17 09:35:40 -05:00
Sean Dague 0924c1b12f add support for installing the web dashboard
move the web dashboard from config tree into elastic recheck and
make it installable into $prefix/share. Documentation on the expected
way this would work is provided in the web sub tree.

Also ensure that we actually fetch from /elastic-recheck/data as we
expect people to set things up.

Change-Id: I514b6cf2c18bb4d570f830d78e87e713b9c3531e
2013-12-03 10:41:21 -08:00
James E. Blair 42c9b8be9e Add graph script
Add a script that generates a json file for use in graphing
data about bugs.

Change-Id: I99d1ed8e4626cdf46a2d1079e043890e90086af9
2013-10-02 14:56:49 -07:00
Sean Dague 362a7e47a4 add check_success tool
this adds a tool that runs through the query list and looks for
whether the queries exist in success runs in logstash. This helps
us classify whether or not queries need to be looked at for
narrowing.

make elastic-recheck-success the entry point when installed

Change-Id: I3eaa822af35146935b22100ffb1e3a4f18dc8d0e
2013-10-02 16:00:20 -04:00
Jeremy Stanley e8ac1b1fc8 Install an executable for the elastic-recheck bot
Change-Id: Iabaca41ea20577e6b2ccf668f25449103cb4215c
2013-09-30 19:04:25 +00:00
Joe Gordon 20a2caf85e Further shuffling to get this to fit the standard code layout
* Move tests and code into elastic_recheck
* Get 'tox -epy27' working
* Tweak setup.cfg for elastic_recheck

The goal here is: pip install elastic-recheck, import elastic_recheck

Change-Id: Iab9fdf49dc51127a826f0908da3c238c49cbe434
2013-09-25 18:20:51 -07:00
Joe Gordon 639697808e Apply Cookiecutter to the repo.
Make repo support 'tox -epep8' as we want this to be the first gating
check.
Don't make any actual code changes, just change setup and add files.
Further work is needed to re-organize the code, but that can be in a
separate patch.
2013-09-23 15:27:39 -07:00