#from kojiweb import util #import pprint #include "includes/header.chtml"

Information for tag $tag.name

#if $child and 'admin' in $perms #end if #if $mavenEnabled #end if #if $maxDepth >= $TRUNC_DEPTH #end if #if 'admin' in $perms #end if #if $external_repos #end if #if 'admin' in $perms #end if #if $tag.get('extra') #for $key in $tag['extra'] #end for #end if
Add $tag.name as parent of $child.name
Name$tag.name
ID$tag.id
Arches$tag.arches
Locked#if $tag.locked then 'yes' else 'no'#
Permission#if $tag.perm_id then $allPerms[$tag.perm_id] else 'none'#
Maven Support?#if $tag.maven_support then 'yes' else 'no'#
Include All Maven Builds?#if $tag.maven_include_all then 'yes' else 'no'#
Inheritance $tag.name #set $numParents = $len($inheritance) #set $iter = 0 #set $maxDepth = 0 #set $TRUNC_DEPTH = 7
    #for $parent in $inheritance #set $iter += 1 #set $nextDepth = ($iter < $numParents and $inheritance[$iter].currdepth or 1) #set $depth = $parent.currdepth #if $depth > $maxDepth #set $maxDepth = $depth #end if #if $depth == $TRUNC_DEPTH and not $all
  • ...
  • #else
  • #end if #silent $tagsByChild[$parent.child_id].pop() $parent.name #if $depth == 1 and 'admin' in $perms (edit) (remove) #end if #if $nextDepth > $depth
      #else #end if #while $nextDepth < $depth
  • #set $depth -= 1 #end while #end for
#if $all Show abbreviated tree #else Show full tree #end if
Add parent
External repos #for $external_repo in $external_repos $external_repo.external_repo_name #if $external_repo.tag_id != $tag.id (inherited from $external_repo.tag_name) #end if
#end for
Repo created#if $repo then $util.formatTimeRSS($repo.creation_time) else ''#
Packages $numPackages
Builds $numBuilds
Targets building from this tag #if $len($srcTargets) #for $target in $srcTargets $target.name
#end for #else No build targets #end if
Targets building to this tag #if $len($destTargets) #for $target in $destTargets $target.name
#end for #else No build targets #end if
Edit tag
Delete tag
Extra options:
$key $pprint.pformat($tag['extra'][$key])
#include "includes/footer.chtml"