Merge lp://qastaging/~salgado/launchpad-work-items-tracker/blueprints-over-time into lp://qastaging/~linaro-automation/launchpad-work-items-tracker/linaro
Proposed by
Guilherme Salgado
Status: | Merged |
---|---|
Merged at revision: | 316 |
Proposed branch: | lp://qastaging/~salgado/launchpad-work-items-tracker/blueprints-over-time |
Merge into: | lp://qastaging/~linaro-automation/launchpad-work-items-tracker/linaro |
Diff against target: |
793 lines (+478/-33) 15 files modified
collect (+2/-0) collect_roadmap (+9/-0) html-report (+1/-0) lpworkitems/collect_roadmap.py (+26/-0) lpworkitems/database.py (+17/-3) lpworkitems/factory.py (+32/-1) lpworkitems/models.py (+26/-5) lpworkitems/models_roadmap.py (+15/-0) lpworkitems/tests/test_collect.py (+0/-1) lpworkitems/tests/test_collect_roadmap.py (+23/-5) lpworkitems/tests/test_factory.py (+1/-1) lpworkitems/tests/test_models.py (+17/-2) report_tools.py (+46/-15) roadmap-bp-chart (+254/-0) templates/roadmap_lane.html (+9/-0) |
To merge this branch: | bzr merge lp://qastaging/~salgado/launchpad-work-items-tracker/blueprints-over-time |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mattias Backman (community) | Approve | ||
Review via email:
|
Description of the change
This branch adds a new table which stores the number of blueprints per (day, status, lane). This is then used on the roadmap page to show a graph of blueprints per status/day for the quarter.
To post a comment you must log in.
On Thu, Dec 15, 2011 at 6:58 PM, Guilherme Salgado infrastructure) /code.launchpad .net/~salgado/ launchpad- work-items- tracker/ blueprints- over-time/ +merge/ 85921 /code.launchpad .net/~salgado/ launchpad- work-items- tracker/ blueprints- over-time/ +merge/ 85921 args.append( "--debug" ) args.append( "--mail" )
<email address hidden> wrote:
> Guilherme Salgado has proposed merging lp:~salgado/launchpad-work-items-tracker/blueprints-over-time into lp:~linaro-infrastructure/launchpad-work-items-tracker/linaro.
>
> Requested reviews:
> Linaro Infrastructure (linaro-
>
> For more details, see:
> https:/
>
> This branch adds a new table which stores the number of blueprints per (day, status, lane). This is then used on the roadmap page to show a graph of blueprints per status/day for the quarter.
> --
> https:/
> Your team Linaro Infrastructure is requested to review the proposed merge of lp:~salgado/launchpad-work-items-tracker/blueprints-over-time into lp:~linaro-infrastructure/launchpad-work-items-tracker/linaro.
>
> === modified file 'all-projects'
> --- all-projects 2011-12-07 09:03:27 +0000
> +++ all-projects 2011-12-15 17:57:13 +0000
> @@ -117,8 +117,6 @@
>
> if opts.debug:
> extra_collect_
> - else:
> - extra_collect_
This should only be removed on staging. It's just so we don't email
about errors while testing.
> args): write(" collect failed for %s" % project_name) clear_todays_ workitems( ) clear_blueprint s() clear_metas( ) clear_complexit ys()
> if not collect(source_dir, db_file, config_file, extra_collect_
> sys.stderr.
>
> === modified file 'collect'
> --- collect 2011-12-07 09:03:27 +0000
> +++ collect 2011-12-15 17:57:13 +0000
> @@ -6,6 +6,7 @@
> # Copyright (C) 2010, 2011 Canonical Ltd.
> # License: GPL-3
>
> +import datetime
> import urllib, re, sys, optparse, smtplib, pwd, os, urlparse
> import logging
> from email.mime.text import MIMEText
> @@ -755,6 +756,8 @@
>
> # reset status for current day
> collector.
> + # We can delete all blueprints while keeping work items for previous days
> + # because there's no foreign key reference from WorkItem to Blueprint.
> collector.
> collector.
> collector.
>
> === modified file 'collect_roadmap'
> --- collect_roadmap 2011-12-15 12:59:35 +0000
> +++ collect_roadmap 2011-12-15 17:57:13 +0000
> @@ -51,9 +51,15 @@
> except urllib2.HTTPError, e:
> print "HTTP error for url '%s': %d" % (url, e.code)
> except urllib2.URLError, e:
> +<<<<<<< TREE
> print "Network error for url '%s': %s" % (url, e.reason.args[1])
> except ValueError, e:
> print "Data error for url '%s': %s" % (url, e.message)
> +=======
> + print "Network error: %s" % e.reason.args[1] opts.database) store, '', error_collector) clear_todays_ blueprint_ daily_count_ per_state( ) clear_lanes( ) clear_cards( ) import( collector, cfg, opt...
> + except ValueError, e:
> + print "Data error: %s" % e.message
> +>>>>>>> MERGE-SOURCE
>
> return data
>
> @@ -269,11 +275,14 @@
> store = get_store(
> collector = CollectorStore(
>
> + collector.
> collector.
> collector.
>
> kanban_