Merge lp:~mabac/launchpad-work-items-tracker/better-config into lp:~linaro-automation/launchpad-work-items-tracker/linaro-config

Proposed by Mattias Backman
Status: Merged
Merged at revision: 42
Proposed branch: lp:~mabac/launchpad-work-items-tracker/better-config
Merge into: lp:~linaro-automation/launchpad-work-items-tracker/linaro-config
Diff against target: 216 lines (+107/-75)
1 file modified
current.cfg (+107/-75)
To merge this branch: bzr merge lp:~mabac/launchpad-work-items-tracker/better-config
Reviewer Review Type Date Requested Status
Guilherme Salgado (community) Approve
Review via email: mp+91411@code.launchpad.net

Description of the change

Hi,

This is the new config file format to go with lp:~mabac/launchpad-work-items-tracker/better-error-contacts

Thanks,

Mattias

To post a comment you must log in.
Revision history for this message
Mattias Backman (mabac) wrote :

Fixed the conflict.

43. By Mattias Backman

Merge from linaro-config to add Igloo project and contacts.

Revision history for this message
Guilherme Salgado (salgado) wrote :

This all looks good to me; I've just two comments.

First, I think the multimedia contact should be tom gall and not michael hope, no?

Second, we need to add contact addresses for the linaro project as well:
  # Linaro project to track
  project = 'linaro'
  project_series = 'trunk'

But given that's not in extra_projects and we don't want it to be there, we should probably just add an entry for it at the end of project_notification_addresses instead of using a class for it.

Oh, and the indentation on line 207 seems to be off by one space.

Oh, and it'd be good to manually test that extra_projects in this config is identical to extra_projects in the old one; it should be trivial to load_config() both and compare extra_projects in both, right?

review: Approve
Revision history for this message
Mattias Backman (mabac) wrote :

On Fri, Feb 3, 2012 at 2:06 PM, Guilherme Salgado
<email address hidden> wrote:
> Review: Approve
>
> This all looks good to me; I've just two comments.
>
> First, I think the multimedia contact should be tom gall and not michael hope, no?

You're right.

>
> Second, we need to add contact addresses for the linaro project as well:
>  # Linaro project to track
>  project = 'linaro'
>  project_series = 'trunk'
>
> But given that's not in extra_projects and we don't want it to be there, we should probably just add an entry for it at the end of project_notification_addresses instead of using a class for it.

Yes, I forgot that project. Will add it like that.

>
> Oh, and the indentation on line 207 seems to be off by one space.

I shouldn't tell you that it actually was a tab...

>
> Oh, and it'd be good to manually test that extra_projects in this config is identical to extra_projects in the old one; it should be trivial to load_config() both and compare extra_projects in both, right?

Absolutely. I'll try that before giving it a spin on staging.

> --
> https://code.launchpad.net/~mabac/launchpad-work-items-tracker/better-config/+merge/91411
> You are the owner of lp:~mabac/launchpad-work-items-tracker/better-config.

44. By Mattias Backman

Fix review comments. Thanks salgado.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'current.cfg'
2--- current.cfg 2012-02-02 14:12:16 +0000
3+++ current.cfg 2012-02-03 14:55:19 +0000
4@@ -31,23 +31,6 @@
5 # any teams to recurse into
6 recursive_teams = ['linaro']
7
8-################
9-# Error emails #
10-################
11-# contact points for data errors (regexps on spec name pattern)
12-error_contact = {
13- 'linaro.*graphics': ['jesse.barker@linaro.org', 'ilias.biris@linaro.org'],
14- 'linaro.*toolchain': ['michael.hope@linaro.org', 'mounir.bsaibes@linaro.org'],
15- 'linaro.*kernel': ['deepak.saxena@linaro.org', 'mounir.bsaibes@linaro.org'],
16- 'kernel-.*': ['deepak.saxena@linaro.org', 'mounir.bsaibes@linaro.org'],
17- 'linaro.*power': ['amit.kucheria@linaro.org', 'mounir.bsaibes@linaro.org'],
18- 'linaro.*octo': ['loic.minier@linaro.org', 'ilias.biris@linaro.org'],
19- 'linaro.*android': ['zach.pfeffer@linaro.org', 'david.zinman@linaro.org', 'fathi.boudra@linaro.org', 'tony.mansson@linaro.org'],
20- 'android-.*': ['zach.pfeffer@linaro.org', 'david.zinman@linaro.org', 'fathi.boudra@linaro.org', 'tony.mansson@linaro.org'],
21- 'linaro.*platforms': ['danilo.segan@linaro.org', 'paul.larson@linaro.org', 'ricardo.salveti@linaro.org', 'fathi.boudra@linaro.org', 'david.zinman@linaro.org'],
22- 'igloo': ['anmar.oueja@linaro.org'],
23-}
24-
25 ###############
26 # Trend lines #
27 ###############
28@@ -61,73 +44,108 @@
29 ####################################
30 # Add extra projects to track here #
31 ####################################
32-extra_projects = {
33 # project # series to look at, None for all series
34- 'igloocommunity': 'trunk',
35+# Igloo
36+class IglooProjects:
37+ notification_addresses = ['anmar.oueja@linaro.org']
38+ projects = {
39+ 'igloocommunity': 'trunk',
40+ }
41 # multimedia
42- 'linaro-multimedia-speex': 'trunk',
43- 'linaro-multimedia-ucm': 'trunk',
44- 'linaro-multimedia-project': 'trunk',
45- 'linaro-multimedia-testcontent': 'trunk',
46- 'libjpeg-turbo': '1.2',
47+class MultimediaProjects:
48+ notification_addresses = ['tom.gall@linaro.org', 'mounir.bsaibes@linaro.org']
49+ projects = {
50+ 'linaro-multimedia-speex': 'trunk',
51+ 'linaro-multimedia-ucm': 'trunk',
52+ 'linaro-multimedia-project': 'trunk',
53+ 'linaro-multimedia-testcontent': 'trunk',
54+ 'libjpeg-turbo': '1.2',
55+ }
56 # graphics
57- 'linaro-graphics-misc': 'trunk',
58- 'linaro-graphics-tests': 'trunk',
59- 'linaro-graphics-dashboard': 'trunk',
60- 'linaro-mm-sig': 'trunk',
61- 'unity-gles': 'trunk',
62- 'glcompbench': 'trunk',
63- 'glmark2': 'trunk',
64- 'glmark2-extra': 'trunk',
65- 'glproxy': 'trunk',
66- 'libmatrix': 'trunk',
67- 'smartt': 'trunk',
68+class GraphicsProjects:
69+ notification_addresses = ['jesse.barker@linaro.org', 'ilias.biris@linaro.org']
70+ projects = {
71+ 'linaro-graphics-misc': 'trunk',
72+ 'linaro-graphics-tests': 'trunk',
73+ 'linaro-graphics-dashboard': 'trunk',
74+ 'linaro-mm-sig': 'trunk',
75+ 'unity-gles': 'trunk',
76+ 'glcompbench': 'trunk',
77+ 'glmark2': 'trunk',
78+ 'glmark2-extra': 'trunk',
79+ 'glproxy': 'trunk',
80+ 'libmatrix': 'trunk',
81+ 'smartt': 'trunk',
82+ }
83 # toolchain
84- 'cortex-strings': 'trunk',
85- 'binutils-linaro': 'trunk',
86- 'gcc-linaro': '4.6',
87- #'gcc-linaro-tracking': None,
88- 'gdb-linaro': '7.3',
89- 'qemu-linaro': 'trunk',
90- 'cbuild': '11.11',
91- 'linaro-toolchain-misc': 'trunk',
92- 'linaro-toolchain-benchmarks': 'trunk',
93- 'linaro-toolchain-binaries': 'trunk',
94- #'tcwg-web': None,
95+class ToolchainProjects:
96+ notification_addresses = ['michael.hope@linaro.org', 'mounir.bsaibes@linaro.org']
97+ projects = {
98+ 'cortex-strings': 'trunk',
99+ 'binutils-linaro': 'trunk',
100+ 'gcc-linaro': '4.6',
101+ 'gdb-linaro': '7.3',
102+ 'qemu-linaro': 'trunk',
103+ 'cbuild': '11.11',
104+ 'linaro-toolchain-misc': 'trunk',
105+ 'linaro-toolchain-benchmarks': 'trunk',
106+ 'linaro-toolchain-binaries': 'trunk',
107+ }
108 # kernel
109- 'linux-linaro': 'devtrack',
110+class KernelProjects:
111+ notification_addresses = ['deepak.saxena@linaro.org', 'mounir.bsaibes@linaro.org']
112+ projects = {
113+ 'linux-linaro': 'devtrack',
114+ }
115 # power management
116- 'linaro-power-kernel': 'trunk',
117- 'linaro-power-qa': 'trunk',
118- 'linaro-powerdebug': 'trunk',
119- 'linaro-powertop': 'trunk',
120+class PowerManagementProjects:
121+ notification_addresses = ['amit.kucheria@linaro.org', 'mounir.bsaibes@linaro.org']
122+ projects = {
123+ 'linaro-power-kernel': 'trunk',
124+ 'linaro-power-qa': 'trunk',
125+ 'linaro-powerdebug': 'trunk',
126+ 'linaro-powertop': 'trunk',
127+ }
128 # dev platform
129- 'linaro-ubuntu': 'trunk',
130- 'u-boot-linaro': 'trunk',
131+class DevPlatformProjects:
132+ notification_addresses = ['danilo.segan@linaro.org', 'paul.larson@linaro.org', 'ricardo.salveti@linaro.org', 'fathi.boudra@linaro.org', 'david.zinman@linaro.org']
133+ projects = {
134+ 'linaro-ubuntu': 'trunk',
135+ 'u-boot-linaro': 'trunk',
136+ }
137 # android
138- 'linaro-android': 'trunk',
139+class AndroidProjects:
140+ notification_addresses = ['zach.pfeffer@linaro.org', 'david.zinman@linaro.org', 'fathi.boudra@linaro.org', 'tony.mansson@linaro.org']
141+ projects = {
142+ 'linaro-android': 'trunk',
143+ }
144 # validation
145- 'lava-android-test': 'trunk',
146- 'lava-celery': 'trunk',
147- 'lava-dashboard': 'trunk',
148- 'lava-dashboard-tool': 'trunk',
149- 'lava-dispatcher': 'trunk',
150- 'lava-kernel-ci-views': 'trunk',
151- 'lava-lab': 'trunk',
152- 'lava-qatracker': 'trunk',
153- 'lava-scheduler-tool': 'trunk',
154- 'lava-scheduler': 'trunk',
155- 'lava-server': 'trunk',
156- 'lava-test': 'trunk',
157- 'lava-tool': 'trunk',
158- 'linaro-django-xmlrpc': 'trunk',
159- 'linaro-python-dashboard-bundle': 'trunk',
160- 'linaro-validation-misc': 'trunk',
161+class ValidationProjects:
162+ notification_addresses = ['paul.larson@linaro.org']
163+ projects = {
164+ 'lava-android-test': 'trunk',
165+ 'lava-celery': 'trunk',
166+ 'lava-dashboard': 'trunk',
167+ 'lava-dashboard-tool': 'trunk',
168+ 'lava-dispatcher': 'trunk',
169+ 'lava-kernel-ci-views': 'trunk',
170+ 'lava-lab': 'trunk',
171+ 'lava-qatracker': 'trunk',
172+ 'lava-scheduler-tool': 'trunk',
173+ 'lava-scheduler': 'trunk',
174+ 'lava-server': 'trunk',
175+ 'lava-test': 'trunk',
176+ 'lava-tool': 'trunk',
177+ 'linaro-django-xmlrpc': 'trunk',
178+ 'linaro-python-dashboard-bundle': 'trunk',
179+ 'linaro-validation-misc': 'trunk',
180+ }
181 # octo
182- 'linaro-octo-armhf': 'trunk',
183-}
184-
185-
186+class OctoProjects:
187+ notification_addresses = ['loic.minier@linaro.org', 'ilias.biris@linaro.org']
188+ projects = {
189+ 'linaro-octo-armhf': 'trunk',
190+ }
191 ####################################################
192 # Infrastructure subprojects fetched directly from #
193 # linaro-infrastructure project group. #
194@@ -140,7 +158,21 @@
195 for product in data['entries']:
196 infra_projects[product['name']] = (
197 os.path.basename(product['development_focus_link']))
198-extra_projects.update(infra_projects)
199+class InfrastructureProjects:
200+ notification_addresses = ['danilo.segan@linaro.org', 'fathi.boudra@linaro.org', 'david.zinman@linaro.org', 'mattias.backman@linaro.org']
201+ projects = infra_projects
202+
203+extra_projects = {}
204+project_notification_addresses = {}
205+
206+for klass in (ToolchainProjects, KernelProjects, MultimediaProjects,
207+ GraphicsProjects, PowerManagementProjects, DevPlatformProjects,
208+ AndroidProjects, ValidationProjects, OctoProjects,
209+ InfrastructureProjects, IglooProjects):
210+ extra_projects.update(klass.projects)
211+ project_notification_addresses.update(dict.fromkeys(
212+ klass.projects, klass.notification_addresses))
213+project_notification_addresses['linaro'] = ['fathi.boudra@linaro.org', 'david.zinman@linaro.org', 'loic.minier@linaro.org', 'ilias.biris@linaro.org']
214
215 # Ubuntu release to track
216 # Linaro probably should not need to track an Ubuntu release /mabac

Subscribers

People subscribed via source and target branches

to all changes: