View | Details | Raw Unified | Return to bug 21626
Collapse All | Expand All

(-)a/about.pl (-23 / +43 lines)
Lines 505-536 if ( defined C4::Context->config('docdir') ) { Link Here
505
    $docdir = C4::Context->config('intranetdir') . '/docs';
505
    $docdir = C4::Context->config('intranetdir') . '/docs';
506
}
506
}
507
507
508
## Release teams
509
my $teams = LoadFile("$docdir"."/teams.yaml");
510
my $dev_team = (sort {$b <=> $a} (keys %{$teams->{team}}))[0];
511
my $short_version = substr($versions{'kohaVersion'},0,5);
512
my $minor = substr($versions{'kohaVersion'},3,2);
513
my $development_version = ( $minor eq '05' || $minor eq '11' ) ? 0 : 1;
514
$template->param( short_version => $short_version );
515
$template->param( development_version => $development_version );
516
508
## Contributors
517
## Contributors
509
my $contributors = LoadFile("$docdir"."/contributors.yaml");
518
my $contributors = LoadFile("$docdir"."/contributors.yaml");
510
my @people = map {
519
for my $version ( sort { $a <=> $b } keys %{$teams->{team}} ) {
511
    {
520
    for my $role ( keys %{ $teams->{team}->{$version} } ) {
512
        name => $_,
521
        my $normalized_role = "$role";
513
        (
522
        $normalized_role =~ s/s$//;
514
            exists( $contributors->{$_}->{openhub} )
523
        if ( ref( $teams->{team}->{$version}->{$role} ) eq 'ARRAY' ) {
515
            ? ( openhub => $contributors->{$_}->{openhub} )
524
            for my $contributor ( @{ $teams->{team}->{$version}->{$role} } ) {
516
            : ()
525
                my $name = $contributor->{name};
517
        ),
526
                # Add role to contributors
518
        (
527
                push @{ $contributors->{$name}->{roles}->{$normalized_role} },
519
            exists( $contributors->{$_}->{roles} )
528
                  $version;
520
            ? ( roles => $contributors->{$_}->{roles} )
529
                # Add openhub to teams
521
            : ()
530
                if ( exists( $contributors->{$name}->{openhub} ) ) {
522
        ),
531
                    $contributor->{openhub} = $contributors->{$name}->{openhub};
523
        (
532
                }
524
            exists( $contributors->{$_}->{commits} )
533
            }
525
            ? ( commits => $contributors->{$_}->{commits} )
534
        }
526
            : ()
535
        else {
527
        ),
536
            my $name = $teams->{team}->{$version}->{$role}->{name};
528
        (
537
            # Add role to contributors
529
            exists( $contributors->{$_}->{notes} )
538
            push @{ $contributors->{$name}->{roles}->{$normalized_role} },
530
            ? ( notes => $contributors->{$_}->{notes} )
539
              $version;
531
            : ()
540
            # Add openhub to teams
532
        )
541
            if ( exists( $contributors->{$name}->{openhub} ) ) {
542
                $teams->{team}->{$version}->{$role}->{openhub} =
543
                  $contributors->{$name}->{openhub};
544
            }
545
        }
533
    }
546
    }
547
}
548
549
## Create last name ordered array of people from contributors
550
my @people = map {
551
    { name => $_, ( $contributors->{$_} ? %{ $contributors->{$_} } : () ) }
534
} sort {
552
} sort {
535
    my ($alast) = $a =~ /(\S+)$/;
553
    my ($alast) = $a =~ /(\S+)$/;
536
    my ($blast) = $b =~ /(\S+)$/;
554
    my ($blast) = $b =~ /(\S+)$/;
Lines 538-543 my @people = map { Link Here
538
} keys %{$contributors};
556
} keys %{$contributors};
539
557
540
$template->param( contributors => \@people );
558
$template->param( contributors => \@people );
559
$template->param( maintenance_team => $teams->{team}->{$dev_team} );
560
$template->param( release_team => $teams->{team}->{$short_version} );
541
561
542
## Timeline
562
## Timeline
543
if ( open( my $file, "<:encoding(UTF-8)", "$docdir" . "/history.txt" ) ) {
563
if ( open( my $file, "<:encoding(UTF-8)", "$docdir" . "/history.txt" ) ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/about-team.inc (+134 lines)
Line 0 Link Here
1
[%- BLOCK role -%]
2
  [%- SWITCH role.key -%]
3
    [%- CASE 'manager'               -%]Release manager
4
    [%- CASE 'manager_assistant'     -%]Release manager assistant
5
    [%- CASE 'manager_assistants'    -%]Release manager assistant
6
    [%- CASE 'qa_manager'            -%]Quality assurance manager
7
    [%- CASE 'qa'                    -%]Quality assurance team
8
    [%- CASE 'documentation'         -%]Documentation manager
9
    [%- CASE 'documentation_team'    -%]Documentation team
10
    [%- CASE 'translation'           -%]Translation manager
11
    [%- CASE 'translations'          -%]Translation manager
12
    [%- CASE 'translation_assistant' -%]Translation manager assistant
13
    [%- CASE 'te'                    -%]Topic expert
14
    [%- CASE 'bugwrangler'           -%]Bug wrangler
15
    [%- CASE 'maintainer'            -%]Release maintainer
16
    [%- CASE 'maintainer_assistant'  -%]Release maintainer assistant
17
    [%- CASE 'maintainer_assistants' -%]Release maintainer assistant
18
    [%- CASE 'wiki'                  -%]Wiki curator
19
    [%- CASE 'ci'                    -%]Continious integration manager
20
    [%- CASE 'packaging'             -%]Packaging manager
21
    [%- CASE 'packaging_assistant'   -%]Packaging manager assistant
22
    [%- CASE 'chairperson'           -%]Meetings chairperson
23
    [%- CASE 'newsletter'            -%]Newsletter editor
24
    [%- CASE 'mm'                    -%]Module maintainer
25
    [%- CASE 'vm'                    -%]Virtual machine maintainer
26
    [%- CASE 'database'              -%]Documentation specialist
27
    [%- CASE 'live_cd'               -%]Live CD maintainer
28
  [%- END -%]
29
[%- END -%]
30
31
[%- BLOCK person -%]
32
[% IF p.openhub %]<a href="[% p.openhub | url %]">[% p.name | html %]</a>[% ELSE %][% p.name | html %][% END %]
33
[%- END -%]
34
35
[%- BLOCK contributions -%]
36
[%- IF p.roles || p.notes -%]
37
<ul>
38
    [% FOREACH r IN p.roles %]<li>[% INCLUDE role role=r %] ([% r.value.join(', ') | html %])</li>[% END %]
39
    [% IF p.notes %]<li>[% p.notes | html %]</li>[% END %]
40
</ul>
41
[%- END -%]
42
[%- END -%]
43
44
[%- BLOCK team -%]
45
    <ul>
46
47
        <li><strong>Release manager:</strong>
48
            [% INCLUDE person p=t.manager %]
49
        </li>
50
51
        [% IF t.manager_assistants %]
52
        <li><strong>Release manager assistants:</strong>
53
            <ul>
54
                [% FOREACH a IN t.assistants %]
55
                <li>[% INCLUDE person p=a %]</li>
56
                [% END %]
57
            </ul>
58
        </li>
59
        [% ELSIF t.manager_assistant %]
60
        <li><strong>Release manager assistant:</strong>
61
            [% INCLUDE person p=t.manager_assistant %]
62
        </li>
63
        [% END %]
64
65
        [% IF t.qa_manager %]
66
        <li><strong>Quality assurance manager:</strong>
67
            [% INCLUDE person p=t.qa_manager %]
68
        </li>
69
        [% END %]
70
71
        [% IF t.qa %]
72
        <li><strong>Quality assurance team:</strong>
73
            <ul>
74
                [% FOREACH qa IN t.qa %]
75
                <li>[% INCLUDE person p=qa %]</li>
76
                [% END %]
77
            </ul>
78
        </li>
79
        [% END %]
80
81
        [% IF t.documentation %]
82
        <li><strong>Documentation Manager:</strong>
83
            [% INCLUDE person p=t.documentation %]
84
        </li>
85
        [% END %]
86
87
        [% IF t.documentation_team %]
88
        <li><strong>Documentation Team:</strong>
89
            <ul>
90
                [% FOREACH doc_member IN t.documentation_team %]
91
                <li>[% INCLUDE person p=doc_member %]</li>
92
                [% END %]
93
            </ul>
94
        </li>
95
        [% END %]
96
97
        [% IF t.translation %]
98
        <li><strong>Translation manager:</strong>
99
            [% INCLUDE person p=t.translation %]
100
        </li>
101
        [% END %]
102
103
        [% IF t.packaging %]
104
        <li><strong>Packaging manager:</strong>
105
            [% INCLUDE person p=t.packaging %]
106
        </li>
107
        [% END %]
108
109
        [% IF t.ci %]
110
        <li><strong>Jenkins maintainer:</strong>
111
            [% INCLUDE person p=t.ci %]
112
        </li>
113
        [% END %]
114
115
        [% IF t.bugwrangler %]
116
        <li><strong>Bug wranglers:</strong>
117
            <ul>
118
                [% FOREACH bugwrangler IN t.bugwrangler %]
119
                <li>[% INCLUDE person p=bugwrangler %]</li>
120
                [% END %]
121
            </ul>
122
        </li>
123
        [% END %]
124
125
        <li><strong>Release maintainers:</strong>
126
            <ul>
127
                [% FOREACH m IN t.maintainer %]
128
                <li>[% m.version | html %] - [% INCLUDE person p=m %]</li>
129
                [% END %]
130
            </ul>
131
        </li>
132
133
    </ul>
134
[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-106 / +18 lines)
Lines 8-13 Link Here
8
</head>
8
</head>
9
<body id="about_about" class="about">
9
<body id="about_about" class="about">
10
[% INCLUDE 'header.inc' %]
10
[% INCLUDE 'header.inc' %]
11
[% PROCESS 'about-team.inc' %]
11
12
12
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; About Koha</div>
13
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; About Koha</div>
13
14
Lines 397-466 Link Here
397
                <li><a href="http://www.ashs.school.nz/">Albany Senior High School</a>, Auckland, New Zealand (OPAC 'star-ratings' sponsorship)</li>
398
                <li><a href="http://www.ashs.school.nz/">Albany Senior High School</a>, Auckland, New Zealand (OPAC 'star-ratings' sponsorship)</li>
398
            </ul>
399
            </ul>
399
400
400
            <h2>Koha 18.11 release team</h2>
401
            <h2>Koha release teams</h2>
401
            <ul>
402
            <div class="row">
402
                <li><strong>Release manager:</strong>
403
                <div class="col-md-6">
403
                    <a href="https://www.openhub.net/p/koha/contributors/6620692886191">Nick Clemens</a>
404
                    <h3>Koha [% short_version | html %] release team</h3>
404
                </li>
405
                    [% IF development_version %]
405
                <li><strong>Release manager assistants:</strong>
406
                        <p>You are running a development version of Koha</p>
406
                    <ul>
407
                    [% ELSE %]
407
                        <li><a href="https://www.openhub.net/p/koha/contributors/6618544730094">Tomás Cohen Arazi</a></li>
408
                        [% INCLUDE team t=release_team %]
408
                        <li><a href="https://www.openhub.net/p/koha/contributors/6618545125093">Jonathan Druart</a></li>
409
                    [% END %]
409
                        <li><a href="https://www.openhub.net/p/koha/contributors/6618544661344">Brendan Gallagher</a></li>
410
                </div>
410
                        <li><a href="https://www.openhub.net/p/koha/contributors/6620692261494">Kyle Hall</a></li>
411
411
                    </ul>
412
                <div class="col-md-6">
412
                </li>
413
                    <h3>Current maintainence team</h3>
413
                <li><strong>Documentation team:</strong>
414
414
                    <ul>
415
                    [% INCLUDE team t=maintenance_team %]
415
                        <li>Caroline Cyr La Rose</li>
416
                </div>
416
                        <li>Lee Jamison</li>
417
            </div>
417
                        <li>David Nind</li>
418
                    </ul>
419
                </li>
420
                <li><strong>Translation manager:</strong>
421
                    <a href="https://www.openhub.net/p/koha/contributors/6618544839606">Bernardo González Kriegel</a>
422
                </li>
423
                <li><strong>Quality assurance manager:</strong>
424
                    <a href="https://www.openhub.net/p/koha/contributors/6618544670742">Katrin Fischer</a>
425
                </li>
426
                <li><strong>Quality assurance team:</strong>
427
                    <ul>
428
                        <li>Alex Arnaud</li>
429
                        <li><a href="https://www.openhub.net/p/koha/contributors/6618544730094">Tomás Cohen Arazi</a></li>
430
                        <li><a href="https://www.openhub.net/p/koha/contributors/6618544609030">Chris Cormack</a></li>
431
                        <li><a href="https://www.openhub.net/p/koha/contributors/6618545125093">Jonathan Druart</a></li>
432
                        <li><a href="https://www.openhub.net/p/koha/contributors/6620692261494">Kyle Hall</a></li>
433
                        <li><a href="https://www.openhub.net/p/koha/contributors/6620692419690">Julian Maurice</a></li>
434
                        <li>Josef Moravec</li>
435
                        <li><a href="https://www.openhub.net/p/koha/contributors/6618544785220">Martin Renvoize</a></li>
436
                        <li><a href="https://www.openhub.net/p/koha/contributors/6618544727712">Marcel de Rooy</a></li>
437
                    </ul>
438
                </li>
439
                <li><strong>Release maintainers:</strong>
440
                    <ul>
441
                        <li><a href="https://www.openhub.net/p/koha/contributors/6618544785220">Martin Renvoize</a> (18.05)</li>
442
                        <li><a href="https://www.openhub.net/p/koha/contributors/6618545418525">Fridolin Somers</a> (17.11)</li>
443
                        <li><a href="https://www.openhub.net/p/koha/contributors/6618545418525">Fridolin Somers</a> (17.05)</li>
444
                    </ul>
445
                </li>
446
                <li><strong>Packaging manager:</strong>
447
                    <ul>
448
                        <li><a href="https://www.openhub.net/p/koha/contributors/6620692605913">Mirko Tietgen</a></li>
449
                        <li><a href="https://www.openhub.net/accounts/kohaaloha">Mason James</a> (Assistant)</li>
450
                    </ul>
451
                </li>
452
                <li><strong>Jenkins maintainer:</strong>
453
                    <a href="https://www.openhub.net/p/koha/contributors/6618544730094">Tomás Cohen Arazi</a>
454
                </li>
455
                <li><strong>Bug wranglers:</strong>
456
                    <ul>
457
                        <li>Indranil Das Gupta</li>
458
                        <li>Claire Gravely</li>
459
                        <li>Amit Gupta</li>
460
                        <li>Jon Knight</li>
461
                    </ul>
462
                </li>
463
            </ul>
464
418
465
            <h2>Koha development team</h2>
419
            <h2>Koha development team</h2>
466
            <ul class="columns-4">
420
            <ul class="columns-4">
Lines 786-829 Link Here
786
[% END %]
740
[% END %]
787
<!-- the main div is closed in intranet-bottom.inc -->
741
<!-- the main div is closed in intranet-bottom.inc -->
788
[% INCLUDE 'intranet-bottom.inc' %]
742
[% INCLUDE 'intranet-bottom.inc' %]
789
<!-- roles for translation -->
790
[%- BLOCK role -%]
791
  [%- SWITCH role.key -%]
792
    [%- CASE 'manager'               -%]Release manager
793
    [%- CASE 'manager_assistant'     -%]Release manager assistant
794
    [%- CASE 'manager_assistants'    -%]Release manager assistant
795
    [%- CASE 'qa_manager'            -%]Quality assurance manager
796
    [%- CASE 'qa'                    -%]Quality assurance team
797
    [%- CASE 'documentation'         -%]Documentation manager
798
    [%- CASE 'documentation_team'    -%]Documentation team
799
    [%- CASE 'translation'           -%]Translation manager
800
    [%- CASE 'translations'          -%]Translation manager
801
    [%- CASE 'translation_assistant' -%]Translation manager assistant
802
    [%- CASE 'te'                    -%]Topic expert
803
    [%- CASE 'bugwrangler'           -%]Bug wrangler
804
    [%- CASE 'maintainer'            -%]Release maintainer
805
    [%- CASE 'maintainer_assistant'  -%]Release maintainer assistant
806
    [%- CASE 'maintainer_assistants' -%]Release maintainer assistant
807
    [%- CASE 'wiki'                  -%]Wiki curator
808
    [%- CASE 'ci'                    -%]Continious integration manager
809
    [%- CASE 'packaging'             -%]Packaging manager
810
    [%- CASE 'packaging_assistant'   -%]Packaging manager assistant
811
    [%- CASE 'chairperson'           -%]Meetings chairperson
812
    [%- CASE 'newsletter'            -%]Newsletter editor
813
    [%- CASE 'mm'                    -%]Module maintainer
814
    [%- CASE 'vm'                    -%]Virtual machine maintainer
815
    [%- CASE 'database'              -%]Documentation specialist
816
    [%- CASE 'live_cd'               -%]Live CD maintainer
817
  [%- END -%]
818
[%- END -%]
819
[%- BLOCK person -%]
820
[% IF p.openhub %]<a href="[% p.openhub | url %]">[% p.name | html %]</a>[% ELSE %][% p.name | html %][% END %]
821
[%- END -%]
822
[%- BLOCK contributions -%]
823
[%- IF p.roles || p.notes -%]
824
<ul>
825
    [% FOREACH r IN p.roles %]<li>[% INCLUDE role role=r %] ([% r.value.join(', ') | html %])</li>[% END %]
826
    [% IF p.notes %]<li>[% p.notes | html %]</li>[% END %]
827
</ul>
828
[%- END -%]
829
[%- END -%]
830
- 

Return to bug 21626