Commit Graph

7 Commits

Author SHA1 Message Date
Witek Bedyk aea6e4858d Remove project content
This is step 2 of the project retirement process as described in [1].
Project retirement has been anounced here [2].

[1] https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#step-2-remove-project-content
[2] http://lists.openstack.org/pipermail/openstack-discuss/2020-August/016830.html

Depends-On: https://review.opendev.org/751987
Change-Id: Id4c4f95fee1787e23a3156933c40c491f298128e
2020-10-22 15:11:34 +02:00
ghanshyam b48e43eda6 Gate fix: Cap hacking to avoid gate failure
hacking is not capped in g-r and it is in
blacklist for requirement as hacking new version
can break the gate jobs.

Hacking can break gate jobs because of various
reasons:
- There might be new rule addition in hacking
- Some rules becomes default from non-default
- Updates in pycodestyle etc

That was the main reason it was not added in g-r
auto sync also. Most of the project maintained the
compatible and cap the hacking version in
test-requirements.txt and update to new version when
project is ready. Bumping new version might need code
fix also on project side depends on what new in that
version.

If project does not have cap the hacking version then,
there is possibility of gate failure whenever new hacking
version is released by QA team.

Example of such failure in recent release of hacking 1.1.0
- http://lists.openstack.org/pipermail/openstack-dev/2018-May/130282.html

Change-Id: I4172dd0c905760dd84e5ff60d3fa052aae794edf
2019-05-28 11:29:06 +00:00
Doug Hellmann ac47c5fc58 fix pep8 job
Update the cap on flake8 to support newer versions that work with
python3.

Update tox settings for pep8 environment to use python 3.

Ignore the error caused by not having 2 blank lines before functions and
classes.

Fix 2 syntax errors in function definitions.

Change-Id: I4da79ceefcbf1c23d217716f7b25ac6a092794ff
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-11 10:12:21 -04:00
Hisashi Osanai dd9a67b9fa Pin flake8 version
Change-Id: I75678ab03f0d17710488beea48a52c67198f75a1
2016-08-10 03:09:10 +00:00
Hisashi Osanai c752cc0bfe Support coverage
This patch provides coverage support in order to check quality of
the code.

Change-Id: Id962288fee3d57b679fc126ef7b498d6d34598f2
2016-07-04 08:58:31 +00:00
Joan Varvenne 3f5fc11f31 Add basic analytics for Monasca metrics
This commit introduces 3 examples of LDPs that process
monasca metrics:

 * `Aggregate` - compute simple stats per metric name.
 * `Combine` - allow mixing of different metrics by providing
   a simple expression parser that gets transformed into
   CPython bytecode.
 * `Derivative` - compute a metric derivative.

While quite simple, those examples, will help us improve the
framework by emphazing some of the problems we will face when
working on more complex solution such as:

 * Spark's inability to share data between sliding windows.
 * Ordering of data.
 * Sampling of metrics / events.

Change-Id: I259022f20e9b288aa2a08c24ad4a5f41a20e6095
2016-07-01 00:20:22 -06:00
Hisashi Osanai 288bbd3b18 tox support
This patch provides tox support.

Note:
Basically flake8 section follows monasca-api's ignore rule
except H404.

H405: multi line docstring summary not separated with an empty line

Change-Id: Iac8d5516a66226a7b3fface95059c5e238e8cb72
2016-06-03 17:46:33 +00:00