29d04314b45871c264d253d3676846dac015b4f2
[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     <DT>version 0.1</DT>
29     <DD>Bugfix: don't reject header values containing a ':'.</DD>
30   </DL></DD>
31
32   <DT>plugin:commit</DT>
33   <DD><DL>
34     <DT>\ref plugin-commit </DT>
35     <DT>version 0</DT>
36     <DD>Basic plugin indicating start and end of commit.</DD>
37     <DT>version 1</DT>
38     <DD>Added COMMITBEGIN/COMMITEND.</DD>
39   </DL></DD>
40
41   <DT>plugin:services</DT>
42   <DD><DL>
43     <DT>\ref plugin-services </DT>
44     <DT>version 0</DT>
45     <DD>Provide a client a list of repositories.</DD>
46     <DT>version 1</DT>
47     <DD>Support multiple repo baseurls in plugin services.</DD>
48   </DL></DD>
49
50   <DT>plugin:system</DT>
51   <DD><DL>
52     <DT>\ref plugin-system </DT>
53     <DT>version 0</DT>
54     <DD>Plugin executed when system content change is detected (by now SUSE Manager/spacewalk only).</DD>
55     <DT>version 1</DT>
56     <DD>Plugin executed when system content change is detected (all installed plugins).</DD>
57   </DL></DD>
58
59   <DT>plugin:urlresolver</DT>
60   <DD><DL>
61     <DT>\ref plugin-url-resolver </DT>
62     <DT>version 0</DT>
63     <DD>Convert urls of scheme "plugin" into a supported scheme. </DD>
64   </DL></DD>
65
66   <DT>repovarexpand</DT>
67   <DD><DL>
68     <DT>\ref zypp-repovars </DT>
69     <DT>version 0</DT>
70     <DD>Also support braced variables, shell like default and alternate values.</DD>
71   </DL></DD>
72 </DL>
73
74 */