Imported Upstream version 16.3.2
[platform/upstream/libzypp.git] / doc / autoinclude / FeatureTest.doc
1 /**
2
3 \page feature-test Testing for provided features.
4
5 \author Michael Andres <ma@suse.de>
6
7 <HR><!-- ====================================================================== -->
8 \section intro Introduction
9
10 The libzypp rpm package will indicate the presence of certain features by using special \c Provides:
11
12 \verbatim
13   # Provides:     libzypp(FEATURE) = FEATURE_VERSION
14   Provides:       libzypp(code10) = 0
15 \endverbatim
16
17 Packages requiring a feature may use the corresponding \c Requires: in their .spec file.
18
19
20 <HR><!-- ====================================================================== -->
21 \section features Features
22 <DL>
23
24   <DT>plugin</DT>
25   <DD><DL>
26     <DT>version 0</DT>
27     <DD>General ability to provide and handle plugins.</DD>
28   </DL></DD>
29
30   <DT>plugin:commit</DT>
31   <DD><DL>
32     <DT>\ref plugin-commit </DT>
33     <DT>version 0</DT>
34     <DD>Basic plugin indicating start and end of commit.</DD>
35     <DT>version 1</DT>
36     <DD>Added COMMITBEGIN/COMMITEND.</DD>
37   </DL></DD>
38
39   <DT>plugin:services</DT>
40   <DD><DL>
41     <DT>\ref plugin-services </DT>
42     <DT>version 0</DT>
43     <DD>Provide a client a list of repositories.</DD>
44     <DT>version 1</DT>
45     <DD>Support multiple repo baseurls in plugin services.</DD>
46   </DL></DD>
47
48   <DT>plugin:system</DT>
49   <DD><DL>
50     <DT>\ref plugin-system </DT>
51     <DT>version 0</DT>
52     <DD>Plugin executed when system content change is detected (by now SUSE Manager/spacewalk only).</DD>
53     <DT>version 1</DT>
54     <DD>Plugin executed when system content change is detected (all installed plugins).</DD>
55   </DL></DD>
56
57   <DT>plugin:urlresolver</DT>
58   <DD><DL>
59     <DT>\ref plugin-url-resolver </DT>
60     <DT>version 0</DT>
61     <DD>Convert urls of scheme "plugin" into a supported scheme. </DD>
62   </DL></DD>
63
64   <DT>repovarexpand</DT>
65   <DD><DL>
66     <DT>\ref zypp-repovars </DT>
67     <DT>version 0</DT>
68     <DD>Also support braced variables, shell like default and alternate values.</DD>
69   </DL></DD>
70 </DL>
71
72 */