Commit Graph

4 Commits

Author SHA1 Message Date
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
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
Joe Gordon f5a0e015ae Hide jobs with no failures
When filtering the uncategorized page by a time window, completely hide
jobs that have no uncategorized failures in said time window.

Hide entries in the menu that have no hits in the window as well.

This patch doesn't dynamically update any numbers to only show what is
visible in the window.

Also add debug info to web_server script.

Change-Id: I2fd792a1a202a70a3dedd20316b3c4fdd8fcdc6e
2015-06-11 15:10:53 +03:00
Sean Dague 9d80eef952 add web_server.py for testing web content
Actually testing the web content for elastic recheck was a bit
annoying because it involved manually downloading json files and
modifying html files to point at a local server. This means that we
often pushed changes without testing them, sometimes with not so great
results.

This uses the stdlib BaseHTTPServer to build a fake local server that
runs on port 8001 and provides a local experience that pretends pretty
damn hard to be like hitting the live site. All local files are served
up statically. All references to upstream .json files are rewriten
into local server urls, and fetching of .json files that we don't have
in a local tree are automatically proxied out to live data on
status.openstack.org.

Change-Id: I4ae0fc67f8ab440153fc7edca5af77913cc448a7
2015-04-30 08:04:14 -04:00