cvs: peardoc /en/guide/users commandline.xml /en/guide/users/commandline cvsinstall.xml installing.xml manualinstallation.xml pecl.xml
| From: | Christian Weiske | Date: | Fri, 04 Apr 2008 16:33:14 +0000 |
| Subject: | cvs: peardoc /en/guide/users commandline.xml /en/guide/users/commandline cvsinstall.xml installing.xml manualinstallation.xml pecl.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10617@lists.php.net to get a copy of this message | ||
cweiske Fri Apr 4 16:33:14 2008 UTC
Removed files:
/peardoc/en/guide/users/commandline cvsinstall.xml
manualinstallation.xml pecl.xml
Modified files:
/peardoc/en/guide/users commandline.xml
/peardoc/en/guide/users/commandline installing.xml
Log:
Remove cvsinstall, manual installation and pecl installation from
user guide toc, into installation section
http://cvs.php.net/viewvc.cgi/peardoc/en/guide/users/commandline.xml?r1=1.4&r2=1.5&diff_format=u
Index: peardoc/en/guide/users/commandline.xml
diff -u peardoc/en/guide/users/commandline.xml:1.4 peardoc/en/guide/users/commandline.xml:1.5
--- peardoc/en/guide/users/commandline.xml:1.4 Fri Apr 4 09:05:46 2008
+++ peardoc/en/guide/users/commandline.xml Fri Apr 4 16:33:14 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<chapter id="guide.users.commandline.cli">
<title>Command line installer</title>
@@ -21,8 +21,5 @@
&guide.users.commandline.packageinfo;
&guide.users.commandline.channels;
&guide.users.commandline.commands;
- &guide.users.commandline.manualinstallation;
- &guide.users.commandline.cvsinstall;
- &guide.users.commandline.pecl;
</chapter>
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/peardoc/en/guide/users/commandline/installing.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/guide/users/commandline/installing.xml
diff -u peardoc/en/guide/users/commandline/installing.xml:1.1
peardoc/en/guide/users/commandline/installing.xml:1.2
--- peardoc/en/guide/users/commandline/installing.xml:1.1 Fri Apr 4 09:05:46 2008
+++ peardoc/en/guide/users/commandline/installing.xml Fri Apr 4 16:33:14 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="guide.users.commandline.installing">
<title>Installing packages</title>
@@ -194,4 +194,115 @@
<screen>$ pear install Foo-1.2.3.tgz</screen>
</sect2>
+
+
+ <sect2 id="guide.users.commandline.installing.manual">
+ <title>Manual package installation</title>
+
+ <warning>
+ <para>We removed this section, because, today, manually installing a
+ package requires a deeper understanding of the way how packages are
+ organized and what happens during the installation process. You should
+ read the section about the <filename>package.xml</filename> in the
+ Developers Guide (<xref linkend="developers.packagedef" /> and <xref
+ linkend="guide.developers.package2" />), if you really want install a
+ package without the PEAR installer.</para>
+
+ <para>If you want to install PEAR on a remote host without shell access,
+ you should look into <xref linkend="installation.shared" />.</para>
+ </warning>
+ </sect2>
+
+
+ <sect2 id="guide.users.commandline.installing.cvs">
+ <title>Installing packages from CVS</title>
+
+ <para>This passage will describe how to install the latest development
+ version of a PEAR package from CVS.</para>
+
+ <para>It is NOT recommended to run a package from CVS in working
+ environments! Because CVS versions are not regular releases, this means:
+ <itemizedlist>
+ <listitem>
+ <simpara>You could get no kind of help from the maintainer or
+ anybody other.</simpara>
+ </listitem>
+
+ <listitem>
+ <simpara>Versions in CVS may break the upgrade mechanism of the PEAR
+ Installer.</simpara>
+ </listitem>
+ </itemizedlist></para>
+
+ <para>You should use a package from CVS only, if: <itemizedlist>
+ <listitem>
+ <simpara>The maintainer recommended it for you.</simpara>
+ </listitem>
+
+ <listitem>
+ <simpara>You want to help in development of a package.</simpara>
+ </listitem>
+
+ <listitem>
+ <simpara>You really need a special patch or function, which is not
+ currently released.</simpara>
+ </listitem>
+ </itemizedlist></para>
+
+ <para>If you still want to install a package from CVS, you have to do the
+ same steps like a package maintainer creating a new release of a package.
+ If you have problems following the next steps, take a look into the <link
+ linkend="guide-developers">Developers Section</link> of the
manual.</para>
+
+ <orderedlist>
+ <listitem>
+ <para>Get the package files from CVS like described in <ulink
+ url="&url.php.anoncvs;">&url.php.anoncvs;</ulink></para>
+
+ <para>The name of the module to checkout is
+ <filename>pear/<packagename></filename>, i.e. <command> cvs
-d
+ :pserver:cvsread@cvs.php.net:/repository checkout
+ pear/HTTP_Client</command>.</para>
+ </listitem>
+
+ <listitem>
+ <para>Check the <filename>package.xml</filename> file, especially the
+ dir and file entries. They must match the existing files and directory
+ structure. If they differ, contact the package maintainer and ask for
+ an update of the <filename>package.xml</filename>.</para>
+ </listitem>
+
+ <listitem>
+ <para>Create a valid package using the PEAR Installer <command>pear
+ package <path to package.xml></command></para>
+ </listitem>
+
+ <listitem>
+ <para>If you have already installed the package: remove it to avoid
+ version conflicts: <command>pear uninstall
+ <package></command></para>
+ </listitem>
+
+ <listitem>
+ <para>Install your package archive: <command>pear install
+ <package-file></command></para>
+
+ <para>Now, you have a CVS version installed!</para>
+ </listitem>
+ </orderedlist>
+
+ <para>You should upgrade to an official release of the package as early as
+ possible. Before you install the official release, uninstall the CVS
+ version to avoid version conflicts.</para>
+ </sect2>
+
+
+ <sect2 id="guide.users.commandline.installing.pecl">
+ <title>Installing PECL packages</title>
+
+ <para>The procedure of installing PECL packages is described in the <ulink
+ url="&url.php.manual.peclinstall;">pecl manual
+ section</ulink> on the PHP website.</para>
+ </sect2>
+
</sect1>