Merge lp:~cjohnston/launchpad-work-items-tracker/2013 into lp:launchpad-work-items-tracker

Proposed by Chris Johnston
Status: Merged
Merged at revision: 308
Proposed branch: lp:~cjohnston/launchpad-work-items-tracker/2013
Merge into: lp:launchpad-work-items-tracker
Diff against target: 127 lines (+15/-10)
8 files modified
all-projects (+1/-1)
burndown-chart (+1/-1)
collect (+1/-1)
generate-all (+1/-1)
html-report (+8/-3)
json-report (+1/-1)
themes/ubuntu/templates/body.html (+1/-1)
wiki-status (+1/-1)
To merge this branch: bzr merge lp:~cjohnston/launchpad-work-items-tracker/2013
Reviewer Review Type Date Requested Status
Martin Pitt (community) Approve
Review via email: mp+141193@code.launchpad.net

Commit message

Updates copyright to 2013

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Looks good, thanks! But I committed it as "html-report: Support trend_start option; update copyright; thanks Chris Johnston" as that's the actual change in this commit. Just bumping the copyright years without actually changing something to the files seems like busywork to me.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'all-projects'
2--- all-projects 2012-08-27 15:32:43 +0000
3+++ all-projects 2012-12-23 22:13:25 +0000
4@@ -1,7 +1,7 @@
5 #!/usr/bin/python
6 # Run work item tracker for all available configurations; this is intended to
7 # be run from cron hourly.
8-# Copyright (C) 2010, 2011 Canonical Ltd.
9+# Copyright (C) 2010-2013 Canonical Ltd.
10 # Author: Martin Pitt <martin.pitt@ubuntu.com>
11 # License: GPL-3
12
13
14=== modified file 'burndown-chart'
15--- burndown-chart 2012-08-24 05:29:13 +0000
16+++ burndown-chart 2012-12-23 22:13:25 +0000
17@@ -2,7 +2,7 @@
18 #
19 # Create a burndown chart from a work item database.
20 #
21-# Copyright (C) 2010, 2011 Canonical Ltd.
22+# Copyright (C) 2010-2013 Canonical Ltd.
23 # License: GPL-3
24
25 import optparse, datetime, sys
26
27=== modified file 'collect'
28--- collect 2012-11-10 16:56:39 +0000
29+++ collect 2012-12-23 22:13:25 +0000
30@@ -3,7 +3,7 @@
31 # Pull work items from various sources (blueprint whiteboards, linked blueprint
32 # bugs, wiki pages) and put them into a database.
33 #
34-# Copyright (C) 2010, 2011 Canonical Ltd.
35+# Copyright (C) 2010-2013 Canonical Ltd.
36 # License: GPL-3
37
38 import urllib, re, sys, optparse, smtplib, pwd, os, urlparse
39
40=== modified file 'generate-all'
41--- generate-all 2011-09-09 07:14:11 +0000
42+++ generate-all 2012-12-23 22:13:25 +0000
43@@ -3,7 +3,7 @@
44 # Create HTML/JSON reports and burndown charts for all teams and milestones
45 # from a configuration file
46 #
47-# Copyright (C) 2010, 2011 Canonical Ltd.
48+# Copyright (C) 2010-2013 Canonical Ltd.
49 # License: GPL-3
50
51 import optparse, os.path, sys
52
53=== modified file 'html-report'
54--- html-report 2012-06-20 19:54:52 +0000
55+++ html-report 2012-12-23 22:13:25 +0000
56@@ -3,7 +3,7 @@
57 #
58 # Create HTML reports from a work item database.
59 #
60-# Copyright (C) 2010, 2011 Canonical Ltd.
61+# Copyright (C) 2010-2013 Canonical Ltd.
62 # License: GPL-3
63
64 import optparse
65@@ -11,6 +11,8 @@
66 from report_tools import escape_url
67 import report_tools
68
69+cfg = report_tools.load_config(opts.config)
70+trend_starts = cfg.get('trend_start', {})
71
72 class WorkitemTarget(object):
73
74@@ -103,10 +105,13 @@
75 self.status = status
76 self.blueprint = blueprint
77 self.assignee = assignee
78-
79+trend_
80
81 def spec_group_completion(db, team, milestone_collection=None):
82- data = report_tools.spec_group_completion(db, team, milestone_collection=milestone_collection)
83+ if trend_starts:
84+ data = report_tools.spec_group_completion(db, team, trend_starts, milestone_collection=milestone_collection)
85+ else:
86+ data = report_tools.spec_group_completion(db, team, milestone_collection=milestone_collection)
87 if not data:
88 return dict(areas=[], group_completion_series=[], groups=[])
89 groups = []
90
91=== modified file 'json-report'
92--- json-report 2011-09-09 07:14:11 +0000
93+++ json-report 2012-12-23 22:13:25 +0000
94@@ -3,7 +3,7 @@
95 # Create a JSON report from a work item database. The structure is the one
96 # returned by report_tools.assignee_completion()
97 #
98-# Copyright (C) 2010, 2011 Canonical Ltd.
99+# Copyright (C) 2010-2013 Canonical Ltd.
100 # License: GPL-3
101
102 import optparse, simplejson
103
104=== modified file 'themes/ubuntu/templates/body.html'
105--- themes/ubuntu/templates/body.html 2011-12-09 19:51:36 +0000
106+++ themes/ubuntu/templates/body.html 2012-12-23 22:13:25 +0000
107@@ -49,7 +49,7 @@
108 <img class="png" src="${util.url('canonical_footer_logo.png')}" alt="Canonical" />
109 </div>
110 <div class="copyright">
111- <p>&copy; 2010, 2011 Canonical Ltd., Ubuntu Community. Ubuntu and Canonical are registered trademarks of Canonical Ltd.
112+ <p>&copy; 2010-2013 Canonical Ltd., Ubuntu Community. Ubuntu and Canonical are registered trademarks of Canonical Ltd.
113 <br />
114 Problems with this site? <a href="https://bugs.launchpad.net/launchpad-work-items-tracker/+filebug">File a Bug</a></p>
115 </div>
116
117=== modified file 'wiki-status'
118--- wiki-status 2011-09-09 07:14:11 +0000
119+++ wiki-status 2012-12-23 22:13:25 +0000
120@@ -1,6 +1,6 @@
121 #!/usr/bin/python
122 #
123-# Copyright (C) 2010, 2011 Canonical Ltd.
124+# Copyright (C) 2010-2013 Canonical Ltd.
125 # License: GPL-3
126
127 import sys

Subscribers

People subscribed via source and target branches

to all changes: