ACC SHELL
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>
OneClickInstallStandard.pm</title>
<style type="text/css">body { background-color: #c8c8c8 }
h1 { color: #e00000 }
table { width: 100%/ border: none }
img { border: 0px }
.sigbox { background-color: #ffc080; border: solid thin #f96500 }
.sig { font: larger monospace }
.padtbl { background-color: #ffc080; padding: 10px; margin: 10px }
/* arrow */
.a { color: #606060 }
/* type, parameter */
.t, .p { color: #c05000 }
.pbox { width: 20% }
.descbox { }
.right { align: right }
.header {}
.footer { clear: both}
.menu { width: 10%; float: left }
.main { width: 90%; float: left }
</style>
</head>
<body>
<div class="header">
<i>YaST2 Developers Documentation:</i>
<a href="index.html">
<b>
OneClickInstallStandard.pm</b>
</a>
<img class="right" alt="" src="/usr/share/doc/packages/yast2-devtools/images/yast2-mini.png" />
<hr />
</div>
<div class="menu">
<img alt="YaST" src="/usr/share/doc/packages/yast2-devtools/images/yast2-half.png" />
<br />
<br />
<a href="index.html">functions</a>
<br />
<a href="files.html">files</a>
<br />
<a href="intro.html">intro</a>
</div>
<div class="main">
<div class="sigbox">
<table class="padtbl">
<tr>
<td>
<h1>
OneClickInstallStandard.pm</h1>
</td>
</tr>
<tr>
<td>Module for parsing One Click Install Standard
http://en.opensuse.org/Standards/One_Click_Install</td>
</tr>
<tr>
<td>
<ul>
<li>Lukas Ocilka <locilka@suse.cz></li>
</ul>
</td>
</tr>
<tr>
<td>
<p>This module has an unstable interface.</p>
</td>
</tr>
</table>
<table class="padtbl">
<tr>
<td>
<h1>Imports</h1>
<ul>
<li>FileUtils</li>
</ul>
<h1>Structures</h1>
<ul>
<li>
<a href="#$[">$[</a>
</li>
</ul>
<h1>Global Functions</h1>
<ul>
<li>
<a href="#GetRepositoriesFromXML">GetRepositoriesFromXML (string filename)</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<p />
<div class="sigbox">
<span class="sig" id="GetRepositoriesFromXML">global
<b>GetRepositoriesFromXML (string filename)
<span class="a"> -> </span>
<span class="t">list <map <string, any> ></span>
</b>
</span>
</div>
<p>
Converts XML file to a list of maps with all repositories described in the XML content.</p>
<p>Structure
<b>
<a id="$[">$[</a>
</b>
</p>
<pre>
"distversion" : "openSUSE Factory",
"url" : "full url of the repository (http://.../)",
"format" : "yast",
"recommended" : true,
"description" : "repository description",
"localized_description" : $[
"en_GB" : "repository description (localized to en_GB)",
...
],
"summary" : "repository summary",
"localized_summary" : $[
"en_GB" : "repository summary (localized to en_GB)",
...
],
"name" : "repository name",
"localized_name" : $[
"en_GB" : "repository name (localized to en_GB)",
...
],
]</pre>
<dl>
<dt>
<b>Parameters:</b>
</dt>
<dd>
<table>
<tr>
<td class="pbox">
<span class="p">filename</span>
</td>
<td class="descbox"></td>
</tr>
</table>
</dd>
</dl>
<dl>
<dt>
<b>Return value:</b>
</dt>
<dd>
<table>
<tr>
<td class="pbox">
<span class="t" />
</td>
<td class="descbox"><map, <string, any> >
</td>
</tr>
</table>
</dd>
</dl>
</div>
<div class="footer">
<hr />
<i>YaST2 Developers Documentation</i>
<img class="right" alt="" src="/usr/share/doc/packages/yast2-devtools/images/yast2-mini.png" />
</div>
</body>
</html>
ACC SHELL 2018