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

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

Return to bug 21626