This file is indexed.

/usr/share/koji-web/scripts/archivelist.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
#from kojiweb import util

#include "includes/header.chtml"

  #if $type == 'component'
  <h4>Component Archives of buildroot <a href="buildrootinfo?buildrootID=$buildroot.id">$buildroot.tag_name-$buildroot.id-$buildroot.repo_id</a></h4>
  #else
  <h4>Archives built in buildroot <a href="buildrootinfo?buildrootID=$buildroot.id">$buildroot.tag_name-$buildroot.id-$buildroot.repo_id</a></h4>
  #end if

  <table class="data-list">
    <tr>
      <td class="paginate" colspan="#if $type == 'component' then '3' else '2'#">
        #if $len($archivePages) > 1
        <form class="pageJump">
          Page:
          <select onchange="javascript: window.location = 'archivelist?buildrootID=$buildroot.id&start=' + this.value * $archiveRange + '$util.passthrough($self, 'order', 'type')';">
            #for $pageNum in $archivePages
            <option value="$pageNum"#if $pageNum == $archiveCurrentPage then ' selected' else ''#>#echo $pageNum + 1#</option>
            #end for
          </select>
        </form>
        #end if
        #if $archiveStart > 0
        <a href="archivelist?buildrootID=$buildroot.id&start=#echo $archiveStart - $archiveRange #$util.passthrough($self, 'order', 'type')">&lt;&lt;&lt;</a>
        #end if
        #if $totalArchives != 0
        <strong>Archives #echo $archiveStart + 1 # through #echo $archiveStart + $archiveCount # of $totalArchives</strong>
        #end if
        #if $archiveStart + $archiveCount < $totalArchives
        <a href="archivelist?buildrootID=$buildroot.id&start=#echo $archiveStart + $archiveRange#$util.passthrough($self, 'order', 'type')">&gt;&gt;&gt;</a>
        #end if
      </td>
    </tr>
    <tr class="list-header">
      <th><a href="archivelist?buildrootID=$buildroot.id&order=$util.toggleOrder($self, 'filename')$util.passthrough($self, 'type')">Filename</a> $util.sortImage($self, 'filename')</th>
      <th><a href="archivelist?buildrootID=$buildroot.id&order=$util.toggleOrder($self, 'type_name')$util.passthrough($self, 'type')">Type</a> $util.sortImage($self, 'type_name')</th>
      #if $type == 'component'
      <th><a href="archivelist?buildrootID=$buildroot.id&order=$util.toggleOrder($self, 'project')$util.passthrough($self, 'type')">Build Dependency?</a> $util.sortImage($self, 'project')</th>
      #end if
    </tr>
    #if $len($archives) > 0
    #for $archive in $archives
    <tr class="$util.rowToggle($self)">
      <td><a href="archiveinfo?archiveID=$archive.id">$archive.filename</a></td>
      <td>$archive.type_name</td>
      #if $type == 'component'
      #set $project = $archive.project and 'yes' or 'no'
      <td class="$project">$util.imageTag($project)</td>
      #end if
    </tr>
    #end for
    #else
    <tr class="row-odd">
      <td colspan="#if $type == 'component' then '3' else '2'#">No Archives</td>
    </tr>
    #end if
    <tr>
      <td class="paginate" colspan="#if $type == 'component' then '3' else '2'#">
        #if $len($archivePages) > 1
        <form class="pageJump">
          Page:
          <select onchange="javascript: window.location = 'archivelist?buildrootID=$buildroot.id&start=' + this.value * $archiveRange + '$util.passthrough($self, 'order', 'type')';">
            #for $pageNum in $archivePages
            <option value="$pageNum"#if $pageNum == $archiveCurrentPage then ' selected' else ''#>#echo $pageNum + 1#</option>
            #end for
          </select>
        </form>
        #end if
        #if $archiveStart > 0
        <a href="archivelist?buildrootID=$buildroot.id&start=#echo $archiveStart - $archiveRange #$util.passthrough($self, 'order', 'type')">&lt;&lt;&lt;</a>
        #end if
        #if $totalArchives != 0
        <strong>Archives #echo $archiveStart + 1 # through #echo $archiveStart + $archiveCount # of $totalArchives</strong>
        #end if
        #if $archiveStart + $archiveCount < $totalArchives
        <a href="archivelist?buildrootID=$buildroot.id&start=#echo $archiveStart + $archiveRange#$util.passthrough($self, 'order', 'type')">&gt;&gt;&gt;</a>
        #end if
      </td>
    </tr>
  </table>

#include "includes/footer.chtml"