This file is indexed.

/usr/share/obs/docs/api/patchinfo.rng is in obs-api 2.7.4-2.

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
<?xml version="1.0" encoding="UTF-8"?>
<grammar ns="http://buildservice.org/api" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">

  <include href="obs.rng" />

  <start>
    <ref name="patchinfo-element"/>
  </start>

  <define ns="" name="patchinfo-element">
    <element name="patchinfo">
      <interleave>
        <optional>
          <attribute name="incident">
            <data type="string"/>
          </attribute>
        </optional>
        <optional>
          <attribute name="version">
            <data type="string"/>
          </attribute>
        </optional>

        <zeroOrMore>
          <element name="releasetarget">
            <attribute name="project">
              <data type="string" />
            </attribute>
            <optional>
              <attribute name="repository">
                <data type="string" />
              </attribute>
            </optional>
          </element>
        </zeroOrMore>
        <zeroOrMore>
          <element name="package">
            <text/>
          </element>
        </zeroOrMore>
        <zeroOrMore>
          <element name="binary">
            <text/>
          </element>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="issue-element"/>
        </zeroOrMore>

        <optional>
          <element name="name"> <!-- old style patch name -->
            <text/>
          </element>
        </optional>

        <element name="category"> 
          <ref name="patchinfo-categories" />
        </element>
        <element name="rating"> 
          <ref name="obs-ratings" />
        </element>
        <element name="summary"> 
          <text/>
        </element>
        <element name="description"> 
          <text/>
        </element>
        <optional>
          <element name="message"> <!-- optional pop-up message -->
            <text/>
          </element>
        </optional>
        <element name="packager"> 
          <text/>
        </element>

        <optional>
          <element name="stopped"> 
            <text/>
          </element>
        </optional>
        <optional>
          <element name="reboot_needed"> 
            <empty/>
          </element>
        </optional>
        <optional>
          <element name="relogin_needed"> 
            <empty/>
          </element>
        </optional>
        <optional>
          <element name="zypp_restart_needed"> 
            <empty/>
          </element>
        </optional>

      </interleave>
    </element>
  </define>

  <define ns="" name="issue-element">
    <element name="issue">
      <attribute name="tracker">
        <data type="string"/>
      </attribute>
      <attribute name="id">
        <data type="string"/>
      </attribute>
      <optional>
        <attribute name="documented">
          <choice>
            <value>true</value>
            <value>false</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <text/>
      </optional>
    </element>
  </define>

  <define ns="" name="patchinfo-categories">
    <choice>
      <value>security</value>
      <value>recommended</value>
      <value>optional</value>
      <value>feature</value>
    </choice>
  </define>

</grammar>