Commit Graph

158 Commits

Author SHA1 Message Date
Andreas Jaeger 3b7b843eb5 Retire repo
This repo was created by accident, use deb-python-oslo.reports
instead.

Needed-By: I1ac1a06931c8b6dd7c2e73620a0302c29e605f03
Change-Id: I81894aea69b9d09b0977039623c26781093a397a
2017-04-17 19:39:10 +02:00
OpenStack Proposal Bot d332969661 Updated from global requirements
Change-Id: Id28a46edde01f7cdac4e7b12bec89accd23c1cc8
2016-08-04 02:40:52 +00:00
OpenStack Proposal Bot 329eb7cb79 Updated from global requirements
Change-Id: I1b1192eb129c42535c93f15d9adc369241200355
2016-07-29 02:34:01 +00:00
ChangBo Guo(gcb) 0565210f33 Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: If96e1465ce2c00140a52fe28b65c34c7fa0f16e3
2016-07-12 16:46:12 +08:00
OpenStack Proposal Bot 4b37e3073a Updated from global requirements
Change-Id: I5752a7bcf09e59cd4011bd03ce77e27479a1c477
2016-07-09 19:26:02 +00:00
OpenStack Proposal Bot 96fa66ca57 Updated from global requirements
Change-Id: I8b21dbdab9374dae4739686e66f3725640ed628f
2016-06-30 18:48:34 +00:00
OpenStack Proposal Bot 30cfeabcce Updated from global requirements
Change-Id: I6b61c26bbe324fc6e75afb6a1b94f8dc43b88625
2016-06-21 18:04:34 +00:00
Jenkins c1c40325cd Merge "Use file modification events instead of signal handler" 2016-06-15 04:04:49 +00:00
Ivan Kolodyazhny d23e0a65b2 Use file modification events instead of signal handler
In case if application is under Apache+mod_wsgi it is not recommended to
use signals [1]. We need to have configuration option for handling
'touch file' event instead of signal.

Alternative solutions:
1) watchdog: can monitor only directories, has issues with eventlet [2].
2) inotify: works only with linux-based systems.

[1]
https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIRestrictSignal

[2] https://github.com/gorakhargosh/watchdog/issues/332

Change-Id: I6ef02457f21da8e6fbd50e57bfa503b3c31ddd76
Implements: blueprint guru-meditation-report-file-touch
2016-06-13 18:25:14 +03:00
OpenStack Proposal Bot 5daba93611 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I6422647fb1eb5272940974a3537cb855303db67a
2016-06-11 06:36:21 +00:00
OpenStack Proposal Bot 3804e060de Updated from global requirements
Change-Id: I8f756f6411eb38f417d580930034c61ba83be320
2016-06-03 18:18:09 +00:00
ChangBo Guo(gcb) 71ce8f5f30 Trivial: ignore openstack/common in flake8 exclude list
The directory openstack/common doesn't exist any more.
So remove it from flake8 exclude list.

Change-Id: I0ee8441d1253028b1dcd7bcb9389e92577dc5224
2016-05-11 20:41:54 +08:00
Joshua Harlow aaf93641d4 Remove direct dependency on babel
The dependency on oslo.i18n already forces this requirement.

Change-Id: I09fb9c8b425a270c79884427c39ebc2174686d4f
2016-04-18 13:25:42 -07:00
OpenStack Proposal Bot 66fa3a9ee4 Updated from global requirements
Change-Id: I927154d34ca7bb9d6d68134d4c2db51f88da9cea
2016-04-13 12:47:38 +00:00
OpenStack Proposal Bot e85901e981 Updated from global requirements
Change-Id: Ib8f98134ac15bdedee75ab74f96d5f5eaa1813f6
2016-04-07 17:13:23 +00:00
OpenStack Proposal Bot da70fe77d5 Updated from global requirements
Change-Id: I394d630e857ec61b817da50fb495d1790bfd6446
2016-02-26 01:52:34 +00:00
OpenStack Proposal Bot 7878a1292a Updated from global requirements
Change-Id: I3ff6d3a7eb8dfe47dd3fee7fb2aacf824e41a7c9
2016-02-20 21:59:41 +00:00
OpenStack Proposal Bot 18e6ade292 Updated from global requirements
Change-Id: I33d2e1ce30d3d268dafc298527371c48d61798f2
2016-02-19 18:55:43 +00:00
OpenStack Proposal Bot 8770d7c83c Updated from global requirements
Change-Id: I5b6ec0d5c7d7f5ff097a1e4ef2435ed75e563597
2016-02-10 21:58:14 +00:00
Andreas Jaeger 2f01d5d635 Update translation setup
Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.

This basically renames
oslo.reports/locale/oslo.reports.pot to
oslo_reports/locale/oslo_reports.pot. For this we need to update
setup.cfg.

Update also domain name in i18n.py.

The project has no translations currently, let's remove the outdated
pot file, the updated scripts work without them. So, we can just
delete the file and once there are translations, an updated pot file
together with translations can be imported automatically.

Change-Id: Id9b9865ee17375290357887077d3230a3e4ff949
2016-01-29 11:42:04 +01:00
OpenStack Proposal Bot dde21ac32d Updated from global requirements
Change-Id: I51b68f602f29955e5ab43b47a87f3619b7f5524b
2016-01-26 23:28:04 +00:00
OpenStack Proposal Bot 6185a058ea Updated from global requirements
Change-Id: Ic450be5c952c3be7b407f26c8b68f24c70527e08
2016-01-24 20:53:08 +00:00
OpenStack Proposal Bot 2135cca7fa Updated from global requirements
Change-Id: Ib10009a238737321f61f68d9af0969cef4746ef9
2016-01-23 10:34:57 +00:00
OpenStack Proposal Bot 19b4e57c2e Updated from global requirements
Change-Id: I755eaf28d46928ae26bf49a2972692afeddd75c1
2016-01-18 22:45:07 +00:00
OpenStack Proposal Bot f3b0a74b29 Updated from global requirements
Change-Id: Iaca6dc7ee35cd280845f5ec07966cdfc8bed25be
2016-01-16 03:31:23 +00:00
OpenStack Proposal Bot ed678f0d4c Updated from global requirements
Change-Id: I83e6fd7d614dc8c52330e64e6de1c4855ce829c1
2016-01-06 23:18:43 +00:00
Jenkins e4dbbf1185 Merge "Trival: Remove 'MANIFEST.in'" 2016-01-04 14:54:06 +00:00
Nikola Dipanov ebc7a844ad Print the traceback if there was an exception in run()
In case run() method fails, all we get is a terse "Unable to run Guru
Meditation Report!" message on stderr.

This patch also prints the traceback for easier debugging in the
unlikely event that GMR fails.

Change-Id: I99d4e0f1ed3ea608aa285f34314339b0939c5651
2015-12-18 23:50:01 +00:00
Nikola Dipanov 6681a45b6a Rename signal handler argument to 'frame'
The object that is passed to signal handler functions is a frame object.
Traceback is the name of a built in module. Let's be clear.

Note that there are other places in the code where this unfortunate
naming happened, like in the keyword argument of the TextGuruMeditation
__init__ method. We can't really change that one as it's part of the
public API.

Change-Id: I11ca5cba3475a82a35c8e9fdb82e2529e5fa7b74
2015-12-18 23:49:55 +00:00
OpenStack Proposal Bot 05f9345e05 Updated from global requirements
Change-Id: I697b70ea23349725d2e317bfdd2d21001de1d06f
2015-12-15 18:59:18 +00:00
OpenStack Proposal Bot 763f7dbc6e Updated from global requirements
Change-Id: I9e7c935b46ecc94f92441ffb769b6a7e5bf88300
2015-12-11 15:24:27 +00:00
ChangBo Guo(gcb) a64d20dbcf Trival: Remove 'MANIFEST.in'
Everything in this file is automatically generated by pbr. There
appears to be no good reason to keep it around.
More details please see:
https://github.com/openstack-dev/pbr/blob/master/pbr/packaging.py#L384

Change-Id: Id9441479547b1907e8c027436544509c35ad6e95
2015-12-05 11:58:47 +08:00
ChangBo Guo(gcb) b7f44845dd Drop python 2.6 support
Change-Id: If9de2bd4c831dc950dc1ca89b3c291c23de1c2c4
2015-11-23 14:59:11 +00:00
Jenkins 76688e8369 Merge "Fix a typo in process.py" 2015-11-20 19:37:35 +00:00
OpenStack Proposal Bot a0b7d5d418 Updated from global requirements
Change-Id: Ice8b6464cd942376715613a1aecf5e3b7777e1e5
2015-11-19 16:00:32 +00:00
Jenkins a4c0b8ebce Merge "Remove Python 2.6 classifier" 2015-11-17 12:39:05 +00:00
Jenkins 175e1a44e9 Merge "Remove python 2.6 and cleanup tox.ini" 2015-11-17 12:39:03 +00:00
ChangBo Guo(gcb) 86ed82e87e Remove Python 2.6 classifier
We have decided to remove Python 2.6 support, this commit
removes Python 2.6 classifier before dropping any Python
2.6 support in code.

Change-Id: I2e29e13a747e66a984186af9ec53ab23cfc150f3
2015-11-17 16:53:08 +08:00
OpenStack Proposal Bot 397d1a1d2a Updated from global requirements
Change-Id: I4a6999d2cb770d31dc2a9cfa7797bef257819791
2015-11-17 02:38:56 +00:00
Davanum Srinivas bce5907704 Remove python 2.6 and cleanup tox.ini
* Remove support for python 2.6
* Remove skipsdist : Needs to be set only if 
  sdist is expensive
* Remove usedevelop : only needed when skipsdist 
  is set to True
* Remove install_command : We can just use the 
  default, we don't need to override
* Remove setenv : We can just use the default as
  we don't need any extra environment variables
* Remove requirements.txt from deps, as this is
  already added automatically


Change-Id: I12435cf9688866a78b368c17ef5cfb9fcae86a79
2015-11-16 00:37:39 +00:00
Davanum Srinivas 764b8f0f9f Fix Transition to SIGUSR2 in oslo.reports breaks upgrade
In I9d3b6079ba2cca41fe4723723a6f80b2c3c0b9c0, we broke backward
compatability when we switched from SIGUSR1 to SIGUSR2. This breaks
grenade jobs (Example https://review.openstack.org/#/c/238479/).

So for now, let's register both SIGUSR1 and SIGUSR2 and trigger a
warning in the log that SIGUSR1 has been deprecated. We should
remove use of SIGUSR1 in the O release. Hopefully this does not
break anything as when running under mod_wsgi SIGUSR1 is just
ignored (and SIGUSR2 will work) and both signals will work
under eventlet.

Closes-Bug: #1510740
Change-Id: I54ba70557f441fbd10eb085f79d594a9a33e1f11
2015-11-06 06:42:54 -05:00
Jenkins 8cf0c50863 Merge "remove extraneous coverage omit instruction" 2015-10-28 07:46:05 +00:00
OpenStack Proposal Bot ed251516b8 Updated from global requirements
Change-Id: Iddcf0ce35633227f7f8c02e50f00e371600b1342
2015-10-23 18:48:59 +00:00
OpenStack Proposal Bot 61f1943538 Updated from global requirements
Change-Id: I5bf9867964482d18671cf628e05dcc3cbf8dbcae
2015-10-19 23:32:05 +00:00
OpenStack Proposal Bot 8c53746769 Updated from global requirements
Change-Id: Ib474183e08becfc5a176934fd76eb977f21e5862
2015-10-16 01:00:06 +00:00
Daisuke Fujita 928e1e8161 Fix a typo in process.py
1. "formm" to "form"

Change-Id: I71e181e4b42865b2d74c50de5a99384a4726b199
2015-10-13 19:44:44 +09:00
Jenkins 31d4a2d988 Merge "No need for Oslo Incubator Sync" 2015-10-08 22:56:39 +00:00
Doug Hellmann 225756cf9d remove extraneous coverage omit instruction
There is no openstack subdirectory so we do not need to omit that code
from coverage reporting.

Change-Id: I7286659f08ca3109d86effc70a51ba108a15deac
2015-10-08 20:26:55 +00:00
Davanum Srinivas 9c39353bd0 No need for Oslo Incubator Sync
We can remove openstack-common.conf as we don't
sync any code from oslo-incubator any more.

Change-Id: Id6834e434a39eecbe6d9c75873dc9206b73212a3
2015-10-04 19:40:10 -04:00
Ronald Bradford 0ea635df69 Fix coverage configuration and execution
A number of configuration errors prevent the successful creation of code
coverage. This corrects the .coveragerc source/omit setup and the tox
package name generation.

Change-Id: I5329955ee1e5101fe62012c6cae91e39f0fc96e4
2015-10-01 15:33:18 +00:00