#import koji
#from kojiweb import util
#from pprint import pformat
#import urllib
#attr _PASSTHROUGH = ['archiveID', 'fileOrder', 'fileStart', 'buildrootOrder', 'buildrootStart']
#include "includes/header.chtml"
ID | $archive.id |
#if $wininfo
File Name | $koji.pathinfo.winfile($archive) |
#else
File Name | $archive.filename |
#end if
#if $archive.metadata_only
Metadata only | True (file not imported) |
#end if
File Type | $archive_type.description |
Build | $koji.buildLabel($build) |
#if $maveninfo
Maven groupId | $archive.group_id |
Maven artifactId | $archive.artifact_id |
Maven version | $archive.version |
#end if
Size | $archive.size |
Checksum | $archive.checksum |
#if $wininfo
Platforms | $archive.platforms |
Flags | $archive.flags |
#end if
#if $builtInRoot
Buildroot | $util.brLabel($builtInRoot) |
#end if
#if $archive.get('extra')
Extra | $util.escapeHTML($pformat($archive.extra)) |
#end if
#if $files
Files |
#if $len($filePages) > 1
#end if
#if $fileStart > 0
<<<
#end if
#echo $fileStart + 1 # through #echo $fileStart + $fileCount # of $totalFiles
#if $fileStart + $fileCount < $totalFiles
>>>
#end if
|
#for $file in $files
$file.name | $file.size |
#end for
|
#end if
Component of |
#if $len($buildroots) > 0
#if $len($buildrootPages) > 1
#end if
#if $buildrootStart > 0
<<<
#end if
#echo $buildrootStart + 1 # through #echo $buildrootStart + $buildrootCount # of $totalBuildroots
#if $buildrootStart + $buildrootCount < $totalBuildroots
>>>
#end if
|
#for $buildroot in $buildroots
$util.brLabel($buildroot) |
$util.formatTime($buildroot.create_event_time) |
$util.imageTag($util.brStateName($buildroot.state)) |
#end for
#else
No buildroots
#end if
|
#if $show_rpm_components
RPM components |
#end if
#if $show_archive_components
Archive components |
#end if
#include "includes/footer.chtml"