[% END %]
</ul>
+[% vcs_link = page.get_newest("vcs-browser") %]
[% #FIXME: should this only be used for the PTS?
- known_vcs = [ [ 'cvs', 'CVS' ],
- [ 'svn', 'Subversion' ],
- [ 'bzr', 'bzr' ],
- [ 'darcs', 'Darcs'],
- [ 'arch', 'arch' ] ];
+ known_vcs = [ [ 'cvs', 'CVS', 'cvs' ],
+ [ 'svn', 'Subversion', 'subversion' ],
+ [ 'bzr', 'bzr', 'bzr' ],
+ [ 'darcs', 'Darcs', 'darcs' ],
+ [ 'arch', 'arch', 'tla' ],
+ [ 'git', 'Git', 'git-core' ],
+ [ 'hg', 'Hg', 'mercurial' ], ];
FOREACH vcs IN known_vcs;
- vcs_id = vcs.0; vcs_name = vcs.1;
+ vcs_id = vcs.0; vcs_name = vcs.1; vcs_pkg = vcs.2;
vcs_info = page.get_newest("vcs-$vcs_id");
SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info;
IF vcs_info; %]
-<p>Debian Package Repository (<acronym title="Version Control System">VCS</acronym>: [% vcs_name %]):<br> <a href="[% vcs_info %]" class="pvcslink">[% vcs_info %]</a></p>
-[% END; END %]
+<p>Debian Package Repository (<acronym title="Version Control System">VCS</acronym>:
+<a href="[% make_url(vcs_pkg,'','source','') %]">[% vcs_name %]</a>):<br> <a href="[% vcs_info %]" class="pvcslink">[% vcs_info %]</a></p>
+[% IF vcs_link %]
+<p>Debian Package Repository (Browsable):<br> <a href="[% vcs_link %]" class="pvcslink">[% vcs_link %]</a></p>
+[% END; END; END %]
[% IF src %]
<p>Download Source Package <a href="[% src.url %]">[% src.pkg %]</a>:
<h3>Maintainer:</h3>
[%- FOREACH maintainers -%]
<a href="mailto:[% mail %]">[% name | html %]</a>
+ (<a href="[% ddpo_url _ mail %]" title="An overview over the maintainter's packages and uploads">QA Page</a>)
[%- END -%]
[%- ELSE -%]
<h3>Maintainers:</h3>
[%- FOREACH maintainers -%]
[%- '<ul>' IF loop.first -%]
- <li><a href="mailto:[% mail %]">[% name | html %]</a></li>
+ <li><a href="mailto:[% mail %]">[% name | html %]</a>
+ (<a href="[% ddpo_url _ mail %]" title="An overview over the maintainter's packages and uploads">QA Page</a>)
+ </li>
[%- '</ul>' IF loop.last -%]
[%- END -%]
[%- END %]
[% IF suite == "experimental" || subsection == "debian-installer" %]
<div class="pconstantnag">
[% IF suite == "experimental" %]
+[% changelog_link = 'changelog';
+ changelog_link = "<a href='$changelogs_url$files.changelog.path'>changelog</a>" %]
<h2>Experimental package</h2>
<p>Warning: This package is from the <strong>experimental</strong> distribution.
That means it is likely unstable or buggy, and it may even cause data loss.
-Please be sure to consult the changelog and other possible documentation before
+Please be sure to consult the [% changelog_link %] and other possible documentation before
using it.</p>
[% END %]
[% IF subsection == "debian-installer" %]