<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>libzypp: Testing for provided features.</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">libzypp  <span id="projectnumber">17.9.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('feature-test.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="PageDoc"><div class="header"> <div class="headertitle"> <div class="title">Testing for provided features. </div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><dl class="section author"><dt>Author</dt><dd>Michael Andres <a href="#" onclick="location.href='mai'+'lto:'+'ma@'+'su'+'se.'+'de'; return false;">ma@su<span style="display: none;">.nosp@m.</span>se.d<span style="display: none;">.nosp@m.</span>e</a></dd></dl> <hr/> <h1><a class="anchor" id="intro"></a> Introduction</h1> <p>The libzypp rpm package will indicate the presence of certain features by using special <code>Provides:</code> </p> <pre class="fragment"> # Provides: libzypp(FEATURE) = FEATURE_VERSION Provides: libzypp(code10) = 0 </pre><p>Packages requiring a feature may use the corresponding <code>Requires:</code> in their .spec file.</p> <hr/> <h1><a class="anchor" id="features"></a> Features</h1> <dl> <dt>plugin </dt> <dd><dl> <dt>version 0 </dt> <dd>General ability to provide and handle plugins. </dd> <dt>version 0.1 </dt> <dd>Bugfix: don't reject header values containing a ':'. </dd> </dl> <p class="enddd"></p> </dd> <dt>plugin:commit </dt> <dd><dl> <dt><a class="el" href="plugin-commit.html">Commit plugin</a> </dt> <dd></dd> <dt>version 0 </dt> <dd>Basic plugin indicating start and end of commit. </dd> <dt>version 1 </dt> <dd>Added COMMITBEGIN/COMMITEND. </dd> </dl> <p class="enddd"></p> </dd> <dt>plugin:services </dt> <dd><dl> <dt><a class="el" href="zypp-plugins.html#plugin-services">Service plugins</a> </dt> <dd></dd> <dt>version 0 </dt> <dd>Provide a client a list of repositories. </dd> <dt>version 1 </dt> <dd>Support multiple repo baseurls in plugin services. </dd> </dl> <p class="enddd"></p> </dd> <dt>plugin:system </dt> <dd><dl> <dt><a class="el" href="plugin-system.html">System plugin</a> </dt> <dd></dd> <dt>version 0 </dt> <dd>Plugin executed when system content change is detected (by now SUSE Manager/spacewalk only). </dd> <dt>version 1 </dt> <dd>Plugin executed when system content change is detected (all installed plugins). </dd> </dl> <p class="enddd"></p> </dd> <dt>plugin:urlresolver </dt> <dd><dl> <dt><a class="el" href="zypp-plugins.html#plugin-url-resolver">Url Resolver plugins</a> </dt> <dd></dd> <dt>version 0 </dt> <dd>Convert urls of scheme "plugin" into a supported scheme. </dd> </dl> <p class="enddd"></p> </dd> <dt>repovarexpand </dt> <dd><dl> <dt><a class="el" href="zypp-repovars.html">Repository Variables</a> </dt> <dd></dd> <dt>version 0 </dt> <dd>Also support braced variables, shell like default and alternate values. </dd> <dt>version 1 </dt> <dd>Also support user defined repo variables in /etc/zypp/vars.d. </dd> <dt>version 1.1 </dt> <dd>Support repo variables in an URIs <code>host</code> and <code>port</code> component. </dd> </dl> </dd> </dl> </div></div><!-- PageDoc --> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> </ul> </div> </body> </html>