Implemented processing of blueprints data

* Grab blueprints from Launchpad
* Add new record types for new blueprints and completed blueprints
* Add new metrics

Part of bp metric-by-bugs-blueprints

Change-Id: I4656fc4d7c4626f7589c9551949d12d1f3b195f7
This commit is contained in:
Ilya Shakhat
2013-09-15 23:47:47 +04:00
committed by Gerrit Code Review
parent 71d631ae5b
commit 193d285019
7 changed files with 150 additions and 38 deletions

View File

@@ -68,6 +68,7 @@ def _link_content_changed(link, runtime_storage_inst):
conn.request('HEAD', parsed_uri.path)
res = conn.getresponse()
last_modified = res.getheader('last-modified')
conn.close()
if last_modified != runtime_storage_inst.get_by_key('mail_link:' + link):
LOG.debug('Mail archive changed, last modified at: %s', last_modified)