2013-05-29 09:39:23 +00:00
|
|
|
|
[% BLOCK renderProductLinks %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>URL:</th>
|
|
|
|
|
<td><a href="[% uri %]"><tt>[% uri %]</tt></a></td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% IF latestRoot %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Links to latest:</th>
|
|
|
|
|
<td>
|
|
|
|
|
[% uri2 = "${c.uri_for(latestRoot.join('/') 'download-by-type' product.type product.subtype)}" %]
|
|
|
|
|
<a href="[% uri2 %]"><tt>[% uri2 %]</tt></a>
|
|
|
|
|
<br />
|
|
|
|
|
[% uri2 = "${c.uri_for(latestRoot.join('/') 'download' product.productnr)}" %]
|
|
|
|
|
<a href="[% uri2 %]"><tt>[% uri2 %]</tt></a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
[% END %]
|
|
|
|
|
|
2013-02-14 15:51:42 +00:00
|
|
|
|
[% BLOCK renderProductList %]
|
2008-11-27 18:27:19 +00:00
|
|
|
|
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<table class="table table-striped">
|
|
|
|
|
<tr>
|
2016-05-19 12:32:53 +00:00
|
|
|
|
<th></th>
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Link</th>
|
|
|
|
|
<th>Actions</th>
|
|
|
|
|
</tr>
|
2008-11-27 18:27:19 +00:00
|
|
|
|
|
2013-02-14 15:51:42 +00:00
|
|
|
|
[% FOREACH product IN build.buildproducts %]
|
2009-02-25 10:52:41 +00:00
|
|
|
|
|
2009-03-06 13:34:53 +00:00
|
|
|
|
[% uri = "${c.uri_for('/build' build.id 'download' product.productnr)}"
|
|
|
|
|
_ (product.name ? "/" _ product.name : "")
|
|
|
|
|
_ (product.defaultpath ? "/" _ product.defaultpath : "") %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2009-03-18 17:40:12 +00:00
|
|
|
|
[% contents = c.uri_for('/build' build.id 'contents' product.productnr) %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2008-11-27 18:27:19 +00:00
|
|
|
|
[% SWITCH product.type %]
|
|
|
|
|
|
|
|
|
|
[% CASE "nix-build" %]
|
2012-03-05 20:52:47 +00:00
|
|
|
|
[% IF build.buildstatus == 6 %]
|
2013-02-13 16:49:28 +00:00
|
|
|
|
[% filename = build.nixname _ (product.subtype ? "-" _ product.subtype : "") _ ".closure.gz" %]
|
2011-02-02 12:16:57 +00:00
|
|
|
|
[% uri = c.uri_for('/build' build.id 'nix' 'closure' filename ) %]
|
2011-01-04 16:08:19 +00:00
|
|
|
|
<tr class="product">
|
|
|
|
|
<td>
|
2013-09-25 10:34:13 +00:00
|
|
|
|
<img src="[% c.uri_for("/static/images/error_32.png") %]" alt="Source" />
|
2016-05-12 18:43:01 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
Error
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="[% contents %]">
|
|
|
|
|
Failed build produced output. Click here to inspect the output.
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
[% WRAPPER makePopover title="Help" classes="btn-mini" %]
|
|
|
|
|
<p>If you have Nix installed on your machine, this failed build output and
|
|
|
|
|
all its dependencies can be unpacked into your local Nix store by doing:</p>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<pre><span class="shell-prompt">$ </span>curl [% uri %] | gunzip | nix-store --import</pre>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<p>The build output can then be found in the path <tt>[% product.path %]</tt>.</p>
|
|
|
|
|
[% END %]
|
2011-01-04 16:08:19 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2011-01-04 16:08:19 +00:00
|
|
|
|
[% ELSE %]
|
|
|
|
|
<tr class="product">
|
|
|
|
|
<td>
|
2013-09-25 10:34:13 +00:00
|
|
|
|
<img src="[% c.uri_for("/static/images/nix-build.png") %]" alt="Source" />
|
2016-05-12 18:43:01 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td>
|
2018-01-15 13:27:58 +00:00
|
|
|
|
Nix package
|
2016-05-12 18:43:01 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td>
|
2018-01-15 13:27:58 +00:00
|
|
|
|
<tt>[% HTML.escape(build.nixname) %]</tt>
|
2016-05-12 18:43:01 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td>
|
2018-01-15 13:27:58 +00:00
|
|
|
|
[% WRAPPER makePopover title="Help" classes="btn-mini"
|
2018-02-08 17:37:21 +00:00
|
|
|
|
%] <p>You can install this package using the Nix package
|
2018-01-15 13:27:58 +00:00
|
|
|
|
manager from the command-line:</p>
|
2016-05-12 18:43:01 +00:00
|
|
|
|
|
2018-01-15 13:27:58 +00:00
|
|
|
|
<pre><span class="shell-prompt">$ </span>nix-env -i [%HTML.escape(product.path)%][% IF binaryCachePublicUri %] --option binary-caches [% HTML.escape(binaryCachePublicUri) %][% END %]</pre>
|
2016-05-12 18:43:01 +00:00
|
|
|
|
[% END %]
|
2017-10-18 13:57:43 +00:00
|
|
|
|
[% IF localStore %]
|
|
|
|
|
<a class="btn btn-mini" href="[% contents %]">Contents</a>
|
|
|
|
|
[% END %]
|
2011-01-04 16:08:19 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2017-10-18 11:44:41 +00:00
|
|
|
|
[% IF localStore %]
|
2011-02-02 12:16:57 +00:00
|
|
|
|
<tr class="product">
|
|
|
|
|
<td>
|
2013-09-25 10:34:13 +00:00
|
|
|
|
<img src="[% c.uri_for("/static/images/nix-build.png") %]" alt="Source" />
|
2016-05-12 18:43:01 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
Nix closure
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
[% filename = build.nixname _ (product.subtype ? "-" _ product.subtype : "") _ ".closure.gz" %]
|
|
|
|
|
[% uri = c.uri_for('/build' build.id 'nix' 'closure' filename ) %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<a href="[% uri %]">
|
|
|
|
|
<tt>[% product.path %]</tt>
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
[% WRAPPER makePopover title="Help" classes="btn-mini" %]
|
|
|
|
|
<p>If you have Nix installed on your machine, this build and
|
|
|
|
|
all its dependencies can be unpacked into your local Nix
|
|
|
|
|
store by doing:</p>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<pre><span class="shell-prompt">$ </span>gunzip < [% filename %] | nix-store --import</pre>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<p>or to download and unpack in one command:</p>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<pre><span class="shell-prompt">$ </span>curl [% uri %] | gunzip | nix-store --import</pre>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<p>The package can then be found in the path <tt>[%
|
|
|
|
|
product.path %]</tt>. You’ll probably also want to do</p>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<pre><span class="shell-prompt">$ </span>nix-env -i [% product.path %]</pre>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<p>to actually install the package in your Nix user environment.</p>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<p>If you get the error message “imported
|
|
|
|
|
archive lacks a signature”, you should make sure that you have
|
|
|
|
|
sufficient access rights to the Nix store, e.g., run the
|
|
|
|
|
command as <tt>root</tt>.</p>
|
|
|
|
|
[% END %]
|
2011-02-02 12:16:57 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2017-10-18 11:44:41 +00:00
|
|
|
|
[% END %]
|
2015-04-21 02:22:37 +00:00
|
|
|
|
[% END %]
|
2009-02-23 13:23:55 +00:00
|
|
|
|
|
2015-04-26 16:01:02 +00:00
|
|
|
|
[% CASE ["file", "channel"] %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2010-02-24 15:06:20 +00:00
|
|
|
|
<tr class="product">
|
2016-05-12 18:43:01 +00:00
|
|
|
|
[% SWITCH product.subtype %]
|
|
|
|
|
[% CASE "source-dist" %]
|
|
|
|
|
<td>
|
|
|
|
|
<img src="[% c.uri_for("/static/images/source-dist.png") %]" alt="Source" />
|
|
|
|
|
</td>
|
|
|
|
|
<td>Source distribution</td>
|
|
|
|
|
[% CASE "rpm" %]
|
|
|
|
|
<td>
|
|
|
|
|
<img src="[% c.uri_for("/static/images/rpm.png") %]" alt="RPM" />
|
|
|
|
|
</td>
|
|
|
|
|
<td>RPM package</td>
|
|
|
|
|
[% CASE "srpm" %]
|
|
|
|
|
<td>
|
|
|
|
|
<img src="[% c.uri_for("/static/images/rpm.png") %]" alt="Source RPM" />
|
|
|
|
|
</td>
|
|
|
|
|
<td>Source RPM package</td>
|
|
|
|
|
[% CASE "deb" %]
|
|
|
|
|
<td>
|
|
|
|
|
<img src="[% c.uri_for("/static/images/debian.png") %]" alt="DEB" />
|
|
|
|
|
</td>
|
|
|
|
|
<td>Debian package</td>
|
|
|
|
|
[% CASE "iso" %]
|
|
|
|
|
<td>
|
|
|
|
|
<img src="[% c.uri_for("/static/images/iso.png") %]" alt="ISO" />
|
|
|
|
|
</td>
|
|
|
|
|
<td>ISO-9660 CD/DVD image</td>
|
|
|
|
|
[% CASE "binary-dist" %]
|
|
|
|
|
<td>
|
|
|
|
|
<img src="[% c.uri_for("/static/images/binary-dist.png") %]" alt="Binary distribution" />
|
|
|
|
|
</td>
|
|
|
|
|
<td>Binary distribution</td>
|
|
|
|
|
[% CASE DEFAULT %]
|
|
|
|
|
[% IF product.type == "channel" %]
|
|
|
|
|
<td>
|
2015-04-26 16:01:02 +00:00
|
|
|
|
<img src="[% c.uri_for("/static/images/channel.png") %]" alt="Channel" />
|
2016-05-12 18:43:01 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
Channel expression tarball
|
2015-04-26 16:01:02 +00:00
|
|
|
|
[% IF product.subtype != "-" %]for <tt>[% product.subtype %]</tt>[% END %]
|
2016-05-12 18:43:01 +00:00
|
|
|
|
</td>
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
<td>File</td>
|
|
|
|
|
<td>[% product.subtype %]</td>
|
2008-11-27 18:27:19 +00:00
|
|
|
|
[% END %]
|
2013-04-26 15:47:30 +00:00
|
|
|
|
[% END %]
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<td>
|
|
|
|
|
<a href="[% uri %]">
|
|
|
|
|
<tt>[% product.name %]</tt>
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
[% WRAPPER makePopover title="Details" classes="btn-mini" %]
|
|
|
|
|
<table class="info-table">
|
|
|
|
|
[% INCLUDE renderProductLinks %]
|
|
|
|
|
<tr><th>File size:</th><td>[% product.filesize %] bytes ([% mibs(product.filesize / (1024 * 1024)) %] MiB)</td></tr>
|
|
|
|
|
<tr><th>SHA-256 hash:</th><td><tt>[% product.sha256hash %]</tt></td></tr>
|
|
|
|
|
<tr><th>Full path:</th><td><tt>[% product.path %]</tt></td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
[% END %]
|
2017-10-18 13:57:43 +00:00
|
|
|
|
[% IF localStore %]
|
|
|
|
|
<a class="btn btn-mini" href="[% contents %]">Contents</a>
|
|
|
|
|
[% END %]
|
2010-02-24 15:06:20 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2008-11-27 18:27:19 +00:00
|
|
|
|
|
|
|
|
|
[% CASE "report" %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2010-02-24 15:06:20 +00:00
|
|
|
|
<tr class="product">
|
|
|
|
|
<td>
|
2013-09-25 10:34:13 +00:00
|
|
|
|
<img src="[% c.uri_for("/static/images/report.png") %]" alt="Report" />
|
2010-02-24 15:06:20 +00:00
|
|
|
|
</td>
|
2016-05-12 18:43:01 +00:00
|
|
|
|
[% SWITCH product.subtype %]
|
|
|
|
|
[% CASE "coverage" %]
|
|
|
|
|
<td>Code coverage</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="[% uri %]">
|
|
|
|
|
Analysis report
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
[% CASE DEFAULT %]
|
|
|
|
|
<td>Report</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="[% uri %]">
|
|
|
|
|
<tt>[% product.subtype %]</tt>
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
[% END %]
|
|
|
|
|
<td></td>
|
2010-02-24 15:06:20 +00:00
|
|
|
|
</tr>
|
2008-11-27 18:27:19 +00:00
|
|
|
|
|
2009-05-07 13:15:10 +00:00
|
|
|
|
[% CASE ["doc", "doc-pdf"] %]
|
2008-11-27 18:27:19 +00:00
|
|
|
|
|
2010-02-24 15:06:20 +00:00
|
|
|
|
<tr class="product">
|
|
|
|
|
<td>
|
2009-05-07 13:15:10 +00:00
|
|
|
|
[% IF product.type == "doc-pdf" %]
|
2013-09-25 10:34:13 +00:00
|
|
|
|
<img src="[% c.uri_for("/static/images/pdf.png") %]" alt="PDF document" />
|
2009-05-07 13:15:10 +00:00
|
|
|
|
[% ELSE %]
|
2013-09-25 10:34:13 +00:00
|
|
|
|
<img src="[% c.uri_for("/static/images/document.png") %]" alt="Document" />
|
2009-05-07 13:15:10 +00:00
|
|
|
|
[% END %]
|
2016-05-12 18:43:01 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
Documentation
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="[% uri %]">
|
2008-11-27 18:27:19 +00:00
|
|
|
|
[% SWITCH product.subtype %]
|
|
|
|
|
[% CASE "readme" %]
|
2009-11-04 17:16:14 +00:00
|
|
|
|
Read Me!
|
2008-11-27 18:27:19 +00:00
|
|
|
|
[% CASE "manual" %]
|
|
|
|
|
Manual
|
2008-11-29 00:56:40 +00:00
|
|
|
|
[% CASE "release-notes" %]
|
|
|
|
|
Release notes
|
2008-11-27 18:27:19 +00:00
|
|
|
|
[% CASE DEFAULT %]
|
2016-05-12 18:43:01 +00:00
|
|
|
|
[% product.subtype %]
|
2008-11-27 18:27:19 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
</a>
|
2016-05-12 18:43:01 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
[% WRAPPER makePopover title="Details" classes="btn-mini" %]
|
|
|
|
|
<table class="info-table">
|
|
|
|
|
[% INCLUDE renderProductLinks %]
|
|
|
|
|
</table>
|
|
|
|
|
[% END %]
|
2010-02-24 15:06:20 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2008-11-27 18:27:19 +00:00
|
|
|
|
|
|
|
|
|
[% CASE DEFAULT %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2010-02-24 15:06:20 +00:00
|
|
|
|
<tr class="product">
|
|
|
|
|
<td>
|
2016-05-12 18:43:01 +00:00
|
|
|
|
<tt>[% product.type %]</tt>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
[% product %]
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
2010-02-24 15:06:20 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2008-11-27 18:27:19 +00:00
|
|
|
|
|
|
|
|
|
[% END %]
|
2009-02-23 13:23:55 +00:00
|
|
|
|
|
2013-02-14 15:51:42 +00:00
|
|
|
|
[% END %]
|
2008-11-27 18:27:19 +00:00
|
|
|
|
|
2010-02-24 15:06:20 +00:00
|
|
|
|
</table>
|
2008-11-27 18:27:19 +00:00
|
|
|
|
|
|
|
|
|
[% END %]
|