Wiki source code of Build Manager Roster
Last modified by Vincent Massol on 2022/06/08 15:17
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | |=Start Date|=End Date|=Build Manager | ||
2 | |30/05/2011|05/06/2011|cjdelisle | ||
3 | |06/06/2011|12/06/2011|[[xwiki:XWiki.VincentMassol]] | ||
4 | |13/06/2011|19/06/2011|[[xwiki:XWiki.ThomasMortagne]] | ||
5 | |20/06/2011|26/06/2011|[[xwiki:XWiki.sdumitriu]] | ||
6 | |27/06/2011|03/07/2011|[[xwiki:XWiki.mflorea]] | ||
7 | |04/07/2011|10/07/2011|(nobody, we had a process issue, fixed now) | ||
8 | |11/07/2011|17/07/2011|xwiki:XWiki.jvelo | ||
9 | |18/07/2011|24/07/2011|[[xwiki:XWiki.sdumitriu]] | ||
10 | |25/07/2011|31/07/2011|(nobody, Sergiu failed to hand over) | ||
11 | |01/08/2011|07/08/2011|[[xwiki:XWiki.VincentMassol]] (taking over from Sergiu who has still not handed over and who's not doing the Build Manager duty) | ||
12 | |08/08/2011|09/08/2011|[[xwiki:XWiki.VincentMassol]] | ||
13 | |09/08/2011|16/08/2011|cjdelisle | ||
14 | |16/08/2011|21/08/2011|cjdelisle and [[xwiki:XWiki.VincentMassol]] | ||
15 | |22/08/2011|28/08/2011|[[xwiki:XWiki.VincentMassol]] and [[xwiki:XWiki.ThomasMortagne]] | ||
16 | |29/08/2011|04/09/2011|[[xwiki:XWiki.mflorea]] | ||
17 | |05/09/2011|11/09/2011|[[xwiki:XWiki.sdumitriu]] | ||
18 | |12/09/2011|18/09/2011|jvelo | ||
19 | |19/09/2011|25/09/2011|jvelo (failed to hand over and not done very seriously...) | ||
20 | |26/09/2011|02/10/2011|[[xwiki:XWiki.mflorea]] | ||
21 | |03/10/2011|07/10/2011|[[xwiki:XWiki.ThomasMortagne]] | ||
22 | |10/10/2011|14/10/2011|[[xwiki:XWiki.enygma]] | ||
23 | |17/10/2011|21/10/2011|[[xwiki:XWiki.sdumitriu]] | ||
24 | |22/10/2011|30/10/2011|[[xwiki:XWiki.sdumitriu]] | ||
25 | |31/10/2011|06/11/2011|[[xwiki:XWiki.mflorea]] | ||
26 | |07/11/2011|11/11/2011|[[xwiki:XWiki.ThomasMortagne]] | ||
27 | |14/11/2011|18/11/2011|[[xwiki:XWiki.dgervalle]] and [[xwiki:XWiki.VincentMassol]] | ||
28 | |21/11/2011|25/11/2011|[[xwiki:XWiki.enygma]] | ||
29 | |28/11/2011|04/12/2011|[[xwiki:XWiki.sdumitriu]] | ||
30 | |05/12/2011|11/12/2011|cjdelisle | ||
31 | |12/12/2011|08/01/2012|Nobody specifically | ||
32 | |09/01/2011|15/01/2012|[[xwiki:XWiki.mflorea]] | ||
33 | |16/01/2011|22/01/2012|[[xwiki:XWiki.mflorea]] | ||
34 | |23/01/2012|29/01/2012|[[xwiki:XWiki.ThomasMortagne]] | ||
35 | |30/01/2012|05/02/2012|[[xwiki:XWiki.ThomasMortagne]] | ||
36 | |06/01/2012|12/02/2012|[[xwiki:XWiki.ThomasMortagne]], [[xwiki:XWiki.VincentMassol]] and [[xwiki:XWiki.mflorea]] | ||
37 | |13/02/2012|28/03/2012|Nobody specifically | ||
38 | |||
39 | {{info}} | ||
40 | We've stopped the process of Build Managers since we succeeded in stabilizing our builds enough to not require someone assigned. We might start it again in the future if we find that we have failing jobs that becomes the norm again... | ||
41 | {{/info}} | ||
42 | |||
43 | = Statistics = | ||
44 | |||
45 | {{groovy}} | ||
46 | import org.xwiki.rendering.block.* | ||
47 | |||
48 | def userCountMap = [:] | ||
49 | def tableBlock = doc.getDocument().getXDOM().getChildrenByType(TableBlock.class, false).get(0) | ||
50 | tableBlock.getChildrenByType(TableRowBlock.class, false).each() { rowBlock -> | ||
51 | def cellContentBlock = rowBlock.getChildrenByType(TableCellBlock.class, false).get(2) | ||
52 | def users = cellContentBlock.getChildrenByType(LinkBlock.class, false) | ||
53 | users.each() { linkBlock -> | ||
54 | def user = linkBlock.getReference().getReference(); | ||
55 | def count = userCountMap.get(user) | ||
56 | if (count == null) { | ||
57 | count = 1 | ||
58 | } else { | ||
59 | count++ | ||
60 | } | ||
61 | userCountMap.put(user, count) | ||
62 | } | ||
63 | } | ||
64 | |||
65 | //println "{{chart type='pie' source='inline' params='range:B1-B${userCountMap.size()};series:columns;' title='Build Managers'}}" | ||
66 | println "|=Build Manager|=Count" | ||
67 | userCountMap.each() { user, count -> | ||
68 | println "|[[${user}]]|${count}" | ||
69 | } | ||
70 | //println "{{/chart}}" | ||
71 | |||
72 | {{/groovy}} |