aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-22 20:09:39 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-22 20:09:39 +0000
commit5b3f3a535f3e218c4882385b8d09d341ecd8f260 (patch)
treeef22d9ad44e10cb2195d365f8fc64062cd9a2ddf
parent35c6e1d677bf193186e9d7f570c64ada5df6fcf2 (diff)
downloadpaludis-5b3f3a535f3e218c4882385b8d09d341ecd8f260.tar.gz
paludis-5b3f3a535f3e218c4882385b8d09d341ecd8f260.tar.xz
Examples
-rw-r--r--doc/configuration/keywords.html.part.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/configuration/keywords.html.part.in b/doc/configuration/keywords.html.part.in
index 91f4db5..0cfedac 100644
--- a/doc/configuration/keywords.html.part.in
+++ b/doc/configuration/keywords.html.part.in
@@ -33,3 +33,36 @@ any of:</p>
<p>Accepted keywords are usually cumulative, so if you have a <code>*/* arch ~arch</code> line, you will need to use
<code>cat/pkg -* arch</code> if you only wish to accept <code>arch</code> for a particular package.</p>
+<h2>Examples</h2>
+
+<p>For a system which is mostly stable:</p>
+
+<pre>
+# By default, only accept 'x86' packages
+*/* x86
+
+# For the repository named 'paludis-overlay', accept unstable too
+*/*::paludis-overlay x86 ~x86
+
+# For these packages, accept unstable too
+app-admin/eselect ~x86
+app-doc/doxygen ~x86
+
+# For packages in the 'kde' set, accept unstable
+kde ~x86
+
+# Accept gcc 4.3 from the toolchain overlay, even if it is unkeyworded
+sys-devel/gcc:4.3::toolchain *
+</pre>
+
+<p>For a system which is mostly unstable:</p>
+
+<pre>
+# By default, accept stable and unstable
+*/* amd64 ~amd64
+
+# For these packages, accept stable only
+sys-devel/gcc -* amd64
+sys-libs/glibc -* amd64
+</pre>
+