URI escape branch names in URLs. Don't strip + from branch name.
[buildfarm-server.git] / templates / log.tt
index 124985ae4c2b623fa7dc2ccdb0f48c5e29985842..0e9b8b216cb6d4253497368675f25d0af3f8d1e2 100644 (file)
@@ -18,7 +18,7 @@ See accompanying License file for license details
 [% mytitle = BLOCK %]Exim BuildFarm | [% IF stage != 'OK' %]Log for system "[% system %]" failure on snapshot taken [% urldt ; ELSE %]Configuration summary for system "[% system %]" snapshot taken [% urldt ; END ; END -%]
 [%
         cvsurl = 'http://anoncvs.postgresql.org/cvsweb.cgi';
-        giturl = scmurl || 'http://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=';
+        giturl = scmurl || 'https://git.exim.org/gitweb?p=exim.git;a=commit;h=';
 -%]
 [% WRAPPER 'page.tt' 
        title = mytitle
@@ -46,7 +46,7 @@ See accompanying License file for license details
     </tr>
     <tr>
         <td>[% system %]</td>
-        <td><a href="/cgi-bin/show_history.pl?nm=[% system %]&amp;br=[% branch %]">[% branch %]</a></td>
+        <td><a href="/cgi-bin/show_history.pl?nm=[% system %]&amp;br=[% branch | uri %]">[% branch %]</a></td>
         <td>[% info_row.operating_system %] [% info_row.os_version %]</td>
         <td>[% info_row.compiler %] [% info_row.compiler_version %]</td>
         <td>[% info_row.architecture %]</td>
@@ -105,7 +105,7 @@ See accompanying License file for license details
 <h5>Git log</h5>
 <pre>
 [% IF last_build_git_ref && git_head_ref %]
-<a href="https://github.com/postgres/postgres/compare/[% last_build_git_ref %]...[% git_head_ref %]">Change Set for this build</a>
+<a href="https://github.com/Exim/exim/compare/[% last_build_git_ref %]...[% git_head_ref %]">Change Set for this build</a>
 [% END %]
 [% FOREACH clog IN changed_this_run_logs ; PROCESS gitlog -%]
 [%- END -%]
@@ -133,9 +133,9 @@ not recorded
 [% IF changed_since_success_logs.0 %]
 <h5>Git log</h5>
 <pre>
-<a href="https://github.com/postgres/postgres/compare/[% last_success_git_ref %]...[% last_build_git_ref %]">Change Set prior to this build</a>
+<a href="https://github.com/Exim/exim/compare/[% last_success_git_ref %]...[% last_build_git_ref %]">Change Set prior to this build</a>
 
-<a href="https://github.com/postgres/postgres/compare/[% last_success_git_ref %]...[% git_head_ref %]">Change Set including this build</a>
+<a href="https://github.com/Exim/exim/compare/[% last_success_git_ref %]...[% git_head_ref %]">Change Set including this build</a>
 
 [% FOREACH clog IN changed_since_success_logs ; PROCESS gitlog -%]
 [%- END -%]