/usr/share/obs/docs/api/configuration.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 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 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | <?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="configuration-element"/>
</start>
<define ns="" name="configuration-element">
<element name="configuration">
<interleave>
<element name="title">
<!-- short description of this OBS instance showed in the webui -->
<text/>
</element>
<element name="description">
<!-- long description of this OBS instance showed in the webui on main page -->
<text/>
</element>
<optional>
<element name="anonymous">
<!-- webui (or other sites) can show the content of the OBS instance also to not logged in users. -->
<choice>
<value>on</value>
<value>off</value>
</choice>
</element>
</optional>
<optional>
<element name="change_password">
<!-- Users can change their password. This may not work with ldap or proxy_auth mechanisms. -->
<choice>
<value>on</value>
<value>off</value>
</choice>
</element>
</optional>
<optional>
<element name="disallow_group_creation">
<!-- Disallow to create groups via the api. Usefull when groups do come via LDAP -->
<choice>
<value>on</value>
<value>off</value>
</choice>
</element>
</optional>
<optional>
<element name="allow_user_to_create_home_project">
<!-- Users are allowed to create projects in their home: namespace themself -->
<choice>
<value>on</value>
<value>off</value>
</choice>
</element>
</optional>
<optional>
<element name="default_access_disabled">
<!-- New created projects have disabled access by default -->
<choice>
<value>on</value>
<value>off</value>
</choice>
</element>
</optional>
<optional>
<element name="registration">
<!-- New user can themself register (allow), needs approval after registration(confirmation) or
accounts can only be created by the admin (deny) -->
<choice>
<value>allow</value>
<value>confirmation</value>
<value>deny</value>
</choice>
</element>
</optional>
<optional>
<element name="default_tracker">
<!-- Defines the default issue tracker to be used -->
<text/>
</element>
</optional>
<optional>
<element name="download_url">
<!-- Defines the prefix of where the published repositories become accessable to the users -->
<text/>
</element>
</optional>
<optional>
<element name="obs_url">
<!-- The URL to this OBS instance as seen from outside -->
<text/>
</element>
</optional>
<optional>
<element name="http_proxy">
<!-- May be used if external hosts, like remote OBS instances, gravatar or to download from external sides -->
<text/>
</element>
</optional>
<optional>
<element name="no_proxy">
<!-- proxy filter, to be used like the environment variable with a comma seperated list.-->
<text/>
</element>
</optional>
<!-- backend stuff -->
<optional>
<element name="name">
<!-- The obs instance name as it will become of the DISTURL macro in each built rpm -->
<text/>
</element>
</optional>
<optional>
<element name="download_on_demand">
<!-- EXPERIMENTAL: allows admins to use external package repositories in project repositories -->
<choice>
<value>on</value>
<value>off</value>
</choice>
</element>
</optional>
<optional>
<element name="enforce_project_keys">
<!-- always create a signing key when a project is created and no upper project has a key. It disallows to remove the key also in that case. -->
<choice>
<value>on</value>
<value>off</value>
</choice>
</element>
</optional>
<optional>
<element name="cleanup_empty_projects">
<!-- If the last package in a project is cleaned up by sourceupdate=cleanup, delete the whole project? -->
<choice>
<value>on</value>
<value>off</value>
</choice>
</element>
</optional>
<optional>
<element name="disable_publish_for_branches">
<!-- When a user creates a new project as a side-effect of branching a package, disable publishing that project? The default is "on" to save disk space and bandwidth. -->
<choice>
<value>on</value>
<value>off</value>
</choice>
</element>
</optional>
<!-- webui only stuff -->
<optional>
<element name="ymp_url">
<!-- URL prefix for one-click installation files (software.opensuse.org) -->
<text/>
</element>
</optional>
<optional>
<element name="bugzilla_url">
<!-- Default bugzilla instance for reporting to bugowners -->
<text/>
</element>
</optional>
<optional>
<element name="admin_email">
<!-- default email adress to contact this OBS admin -->
<text/>
</element>
</optional>
<optional>
<element name="theme">
<!-- used webui theme -->
<text/>
</element>
</optional>
<optional>
<element name="cleanup_after_days">
<!-- Enables delete requests for branch projects after given number of days. -->
<text/>
</element>
</optional>
<optional>
<element name="gravatar">
<!-- Loads pictures of users from gravatar. This works via a hash of their email adress. -->
<choice>
<value>on</value>
<value>off</value>
</choice>
</element>
</optional>
<optional>
<element name="hide_private_options">
<!-- Do not show options to hide projects or packages. -->
<choice>
<value>on</value>
<value>off</value>
</choice>
</element>
</optional>
<!-- active schedulers -->
<element name="schedulers">
<zeroOrMore>
<element name="arch">
<ref name="build-arch" />
</element>
</zeroOrMore>
</element>
<empty/>
</interleave>
</element>
</define>
</grammar>
|