This file is indexed.

/usr/share/koji-web/scripts/buildinfo.chtml is in koji-servers 1.10.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
#import koji
#import koji.util
#from kojiweb import util

#include "includes/header.chtml"
#set $nvrpath = $pathinfo.build($build)

  <h4>Information for build <a href="buildinfo?buildID=$build.id">$koji.buildLabel($build)</a></h4>

  <table>
    <tr>
      <th>ID</th><td>$build.id</td>
    </tr>
    <tr>
      <th>Package Name</th><td><a href="packageinfo?packageID=$build.package_id">$build.package_name</a></td>
    </tr>
    <tr>
      <th>Version</th><td>$build.version</td>
    </tr>
    <tr>
      <th>Release</th><td>$build.release</td>
    </tr>
    <tr>
      <th>Epoch</th><td>$build.epoch</td>
    </tr>
    #if $mavenbuild
    <tr>
      <th>Maven&nbsp;groupId</th><td>$mavenbuild.group_id</td>
    </tr>
    <tr>
      <th>Maven&nbsp;artifactId</th><td>$mavenbuild.artifact_id</td>
    </tr>
    <tr>
      <th>Maven&nbsp;version</th><td>$mavenbuild.version</td>
    </tr>
    #end if
    #if $summary
    <tr>
      <th>Summary</th><td class="rpmheader">$util.escapeHTML($summary)</td>
    </tr>
    #end if
    #if $description
    <tr>
      <th>Description</th><td class="rpmheader">$util.escapeHTML($description)</td>
    </tr>
    #end if
    <tr>
      <th>Built by</th><td class="user-$build.owner_name"><a href="userinfo?userID=$build.owner_id">$build.owner_name</a></td>
    </tr>
    <tr>
      #set $stateName = $util.stateName($build.state)
      <th>State</th>
      <td class="$stateName">$stateName
      #if $build.state == $koji.BUILD_STATES.BUILDING
      #if $currentUser and ('admin' in $perms or $build.owner_id == $currentUser.id)
      <span class="adminLink">(<a href="cancelbuild?buildID=$build.id$util.authToken($self)">cancel</a>)</span>
      #end if
      #end if
      </td>
    </tr>
    <tr>
      <th>Started</th><td>$util.formatTimeLong($start_time)</td>
    </tr>
    #if $build.state == $koji.BUILD_STATES.BUILDING
    #if $estCompletion
    <tr>
      <th>Est. Completion</th><td>$util.formatTimeLong($estCompletion)</td>
    </tr>
    #end if
    #else
    <tr>
      <th>Completed</th><td>$util.formatTimeLong($build.completion_time)</td>
    </tr>
    #end if
    #if $task
    <tr>
      <th>Task</th><td><a href="taskinfo?taskID=$task.id" class="task$util.taskState($task.state)">$koji.taskLabel($task)</a></td>
    </tr>
    #end if
    <tr>
      <th>Tags</th>
      <td class="container">
        #if $len($tags) > 0
        <table class="nested">
          #for $tag in $tags
          <tr>
            <td><a href="taginfo?tagID=$tag.id">$tag.name</a></td>
          </tr>
          #end for
        </table>
        #else
        No tags
        #end if
      </td>
    </tr>
    <tr>
      <th>RPMs</th>
      <td class="container">
        #if $len($rpmsByArch) > 0
        <table class="nested">
          #if $rpmsByArch.has_key('src')
          <tr><th>src</th><th></th></tr>
          #for $rpm in $rpmsByArch['src']
          #set $rpmfile = '%(name)s-%(version)s-%(release)s.%(arch)s.rpm' % $rpm
          #set $rpmpath = $pathinfo.rpm($rpm)
          <tr>
            <td></td>
            <td>$rpmfile (<a href="rpminfo?rpmID=$rpm.id">info</a>) (<a href="$nvrpath/$rpmpath">download</a>)</td>
          </tr>
          #end for
          #end if
          #set $arches = $rpmsByArch.keys()
          #silent $arches.sort()
          #for $arch in $arches
          #if $arch == 'src'
          #silent continue
          #end if
          <tr>
            <th>$arch</th>
            <td>
              #if $task
              #if $arch == 'noarch'
              (<a href="$nvrpath/data/logs/$noarch_log_dest/">build logs</a>)
              #else
              (<a href="$nvrpath/data/logs/$arch/">build logs</a>)
              #end if
              #end if
            </td>
          </tr>
          #for $rpm in $rpmsByArch[$arch] + $debuginfoByArch.get($arch, [])
          <tr>
            #set $rpmfile = '%(name)s-%(version)s-%(release)s.%(arch)s.rpm' % $rpm
            #set $rpmpath = $pathinfo.rpm($rpm)
            <td></td>
            <td>
              $rpmfile (<a href="rpminfo?rpmID=$rpm.id">info</a>) (<a href="$nvrpath/$rpmpath">download</a>)
            </td>
          </tr>
          #end for
          #end for
        </table>
        #else
        No RPMs
        #end if
      </td>
    </tr>
    #if $archives
    <tr>
      <th>Archives</th>
      <td class="container">
	<table class="nested">
	  #set $exts = $archivesByExt.keys()
	  #for ext in $exts
	  <tr>
	    <th>$ext</th>
	    <td>
          #if $task and $ext == $exts[0]
	        #if $mavenbuild
                (<a href="$nvrpath/data/logs/maven/">build logs</a>)
            #elif $winbuild
                (<a href="$nvrpath/data/logs/win/">build logs</a>)
            #elif $imagebuild
                (<a href="$nvrpath/data/logs/image">build logs</a>)
	        #end if
          #end if
	    </td>
	  </tr>
	  #for $archive in $archivesByExt[$ext]
	  <tr>
	    <td/>
	    <td>
            #if $mavenbuild
            $archive.filename (<a href="archiveinfo?archiveID=$archive.id">info</a>) (<a href="$pathinfo.mavenbuild($build)/$pathinfo.mavenfile($archive)">download</a>)
            #elif $winbuild
            $pathinfo.winfile($archive) (<a href="archiveinfo?archiveID=$archive.id">info</a>) (<a href="$pathinfo.winbuild($build)/$pathinfo.winfile($archive)">download</a>)
            #elif $imagebuild
            $archive.filename (<a href="archiveinfo?archiveID=$archive.id">info</a>) (<a href="$pathinfo.imagebuild($build)/$archive.filename">download</a>)
            #end if
	    </td>
	  </tr>
	  #end for
	  #end for
	</table>
      </td>
    </tr>
    #end if
    #if $changelog
    <tr>
      <th>Changelog</th>
      <td class="changelog">$util.escapeHTML($koji.util.formatChangelog($changelog))</td>
    </tr>
    #end if
  </table>

#include "includes/footer.chtml"