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> Client for searching for and adding SLP repositories.</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> Client for searching for and adding SLP repositories.</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">
<h3>Introduction:</h3><!-- ./../../src/clients/inst_productsources.ycp -->
This is a stand-alone YaST client that allows you to add suggested
repositories (repositories) to the libzypp.
How it works:
- First a list of servers/links is extracted from the YaST control file
(/etc/YaST2/control.xml)
- Then servers/links are asked one by one to provide the suggested sources
Format of the initial list of servers:
<?xml version="1.0"?>
<productDefines xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<servers config:type="list">
<item>
<link>http://some.server/some_link.xml</link>
<official config:type="boolean">true</official>
<installation_repo config:type="boolean">true</installation_repo>
</item>
<item>
<link>ftp://some.other.server/some_link.xml</link>
<official config:type="boolean">false</official>
</item>
</servers>
</productDefines>
Only installation_repo=true (trusted) links are used during installation.
See Bugzilla #293811.
Format of Suggested sources:
<?xml version="1.0"?>
<metapackage xmlns:os="http://opensuse.org/Standards/One_Click_Install" xmlns="http://opensuse.org/Standards/One_Click_Install">
<group distversion="openSUSE Factory">
<repositories>
<repository recommended="true" format="yast">
<name>Some name</name>
<name lang="en_GB">Some name</name>
<summary>Summary...</summary>
<summary lang="en_GB">Summary...</summary>
<description>Description...</description>
<url>http://some.server/some.dir/10.3/</url>
</repository>
<repository recommended="false" format="yast">
<name>Another name</name>
<summary>Summary...</summary>
<description>Description...</description>
<url>http://another.server/another.dir/10.3/</url>
</repository>
</repositories>
</group>
</metapackage>
</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