Implemented report of blueprint activity

* Introduced report that shows blueprint details followed by list
of commits, emails and reviews related to that blueprint
* Mail body is stored in runtime storage
* External links are opened in new window/tab

Implements blueprint report-blueprint-activity

Change-Id: I1515d7fc51a4b46932fc15551c94f0fa6b16e4ed
This commit is contained in:
Ilya Shakhat
2013-09-23 11:18:28 +04:00
parent 6b19d37082
commit 240e9406b4
12 changed files with 191 additions and 27 deletions

View File

@@ -17,7 +17,6 @@ import urllib
from oslo.config import cfg
import psutil
from psutil import _error
from stackalytics.openstack.common import log as logging
from stackalytics.processor import config
@@ -42,8 +41,8 @@ def get_pids():
if p.cmdline and p.cmdline[0].find('/uwsgi'):
if p.parent:
uwsgi_dict[p.pid] = p.parent.pid
except _error.NoSuchProcess:
# the process may disappear after get_pid_list call, ignore it
except Exception as e:
LOG.debug('Exception while iterating process list: %s', e)
pass
result = set()