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' || '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 (+104 lines)
Line 0 Link Here
1
[%- BLOCK person -%]
2
[% IF p.openhub %]<a href="[% p.openhub | url %]">[% p.name | html %]</a>[% ELSE %][% p.name | html %][% END %]
3
[%- END -%]
4
5
[%- BLOCK contributions -%]
6
[%- IF p.roles || p.notes -%]
7
<ul>
8
    [% FOREACH r IN p.roles %]<li>[% r.key | html %] ([% r.value.join(, ) %])</li>[% END %]
9
    [% IF p.notes %]<li>[% p.notes | html %]</li>[% END %]
10
</ul>
11
[%- END -%]
12
[%- END -%]
13
14
[%- BLOCK team -%]
15
    <ul>
16
17
        <li><strong>Release manager:</strong>
18
            [% INCLUDE person p=t.manager %]
19
        </li>
20
21
        [% IF t.manager_assistants %]
22
        <li><strong>Release manager assistants:</strong>
23
            <ul>
24
                [% FOREACH a IN t.assistants %]
25
                <li>[% INCLUDE person p=a %]</li>
26
                [% END %]
27
            </ul>
28
        </li>
29
        [% ELSIF t.manager_assistant %]
30
        <li><strong>Release manager assistant:</strong>
31
            [% INCLUDE person p=t.manager_assistant %]
32
        </li>
33
        [% END %]
34
35
        [% IF t.qa_manager %]
36
        <li><strong>Quality assurance manager:</strong>
37
            [% INCLUDE person p=t.qa_manager %]
38
        </li>
39
        [% END %]
40
41
        [% IF t.qa %]
42
        <li><strong>Quality assurance team:</strong>
43
            <ul>
44
                [% FOREACH qa IN t.qa %]
45
                <li>[% INCLUDE person p=qa %]</li>
46
                [% END %]
47
            </ul>
48
        </li>
49
        [% END %]
50
51
        [% IF t.documentation %]
52
        <li><strong>Documentation Manager:</strong>
53
            [% INCLUDE person p=t.documentation %]
54
        </li>
55
        [% END %]
56
57
        [% IF t.documentation_team %]
58
        <li><strong>Documentation Team:</strong>
59
            <ul>
60
                [% FOREACH doc_member IN t.documentation_team %]
61
                <li>[% INCLUDE person p=doc_member %]</li>
62
                [% END %]
63
            </ul>
64
        </li>
65
        [% END %]
66
67
        [% IF t.translation %]
68
        <li><strong>Translation manager:</strong>
69
            [% INCLUDE person p=t.translation %]
70
        </li>
71
        [% END %]
72
73
        [% IF t.packaging %]
74
        <li><strong>Packaging manager:</strong>
75
            [% INCLUDE person p=t.packaging %]
76
        </li>
77
        [% END %]
78
79
        [% IF t.ci %]
80
        <li><strong>Jenkins maintainer:</strong>
81
            [% INCLUDE person p=t.ci %]
82
        </li>
83
        [% END %]
84
85
        [% IF t.bugwrangler %]
86
        <li><strong>Bug wranglers:</strong>
87
            <ul>
88
                [% FOREACH bugwrangler IN t.bugwrangler %]
89
                <li>[% INCLUDE person p=bugwrangler %]</li>
90
                [% END %]
91
            </ul>
92
        </li>
93
        [% END %]
94
        
95
        <li><strong>Release maintainers:</strong>
96
            <ul>
97
                [% FOREACH m IN t.maintainer %]
98
                <li>[% m.version %] - [% INCLUDE person p=m %]</li>
99
                [% END %]
100
            </ul>
101
        </li>
102
103
    </ul>
104
[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-76 / +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 %] 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 789-802 Link Here
789
[% END %]
743
[% END %]
790
<!-- the main div is closed in intranet-bottom.inc -->
744
<!-- the main div is closed in intranet-bottom.inc -->
791
[% INCLUDE 'intranet-bottom.inc' %]
745
[% INCLUDE 'intranet-bottom.inc' %]
792
[%- BLOCK person -%]
793
[% IF p.openhub %]<a href="[% p.openhub | url %]">[% p.name | html %]</a>[% ELSE %][% p.name | html %][% END %]
794
[%- END -%]
795
[%- BLOCK contributions -%]
796
[%- IF p.roles || p.notes -%]
797
<ul>
798
    [% FOREACH r IN p.roles %]<li>[% r.key | html %] ([% r.value.join(, ) %])</li>[% END %]
799
    [% IF p.notes %]<li>[% p.notes | html %]</li>[% END %]
800
</ul>
801
[%- END -%]
802
[%- END -%]
803
- 

Return to bug 21626