#import koji
#from kojiweb import util
#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
| 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 | $builtInRoot.tag_name-$builtInRoot.id-$builtInRoot.repo_id |
#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
| $buildroot.tag_name-$buildroot.id-$buildroot.repo_id |
$util.formatTime($buildroot.create_event_time) |
$util.imageTag($util.brStateName($buildroot.state)) |
#end for
#else
No buildroots
#end if
|
#if 'rootid' in $archive and $archive.rootid
| Installed RPMs |
#end if
#include "includes/footer.chtml"