#from kojiweb import util #import urllib #import datetime #include "includes/header.chtml" #if $rpm

Information for file $file.name

#elif $archive

Information for file $file.name

#end if #if $rpm #end if #if 'mtime' in $file and $file.mtime #end if #if 'user' in $file and $file.user #end if #if 'group' in $file and $file.group #end if #if 'mode' in $file and $file.mode #end if #if $rpm #set $epoch = ($rpm.epoch != None and $str($rpm.epoch) + ':' or '') #elif $archive #end if
Name$file.name
Digest ($file.digest_algo)$file.digest
Size$file.size
Modification time$util.formatTimeLong($datetime.datetime.fromtimestamp($file.mtime))
User$file.user
Group$file.group
Mode$util.formatMode($file.mode)
Flags #for flag in $util.formatFileFlags($file.flags) $flag
#end for
RPM$rpm.name-$epoch$rpm.version-$rpm.release.${rpm.arch}.rpm
Archive$archive.filename
#include "includes/footer.chtml"