svn: /pear/peardoc/trunk/en/guide/users/ dependencytracking.xml

[email protected] (Ken Guest)
Newsgroups php.pear.doc
Message-ID <[email protected]>
kguest                                   Fri, 04 Sep 2009 00:12:36 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=288023

Log:
fleshed out section on testing/installing the meta package

Changed paths:
    U   pear/peardoc/trunk/en/guide/users/dependencytracking.xml

Modified: pear/peardoc/trunk/en/guide/users/dependencytracking.xml
===================================================================
--- pear/peardoc/trunk/en/guide/users/dependencytracking.xml	2009-09-03 23:46:56 UTC (rev 288022)
+++ pear/peardoc/trunk/en/guide/users/dependencytracking.xml	2009-09-04 00:12:36 UTC (rev 288023)
@@ -265,7 +265,31 @@
  <section xml:id="guide.users.dependencytracking.testinstall">
   <title>Testing that the package works - install it</title>
   <para>
-   foo bar
+    The best way to test that your meta package works is to uninstall at least
+    one of the packages that is a dependency of it, then [re]install your meta
+    package.
   </para>
+
+  <para>
+   <screen><![CDATA[
+    $ pear uninstall PHP_CodeSniffer
+    $ pear install -f package.xml
+]]></screen>
+  </para>
+
+
+  <para>
+    Installing the meta package here should result in the dependency,
+    PHP_CodeSniffer, being installed also.
+  </para>
+  <para>
+   Check this using pear list.
+  </para>
+  <para>
+   <screen><![CDATA[
+    $ pear list
+]]></screen>
+  </para>
+
  </section>
 </chapter>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.