cvs: peardoc /en/pyrus/commands package.xml /en/pyrus/configuration system.xml user.xml /en/pyrus/configuration/system bindir.xml cfgdir.xml
datadir.xml docdir.xml extdir.xml phpbin.xml phpdir.xml phpini.xml phpprefix.xml phpsuffix.xml srcdir.xml testdir.xml wwwdir.xml
/en/pyrus/configuration/user autodiscover.xml cachedir.xml cachettl.xml defaultchannel.xml downloaddir.xml handle.xml httpproxy.xml mypearpath.xml
opensslcert.xml password.xml pluginsdir.xml preferredmirror.xml preferredstate.xml tempdir.xml umask.xml username.xml verbose.xml
| From: | Greg Beaver | Date: | Sat, 27 Jun 2009 19:00:15 +0000 |
| Subject: | cvs: peardoc /en/pyrus/commands package.xml /en/pyrus/configuration system.xml user.xml /en/pyrus/configuration/system bindir.xml cfgdir.xml datadir.xml docdir.xml extdir.xml phpbin.xml phpdir.xml phpini.xml phpprefix.xml phpsuffix.xml srcdir.xml testdir.xml wwwdir.xml /en/pyrus/configuration/user autodiscover.xml cachedir.xml cachettl.xml defaultchannel.xml downloaddir.xml handle.xml httpproxy.xml mypearpath.xml opensslcert.xml password.xml pluginsdir.xml preferredmirror.xml preferredstate.xml tempdir.xml umask.xml username.xml verbose.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11698@lists.php.net to get a copy of this message | ||
cellog Sat Jun 27 19:00:15 2009 UTC
Added files:
/peardoc/en/pyrus/configuration/system bindir.xml cfgdir.xml
datadir.xml docdir.xml
extdir.xml phpbin.xml
phpdir.xml phpini.xml
phpprefix.xml phpsuffix.xml
srcdir.xml testdir.xml
wwwdir.xml
/peardoc/en/pyrus/configuration/user autodiscover.xml cachedir.xml
cachettl.xml
defaultchannel.xml
downloaddir.xml handle.xml
httpproxy.xml mypearpath.xml
opensslcert.xml password.xml
pluginsdir.xml
preferredmirror.xml
preferredstate.xml tempdir.xml
umask.xml username.xml
verbose.xml
Modified files:
/peardoc/en/pyrus/commands package.xml
/peardoc/en/pyrus/configuration system.xml user.xml
Log:
more pyrus docs
http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/commands/package.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/pyrus/commands/package.xml diff -u peardoc/en/pyrus/commands/package.xml:1.2 peardoc/en/pyrus/commands/package.xml:1.3 --- peardoc/en/pyrus/commands/package.xml:1.2 Sat Jun 27 05:18:06 2009 +++ peardoc/en/pyrus/commands/package.xml Sat Jun 27 19:00:15 2009 @@ -1,21 +1,240 @@ <?xml version="1.0" encoding="utf-8"?> -<section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.commands.package"> +<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="lillet" xml:id="pyrus.commands.package"> <info><title>package - create a packaged release in phar, tar, tgz or zip format</title></info> <section xml:id="pyrus.commands.package.intro"> <info><title>Introduction</title></info> - <para>This is a work in progress.</para> + <note> + <simpara> + The <literal>package</literal> command is available through the developer tools. + If you do not have the developer tools installed, simply run + </simpara> + <screen>php pyrus.phar package</screen> + <simpara> + and Pyrus will ask if you would like to install the developer tools. If you + assent with the word <literal>yes</literal>, Pyrus will automatically + download them and install them for you. + </simpara> + </note> + <para> + The package command bundles up the files of a package and its package.xml + into an archive for distribution. It accepts a single optional argument, the + path to a package.xml. + </para> + <para> + If the optional path is not provided, the command + searches for a file named <literal>package.xml</literal> in the current + directory. If this file is an older version 1.0, it also searches for + <literal>package2.xml</literal> in the current directory, and uses that + as the package file. This allows creating packages that are compatible + with ancient versions of PEAR older than version <literal>1.4.0</literal> + </para> + <para> + If <literal>package.xml</literal> exists and is + a PEAR2 package (requires pear installer version equal to or newer than + <literal>2.0.0a1</literal>), the command will also look for a file + in the current directory named <literal>package_compatible.xml</literal>. + This file should be a package.xml customized for use by the PEAR Installer, + and is automatically generated by the <link linkend="pyrus.commands.make">make</link> + command unless explicitly prevented. This file makes it possible for the + PEAR Installer to install packages generated for Pyrus. + </para> + <para> + The created archive can be in any or all + of the following formats: + <orderedlist> + <listitem><simpara>phar</simpara></listitem> + <listitem><simpara>tar</simpara></listitem> + <listitem><simpara>tgz</simpara></listitem> + <listitem><simpara>zip</simpara></listitem> + </orderedlist> + </para> + <para> + The formats are requested by passing their name as an option like so: + <screen>php pyrus.phar package --phar --tar --tgz --zip</screen>. + </para> + <para> + The <literal>phar</literal> file format is a format that can be used to + create self-installing archives, or even archives that are self-contained + commands. <literal>pyrus.phar</literal>, for instance, is a complete + application that runs directly from its archive. Due to security + considerations, the ability to create executable phar archives is disabled + by default. To create a phar archive, the <literal>phar.readonly</literal> + php.ini setting must be disabled like so: + </para> + <screen>php -dphar.readonly=0 pyrus.phar package --phar</screen> + <para> + The <literal>tar</literal> and <literal>tgz</literal> file formats are the + formats familiar to users of PEAR. <literal>tgz</literal> is a gzipped tar + archive, and requires the <literal>zlib</literal> extension be enabled in + order to create it. + </para> + <para> + The <literal>zip</literal> file format is most familiar to Windows users. + </para> + </section> + <section xml:id="pyrus.commands.package.pear2"> + <title>PEAR2 packages</title> + <para> + All packages designed for Pyrus automatically have <literal>PEAR2/Autoload.php</literal>, + <literal>PEAR2/Exception.php</literal>, <literal>PEAR2/MultiErrors.php</literal>, + and <literal>PEAR2/MultiErrors/Exception.php</literal> bundled so that + these dependencies are available when a package is extracted without use of + Pyrus to install it. Packages designed for installation by the PEAR Installer + and not for Pyrus do not bundle any dependencies. + </para> + </section> + <section xml:id="pyrus.commands.package.signing"> + <title>Package signing</title> + <para> + Pyrus supports creating archives that have a mandatory signature using + <literal>OpenSSL</literal> certificates such as those available from + <link xlink:href="http://www.cacert.org">CACert</link>. Signed archives + cannot be processed without the presence of the <literal>openssl</literal> + PHP extension. In addition, a bug in the <literal>phar</literal> extension's + verification of openssl signatures requires PHP version <literal>5.3.1</literal> + or newer. Creation of signatures only requires PHP version <literal>5.3.0</literal> + or newer. + </para> + <para> + To create a package signature, set the + <link linkend="pyrus.configuration.user.opensslcert">openssl_cert</link> + configuration variable to the path of your PKCS#12 certificate (generally + saved with a file extension of <literal>p12</literal>), and the + <link linkend="pyrus.configuration.user.handle">handle</link> + configuration variable to your handle in package.xml. + </para> </section> <section xml:id="pyrus.commands.package.stub"> <title>--stub</title> <para> - This document is a work in progress. + The <literal>--stub</literal> or <literal>-s</literal> option specifies + a PHP script to use as the stub to a phar archive, and is ignored if + <literal>--phar</literal> is not passed to the command. The stub is a + short executable script that is executed as a boot strap when a phar + archive is passed to PHP like <screen>php pyrus.phar</screen>. All stubs + must end with the <literal>__HALT_COMPILER();</literal> directive to be a + valid stub. + </para> + <para> + If the <literal>--stub</literal> option is not explicitly specified and + a phar archive is being created, Pyrus will look for a file named + <literal>stub.php</literal> in the same directory as the package.xml, and + will use that as the stub for the phar archive if found. + </para> + <para> + Here is pyrus's stub: + </para> + <para> + <programlisting role="php"> + <![CDATA[ +<?php +if (version_compare(phpversion(), '5.3.0', '<')) { + if (substr(phpversion(), 0, 5) != '5.3.0') { + // this small hack is because of running RCs of 5.3.0 + echo "Pyrus requires PHP 5.3.0 or newer.\n"; + exit -1; + } +} +foreach (array('phar', 'spl', 'pcre', 'simplexml') as $ext) { + if (!extension_loaded($ext)) { + echo 'Extension ', $ext, " is required\n"; + exit -1; + } +} +try { + Phar::mapPhar(); +} catch (Exception $e) { + echo "Cannot process Pyrus phar:\n"; + echo $e->getMessage(), "\n"; + exit -1; +} +function pyrus_autoload($class) +{ + if (file_exists('phar://' . __FILE__ . '/php/' . implode('/', explode('_', $class)) . '.php')) { + include 'phar://' . __FILE__ . '/php/' . implode('/', explode('_', $class)) . '.php'; + } +} +spl_autoload_register("pyrus_autoload"); +$frontend = new PEAR2_Pyrus_ScriptFrontend_Commands; +@array_shift($_SERVER['argv']); +$frontend->run($_SERVER['argv']); +__HALT_COMPILER(); + ]]> + </programlisting> </para> </section> <section xml:id="pyrus.commands.package.extrasetup"> <title>--extrasetup</title> <para> - This document is a work in progress. + The <literal>--extrasetup</literal> or <literal>-e</literal> option + is used to specify the path to a PHP script that is used to include + files in the created packages that are not in the package.xml list of + files. This is used to create archives that are designed to be friendly to + users simply <quote>trying before they buy</quote> the archive, or to provide + support files needed to create self-installing archives. + </para> + <para> + If the <literal>--extrasetup</literal> option is not explicitly specified, + then Pyrus looks for a file named <literal>extrasetup.php</literal> in the + same directory as the package.xml, and will use this if found. + </para> + <para> + The extrasetup script should create a variable named <literal>$extrafiles</literal> + that contains an associative array mapping relative path within the archive + to an absolute path of a file on disk. + </para> + <para> + Here is Pyrus's extrasetup, which demonstrates bundling of the required + dependencies PEAR2_HTTP_Request and PEAR2_Console_Commandline: + </para> + <para> + <programlisting role="php"> + <![CDATA[ +<?php +/** + * This file generates the pyrus.phar file and PEAR2 package for Pyrus. + */ +$rp = __DIR__ . '/../HTTP_Request/src/HTTP'; +$cc = __DIR__ . '/../sandbox/Console_CommandLine/src/Console'; +$extrafiles = array( + 'php/PEAR2/HTTP/Request.php' => $rp . '/Request.php', + 'php/PEAR2/HTTP/Request/Adapter.php' => $rp . '/Request/Adapter.php', + 'php/PEAR2/HTTP/Request/Adapter/Curl.php' => $rp . '/Request/Adapter/Curl.php', + 'php/PEAR2/HTTP/Request/Adapter/Http.php' => $rp . '/Request/Adapter/Http.php', + 'php/PEAR2/HTTP/Request/Adapter/Phpsocket.php' => $rp . '/Request/Adapter/Phpsocket.php', + 'php/PEAR2/HTTP/Request/Adapter/Phpstream.php' => $rp . '/Request/Adapter/Phpstream.php', + 'php/PEAR2/HTTP/Request/Exception.php' => $rp . '/Request/Exception.php', + 'php/PEAR2/HTTP/Request/Headers.php' => $rp . '/Request/Headers.php', + 'php/PEAR2/HTTP/Request/Listener.php' => $rp . '/Request/Listener.php', + 'php/PEAR2/HTTP/Request/Response.php' => $rp . '/Request/Response.php', + 'php/PEAR2/HTTP/Request/Uri.php' => $rp . '/Request/Uri.php', + + 'php/PEAR2/Console/CommandLine.php' => $cc . '/CommandLine.php', + 'php/PEAR2/Console/CommandLine/Result.php' => $cc . '/CommandLine/Result.php', + 'php/PEAR2/Console/CommandLine/Renderer.php' => $cc . '/CommandLine/Renderer.php', + 'php/PEAR2/Console/CommandLine/Outputter.php' => $cc . '/CommandLine/Outputter.php', + 'php/PEAR2/Console/CommandLine/Option.php' => $cc . '/CommandLine/Option.php', + 'php/PEAR2/Console/CommandLine/MessageProvider.php' => $cc . '/CommandLine/MessageProvider.php', + 'php/PEAR2/Console/CommandLine/Exception.php' => $cc . '/CommandLine/Exception.php', + 'php/PEAR2/Console/CommandLine/Element.php' => $cc . '/CommandLine/Element.php', + 'php/PEAR2/Console/CommandLine/Command.php' => $cc . '/CommandLine/Command.php', + 'php/PEAR2/Console/CommandLine/Argument.php' => $cc . '/CommandLine/Argument.php', + 'php/PEAR2/Console/CommandLine/Action.php' => $cc . '/CommandLine/Action.php', + 'php/PEAR2/Console/CommandLine/Renderer/Default.php' => $cc . '/CommandLine/Renderer/Default.php', + 'php/PEAR2/Console/CommandLine/Outputter/Default.php' => $cc . '/CommandLine/Outputter/Default.php', + 'php/PEAR2/Console/CommandLine/MessageProvider/Default.php' => $cc . '/CommandLine/MessageProvider/Default.php', + 'php/PEAR2/Console/CommandLine/Action/Callback.php' => $cc . '/CommandLine/Action/Callback.php', + 'php/PEAR2/Console/CommandLine/Action/Counter.php' => $cc . '/CommandLine/Action/Counter.php', + 'php/PEAR2/Console/CommandLine/Action/Help.php' => $cc . '/CommandLine/Action/Help.php', + 'php/PEAR2/Console/CommandLine/Action/StoreFloat.php' => $cc . '/CommandLine/Action/StoreFloat.php', + 'php/PEAR2/Console/CommandLine/Action/StoreInt.php' => $cc . '/CommandLine/Action/StoreInt.php', + 'php/PEAR2/Console/CommandLine/Action/StoreString.php' => $cc . '/CommandLine/Action/StoreString.php', + 'php/PEAR2/Console/CommandLine/Action/StoreTrue.php' => $cc . '/CommandLine/Action/StoreTrue.php', + 'php/PEAR2/Console/CommandLine/Action/Version.php' => $cc . '/CommandLine/Action/Version.php', +); + ]]> + </programlisting> </para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/pyrus/configuration/system.xml diff -u peardoc/en/pyrus/configuration/system.xml:1.1 peardoc/en/pyrus/configuration/system.xml:1.2 --- peardoc/en/pyrus/configuration/system.xml:1.1 Sat Jun 27 05:18:06 2009 +++ peardoc/en/pyrus/configuration/system.xml Sat Jun 27 19:00:15 2009 @@ -5,5 +5,19 @@ <section xml:id="pyrus.configuration.system.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> + </section> + &pyrus.configuration.system.bindir; + &pyrus.configuration.system.cfgdir; + &pyrus.configuration.system.datadir; + &pyrus.configuration.system.docdir; + &pyrus.configuration.system.extdir; + &pyrus.configuration.system.phpbin; + &pyrus.configuration.system.phpdir; + &pyrus.configuration.system.phpini; + &pyrus.configuration.system.phpprefix; + &pyrus.configuration.system.phpsuffix; + &pyrus.configuration.system.srcdir; + &pyrus.configuration.system.testdir; + &pyrus.configuration.system.wwwdir; </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/pyrus/configuration/user.xml diff -u peardoc/en/pyrus/configuration/user.xml:1.1 peardoc/en/pyrus/configuration/user.xml:1.2 --- peardoc/en/pyrus/configuration/user.xml:1.1 Sat Jun 27 05:18:06 2009 +++ peardoc/en/pyrus/configuration/user.xml Sat Jun 27 19:00:15 2009 @@ -6,4 +6,22 @@ <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> + + &pyrus.configuration.user.autodiscover; + &pyrus.configuration.user.cachedir; + &pyrus.configuration.user.cachettl; + &pyrus.configuration.user.defaultchannel; + &pyrus.configuration.user.downloaddir; + &pyrus.configuration.user.handle; + &pyrus.configuration.user.httpproxy; + &pyrus.configuration.user.mypearpath; + &pyrus.configuration.user.opensslcert; + &pyrus.configuration.user.password; + &pyrus.configuration.user.pluginsdir; + &pyrus.configuration.user.preferredmirror; + &pyrus.configuration.user.preferredstate; + &pyrus.configuration.user.tempdir; + &pyrus.configuration.user.umask; + &pyrus.configuration.user.username; + &pyrus.configuration.user.verbose; </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/bindir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/bindir.xml +++ peardoc/en/pyrus/configuration/system/bindir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.bindir"> <info><title>bin_dir</title></info> <section xml:id="pyrus.configuration.system.bindir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/cfgdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/cfgdir.xml +++ peardoc/en/pyrus/configuration/system/cfgdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.cfgdir"> <info><title>cfg_dir</title></info> <section xml:id="pyrus.configuration.system.cfgdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/datadir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/datadir.xml +++ peardoc/en/pyrus/configuration/system/datadir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.datadir"> <info><title>data_dir</title></info> <section xml:id="pyrus.configuration.system.datadir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/docdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/docdir.xml +++ peardoc/en/pyrus/configuration/system/docdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.docdir"> <info><title>doc_dir</title></info> <section xml:id="pyrus.configuration.system.docdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/extdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/extdir.xml +++ peardoc/en/pyrus/configuration/system/extdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.extdir"> <info><title>ext_dir</title></info> <section xml:id="pyrus.configuration.system.extdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/phpbin.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/phpbin.xml +++ peardoc/en/pyrus/configuration/system/phpbin.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.phpbin"> <info><title>php_bin</title></info> <section xml:id="pyrus.configuration.system.phpbin.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/phpdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/phpdir.xml +++ peardoc/en/pyrus/configuration/system/phpdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.phpdir"> <info><title>php_dir</title></info> <section xml:id="pyrus.configuration.system.phpdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/phpini.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/phpini.xml +++ peardoc/en/pyrus/configuration/system/phpini.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.phpini"> <info><title>php_ini</title></info> <section xml:id="pyrus.configuration.system.phpini.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/phpprefix.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/phpprefix.xml +++ peardoc/en/pyrus/configuration/system/phpprefix.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.phpprefix"> <info><title>php_prefix</title></info> <section xml:id="pyrus.configuration.system.phpprefix.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/phpsuffix.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/phpsuffix.xml +++ peardoc/en/pyrus/configuration/system/phpsuffix.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.phpsuffix"> <info><title>php_suffix</title></info> <section xml:id="pyrus.configuration.system.phpsuffix.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/srcdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/srcdir.xml +++ peardoc/en/pyrus/configuration/system/srcdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.srcdir"> <info><title>src_dir</title></info> <section xml:id="pyrus.configuration.system.srcdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/testdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/testdir.xml +++ peardoc/en/pyrus/configuration/system/testdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.testdir"> <info><title>test_dir</title></info> <section xml:id="pyrus.configuration.system.testdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/wwwdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/wwwdir.xml +++ peardoc/en/pyrus/configuration/system/wwwdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.wwwdir"> <info><title>www_dir</title></info> <section xml:id="pyrus.configuration.system.wwwdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/autodiscover.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/autodiscover.xml +++ peardoc/en/pyrus/configuration/user/autodiscover.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.autodiscover"> <info><title>auto_discover</title></info> <section xml:id="pyrus.configuration.user.autodiscover.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/cachedir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/cachedir.xml +++ peardoc/en/pyrus/configuration/user/cachedir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.cachedir"> <info><title>cache_dir</title></info> <section xml:id="pyrus.configuration.user.cachedir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/cachettl.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/cachettl.xml +++ peardoc/en/pyrus/configuration/user/cachettl.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.cachettl"> <info><title>cache_ttl</title></info> <section xml:id="pyrus.configuration.user.cachettl.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/defaultchannel.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/defaultchannel.xml +++ peardoc/en/pyrus/configuration/user/defaultchannel.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.defaultchannel"> <info><title>default_channel</title></info> <section xml:id="pyrus.configuration.user.defaultchannel.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/downloaddir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/downloaddir.xml +++ peardoc/en/pyrus/configuration/user/downloaddir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.downloaddir"> <info><title>download_dir</title></info> <section xml:id="pyrus.configuration.user.downloaddir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/handle.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/handle.xml +++ peardoc/en/pyrus/configuration/user/handle.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.handle"> <info><title>handle</title></info> <section xml:id="pyrus.configuration.user.handle.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/httpproxy.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/httpproxy.xml +++ peardoc/en/pyrus/configuration/user/httpproxy.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.httpproxy"> <info><title>http_proxy</title></info> <section xml:id="pyrus.configuration.user.httpproxy.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/mypearpath.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/mypearpath.xml +++ peardoc/en/pyrus/configuration/user/mypearpath.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.mypearpath"> <info><title>my_pear_path</title></info> <section xml:id="pyrus.configuration.user.mypearpath.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/opensslcert.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/opensslcert.xml +++ peardoc/en/pyrus/configuration/user/opensslcert.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.opensslcert"> <info><title>openssl_cert</title></info> <section xml:id="pyrus.configuration.user.opensslcert.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/password.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/password.xml +++ peardoc/en/pyrus/configuration/user/password.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.password"> <info><title>password</title></info> <section xml:id="pyrus.configuration.user.password.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/pluginsdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/pluginsdir.xml +++ peardoc/en/pyrus/configuration/user/pluginsdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.pluginsdir"> <info><title>plugins_dir</title></info> <section xml:id="pyrus.configuration.user.pluginsdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/preferredmirror.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/preferredmirror.xml +++ peardoc/en/pyrus/configuration/user/preferredmirror.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.preferredmirror"> <info><title>preferred_mirror</title></info> <section xml:id="pyrus.configuration.user.preferredmirror.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/preferredstate.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/preferredstate.xml +++ peardoc/en/pyrus/configuration/user/preferredstate.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.preferredstate"> <info><title>preferred_state</title></info> <section xml:id="pyrus.configuration.user.preferredstate.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/tempdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/tempdir.xml +++ peardoc/en/pyrus/configuration/user/tempdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.tempdir"> <info><title>temp_dir</title></info> <section xml:id="pyrus.configuration.user.tempdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/umask.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/umask.xml +++ peardoc/en/pyrus/configuration/user/umask.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.umask"> <info><title>umask</title></info> <section xml:id="pyrus.configuration.user.umask.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/username.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/username.xml +++ peardoc/en/pyrus/configuration/user/username.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.username"> <info><title>username</title></info> <section xml:id="pyrus.configuration.user.username.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/verbose.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/verbose.xml +++ peardoc/en/pyrus/configuration/user/verbose.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.verbose"> <info><title>verbose</title></info> <section xml:id="pyrus.configuration.user.verbose.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section>
http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/commands/package.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/pyrus/commands/package.xml diff -u peardoc/en/pyrus/commands/package.xml:1.2 peardoc/en/pyrus/commands/package.xml:1.3 --- peardoc/en/pyrus/commands/package.xml:1.2 Sat Jun 27 05:18:06 2009 +++ peardoc/en/pyrus/commands/package.xml Sat Jun 27 19:00:15 2009 @@ -1,21 +1,240 @@ <?xml version="1.0" encoding="utf-8"?> -<section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.commands.package"> +<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="lillet" xml:id="pyrus.commands.package"> <info><title>package - create a packaged release in phar, tar, tgz or zip format</title></info> <section xml:id="pyrus.commands.package.intro"> <info><title>Introduction</title></info> - <para>This is a work in progress.</para> + <note> + <simpara> + The <literal>package</literal> command is available through the developer tools. + If you do not have the developer tools installed, simply run + </simpara> + <screen>php pyrus.phar package</screen> + <simpara> + and Pyrus will ask if you would like to install the developer tools. If you + assent with the word <literal>yes</literal>, Pyrus will automatically + download them and install them for you. + </simpara> + </note> + <para> + The package command bundles up the files of a package and its package.xml + into an archive for distribution. It accepts a single optional argument, the + path to a package.xml. + </para> + <para> + If the optional path is not provided, the command + searches for a file named <literal>package.xml</literal> in the current + directory. If this file is an older version 1.0, it also searches for + <literal>package2.xml</literal> in the current directory, and uses that + as the package file. This allows creating packages that are compatible + with ancient versions of PEAR older than version <literal>1.4.0</literal> + </para> + <para> + If <literal>package.xml</literal> exists and is + a PEAR2 package (requires pear installer version equal to or newer than + <literal>2.0.0a1</literal>), the command will also look for a file + in the current directory named <literal>package_compatible.xml</literal>. + This file should be a package.xml customized for use by the PEAR Installer, + and is automatically generated by the <link linkend="pyrus.commands.make">make</link> + command unless explicitly prevented. This file makes it possible for the + PEAR Installer to install packages generated for Pyrus. + </para> + <para> + The created archive can be in any or all + of the following formats: + <orderedlist> + <listitem><simpara>phar</simpara></listitem> + <listitem><simpara>tar</simpara></listitem> + <listitem><simpara>tgz</simpara></listitem> + <listitem><simpara>zip</simpara></listitem> + </orderedlist> + </para> + <para> + The formats are requested by passing their name as an option like so: + <screen>php pyrus.phar package --phar --tar --tgz --zip</screen>. + </para> + <para> + The <literal>phar</literal> file format is a format that can be used to + create self-installing archives, or even archives that are self-contained + commands. <literal>pyrus.phar</literal>, for instance, is a complete + application that runs directly from its archive. Due to security + considerations, the ability to create executable phar archives is disabled + by default. To create a phar archive, the <literal>phar.readonly</literal> + php.ini setting must be disabled like so: + </para> + <screen>php -dphar.readonly=0 pyrus.phar package --phar</screen> + <para> + The <literal>tar</literal> and <literal>tgz</literal> file formats are the + formats familiar to users of PEAR. <literal>tgz</literal> is a gzipped tar + archive, and requires the <literal>zlib</literal> extension be enabled in + order to create it. + </para> + <para> + The <literal>zip</literal> file format is most familiar to Windows users. + </para> + </section> + <section xml:id="pyrus.commands.package.pear2"> + <title>PEAR2 packages</title> + <para> + All packages designed for Pyrus automatically have <literal>PEAR2/Autoload.php</literal>, + <literal>PEAR2/Exception.php</literal>, <literal>PEAR2/MultiErrors.php</literal>, + and <literal>PEAR2/MultiErrors/Exception.php</literal> bundled so that + these dependencies are available when a package is extracted without use of + Pyrus to install it. Packages designed for installation by the PEAR Installer + and not for Pyrus do not bundle any dependencies. + </para> + </section> + <section xml:id="pyrus.commands.package.signing"> + <title>Package signing</title> + <para> + Pyrus supports creating archives that have a mandatory signature using + <literal>OpenSSL</literal> certificates such as those available from + <link xlink:href="http://www.cacert.org">CACert</link>. Signed archives + cannot be processed without the presence of the <literal>openssl</literal> + PHP extension. In addition, a bug in the <literal>phar</literal> extension's + verification of openssl signatures requires PHP version <literal>5.3.1</literal> + or newer. Creation of signatures only requires PHP version <literal>5.3.0</literal> + or newer. + </para> + <para> + To create a package signature, set the + <link linkend="pyrus.configuration.user.opensslcert">openssl_cert</link> + configuration variable to the path of your PKCS#12 certificate (generally + saved with a file extension of <literal>p12</literal>), and the + <link linkend="pyrus.configuration.user.handle">handle</link> + configuration variable to your handle in package.xml. + </para> </section> <section xml:id="pyrus.commands.package.stub"> <title>--stub</title> <para> - This document is a work in progress. + The <literal>--stub</literal> or <literal>-s</literal> option specifies + a PHP script to use as the stub to a phar archive, and is ignored if + <literal>--phar</literal> is not passed to the command. The stub is a + short executable script that is executed as a boot strap when a phar + archive is passed to PHP like <screen>php pyrus.phar</screen>. All stubs + must end with the <literal>__HALT_COMPILER();</literal> directive to be a + valid stub. + </para> + <para> + If the <literal>--stub</literal> option is not explicitly specified and + a phar archive is being created, Pyrus will look for a file named + <literal>stub.php</literal> in the same directory as the package.xml, and + will use that as the stub for the phar archive if found. + </para> + <para> + Here is pyrus's stub: + </para> + <para> + <programlisting role="php"> + <![CDATA[ +<?php +if (version_compare(phpversion(), '5.3.0', '<')) { + if (substr(phpversion(), 0, 5) != '5.3.0') { + // this small hack is because of running RCs of 5.3.0 + echo "Pyrus requires PHP 5.3.0 or newer.\n"; + exit -1; + } +} +foreach (array('phar', 'spl', 'pcre', 'simplexml') as $ext) { + if (!extension_loaded($ext)) { + echo 'Extension ', $ext, " is required\n"; + exit -1; + } +} +try { + Phar::mapPhar(); +} catch (Exception $e) { + echo "Cannot process Pyrus phar:\n"; + echo $e->getMessage(), "\n"; + exit -1; +} +function pyrus_autoload($class) +{ + if (file_exists('phar://' . __FILE__ . '/php/' . implode('/', explode('_', $class)) . '.php')) { + include 'phar://' . __FILE__ . '/php/' . implode('/', explode('_', $class)) . '.php'; + } +} +spl_autoload_register("pyrus_autoload"); +$frontend = new PEAR2_Pyrus_ScriptFrontend_Commands; +@array_shift($_SERVER['argv']); +$frontend->run($_SERVER['argv']); +__HALT_COMPILER(); + ]]> + </programlisting> </para> </section> <section xml:id="pyrus.commands.package.extrasetup"> <title>--extrasetup</title> <para> - This document is a work in progress. + The <literal>--extrasetup</literal> or <literal>-e</literal> option + is used to specify the path to a PHP script that is used to include + files in the created packages that are not in the package.xml list of + files. This is used to create archives that are designed to be friendly to + users simply <quote>trying before they buy</quote> the archive, or to provide + support files needed to create self-installing archives. + </para> + <para> + If the <literal>--extrasetup</literal> option is not explicitly specified, + then Pyrus looks for a file named <literal>extrasetup.php</literal> in the + same directory as the package.xml, and will use this if found. + </para> + <para> + The extrasetup script should create a variable named <literal>$extrafiles</literal> + that contains an associative array mapping relative path within the archive + to an absolute path of a file on disk. + </para> + <para> + Here is Pyrus's extrasetup, which demonstrates bundling of the required + dependencies PEAR2_HTTP_Request and PEAR2_Console_Commandline: + </para> + <para> + <programlisting role="php"> + <![CDATA[ +<?php +/** + * This file generates the pyrus.phar file and PEAR2 package for Pyrus. + */ +$rp = __DIR__ . '/../HTTP_Request/src/HTTP'; +$cc = __DIR__ . '/../sandbox/Console_CommandLine/src/Console'; +$extrafiles = array( + 'php/PEAR2/HTTP/Request.php' => $rp . '/Request.php', + 'php/PEAR2/HTTP/Request/Adapter.php' => $rp . '/Request/Adapter.php', + 'php/PEAR2/HTTP/Request/Adapter/Curl.php' => $rp . '/Request/Adapter/Curl.php', + 'php/PEAR2/HTTP/Request/Adapter/Http.php' => $rp . '/Request/Adapter/Http.php', + 'php/PEAR2/HTTP/Request/Adapter/Phpsocket.php' => $rp . '/Request/Adapter/Phpsocket.php', + 'php/PEAR2/HTTP/Request/Adapter/Phpstream.php' => $rp . '/Request/Adapter/Phpstream.php', + 'php/PEAR2/HTTP/Request/Exception.php' => $rp . '/Request/Exception.php', + 'php/PEAR2/HTTP/Request/Headers.php' => $rp . '/Request/Headers.php', + 'php/PEAR2/HTTP/Request/Listener.php' => $rp . '/Request/Listener.php', + 'php/PEAR2/HTTP/Request/Response.php' => $rp . '/Request/Response.php', + 'php/PEAR2/HTTP/Request/Uri.php' => $rp . '/Request/Uri.php', + + 'php/PEAR2/Console/CommandLine.php' => $cc . '/CommandLine.php', + 'php/PEAR2/Console/CommandLine/Result.php' => $cc . '/CommandLine/Result.php', + 'php/PEAR2/Console/CommandLine/Renderer.php' => $cc . '/CommandLine/Renderer.php', + 'php/PEAR2/Console/CommandLine/Outputter.php' => $cc . '/CommandLine/Outputter.php', + 'php/PEAR2/Console/CommandLine/Option.php' => $cc . '/CommandLine/Option.php', + 'php/PEAR2/Console/CommandLine/MessageProvider.php' => $cc . '/CommandLine/MessageProvider.php', + 'php/PEAR2/Console/CommandLine/Exception.php' => $cc . '/CommandLine/Exception.php', + 'php/PEAR2/Console/CommandLine/Element.php' => $cc . '/CommandLine/Element.php', + 'php/PEAR2/Console/CommandLine/Command.php' => $cc . '/CommandLine/Command.php', + 'php/PEAR2/Console/CommandLine/Argument.php' => $cc . '/CommandLine/Argument.php', + 'php/PEAR2/Console/CommandLine/Action.php' => $cc . '/CommandLine/Action.php', + 'php/PEAR2/Console/CommandLine/Renderer/Default.php' => $cc . '/CommandLine/Renderer/Default.php', + 'php/PEAR2/Console/CommandLine/Outputter/Default.php' => $cc . '/CommandLine/Outputter/Default.php', + 'php/PEAR2/Console/CommandLine/MessageProvider/Default.php' => $cc . '/CommandLine/MessageProvider/Default.php', + 'php/PEAR2/Console/CommandLine/Action/Callback.php' => $cc . '/CommandLine/Action/Callback.php', + 'php/PEAR2/Console/CommandLine/Action/Counter.php' => $cc . '/CommandLine/Action/Counter.php', + 'php/PEAR2/Console/CommandLine/Action/Help.php' => $cc . '/CommandLine/Action/Help.php', + 'php/PEAR2/Console/CommandLine/Action/StoreFloat.php' => $cc . '/CommandLine/Action/StoreFloat.php', + 'php/PEAR2/Console/CommandLine/Action/StoreInt.php' => $cc . '/CommandLine/Action/StoreInt.php', + 'php/PEAR2/Console/CommandLine/Action/StoreString.php' => $cc . '/CommandLine/Action/StoreString.php', + 'php/PEAR2/Console/CommandLine/Action/StoreTrue.php' => $cc . '/CommandLine/Action/StoreTrue.php', + 'php/PEAR2/Console/CommandLine/Action/Version.php' => $cc . '/CommandLine/Action/Version.php', +); + ]]> + </programlisting> </para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/pyrus/configuration/system.xml diff -u peardoc/en/pyrus/configuration/system.xml:1.1 peardoc/en/pyrus/configuration/system.xml:1.2 --- peardoc/en/pyrus/configuration/system.xml:1.1 Sat Jun 27 05:18:06 2009 +++ peardoc/en/pyrus/configuration/system.xml Sat Jun 27 19:00:15 2009 @@ -5,5 +5,19 @@ <section xml:id="pyrus.configuration.system.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> + </section> + &pyrus.configuration.system.bindir; + &pyrus.configuration.system.cfgdir; + &pyrus.configuration.system.datadir; + &pyrus.configuration.system.docdir; + &pyrus.configuration.system.extdir; + &pyrus.configuration.system.phpbin; + &pyrus.configuration.system.phpdir; + &pyrus.configuration.system.phpini; + &pyrus.configuration.system.phpprefix; + &pyrus.configuration.system.phpsuffix; + &pyrus.configuration.system.srcdir; + &pyrus.configuration.system.testdir; + &pyrus.configuration.system.wwwdir; </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/pyrus/configuration/user.xml diff -u peardoc/en/pyrus/configuration/user.xml:1.1 peardoc/en/pyrus/configuration/user.xml:1.2 --- peardoc/en/pyrus/configuration/user.xml:1.1 Sat Jun 27 05:18:06 2009 +++ peardoc/en/pyrus/configuration/user.xml Sat Jun 27 19:00:15 2009 @@ -6,4 +6,22 @@ <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> + + &pyrus.configuration.user.autodiscover; + &pyrus.configuration.user.cachedir; + &pyrus.configuration.user.cachettl; + &pyrus.configuration.user.defaultchannel; + &pyrus.configuration.user.downloaddir; + &pyrus.configuration.user.handle; + &pyrus.configuration.user.httpproxy; + &pyrus.configuration.user.mypearpath; + &pyrus.configuration.user.opensslcert; + &pyrus.configuration.user.password; + &pyrus.configuration.user.pluginsdir; + &pyrus.configuration.user.preferredmirror; + &pyrus.configuration.user.preferredstate; + &pyrus.configuration.user.tempdir; + &pyrus.configuration.user.umask; + &pyrus.configuration.user.username; + &pyrus.configuration.user.verbose; </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/bindir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/bindir.xml +++ peardoc/en/pyrus/configuration/system/bindir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.bindir"> <info><title>bin_dir</title></info> <section xml:id="pyrus.configuration.system.bindir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/cfgdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/cfgdir.xml +++ peardoc/en/pyrus/configuration/system/cfgdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.cfgdir"> <info><title>cfg_dir</title></info> <section xml:id="pyrus.configuration.system.cfgdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/datadir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/datadir.xml +++ peardoc/en/pyrus/configuration/system/datadir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.datadir"> <info><title>data_dir</title></info> <section xml:id="pyrus.configuration.system.datadir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/docdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/docdir.xml +++ peardoc/en/pyrus/configuration/system/docdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.docdir"> <info><title>doc_dir</title></info> <section xml:id="pyrus.configuration.system.docdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/extdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/extdir.xml +++ peardoc/en/pyrus/configuration/system/extdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.extdir"> <info><title>ext_dir</title></info> <section xml:id="pyrus.configuration.system.extdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/phpbin.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/phpbin.xml +++ peardoc/en/pyrus/configuration/system/phpbin.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.phpbin"> <info><title>php_bin</title></info> <section xml:id="pyrus.configuration.system.phpbin.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/phpdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/phpdir.xml +++ peardoc/en/pyrus/configuration/system/phpdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.phpdir"> <info><title>php_dir</title></info> <section xml:id="pyrus.configuration.system.phpdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/phpini.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/phpini.xml +++ peardoc/en/pyrus/configuration/system/phpini.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.phpini"> <info><title>php_ini</title></info> <section xml:id="pyrus.configuration.system.phpini.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/phpprefix.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/phpprefix.xml +++ peardoc/en/pyrus/configuration/system/phpprefix.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.phpprefix"> <info><title>php_prefix</title></info> <section xml:id="pyrus.configuration.system.phpprefix.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/phpsuffix.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/phpsuffix.xml +++ peardoc/en/pyrus/configuration/system/phpsuffix.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.phpsuffix"> <info><title>php_suffix</title></info> <section xml:id="pyrus.configuration.system.phpsuffix.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/srcdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/srcdir.xml +++ peardoc/en/pyrus/configuration/system/srcdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.srcdir"> <info><title>src_dir</title></info> <section xml:id="pyrus.configuration.system.srcdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/testdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/testdir.xml +++ peardoc/en/pyrus/configuration/system/testdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.testdir"> <info><title>test_dir</title></info> <section xml:id="pyrus.configuration.system.testdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/system/wwwdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/system/wwwdir.xml +++ peardoc/en/pyrus/configuration/system/wwwdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.system.wwwdir"> <info><title>www_dir</title></info> <section xml:id="pyrus.configuration.system.wwwdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/autodiscover.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/autodiscover.xml +++ peardoc/en/pyrus/configuration/user/autodiscover.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.autodiscover"> <info><title>auto_discover</title></info> <section xml:id="pyrus.configuration.user.autodiscover.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/cachedir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/cachedir.xml +++ peardoc/en/pyrus/configuration/user/cachedir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.cachedir"> <info><title>cache_dir</title></info> <section xml:id="pyrus.configuration.user.cachedir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/cachettl.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/cachettl.xml +++ peardoc/en/pyrus/configuration/user/cachettl.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.cachettl"> <info><title>cache_ttl</title></info> <section xml:id="pyrus.configuration.user.cachettl.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/defaultchannel.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/defaultchannel.xml +++ peardoc/en/pyrus/configuration/user/defaultchannel.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.defaultchannel"> <info><title>default_channel</title></info> <section xml:id="pyrus.configuration.user.defaultchannel.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/downloaddir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/downloaddir.xml +++ peardoc/en/pyrus/configuration/user/downloaddir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.downloaddir"> <info><title>download_dir</title></info> <section xml:id="pyrus.configuration.user.downloaddir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/handle.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/handle.xml +++ peardoc/en/pyrus/configuration/user/handle.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.handle"> <info><title>handle</title></info> <section xml:id="pyrus.configuration.user.handle.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/httpproxy.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/httpproxy.xml +++ peardoc/en/pyrus/configuration/user/httpproxy.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.httpproxy"> <info><title>http_proxy</title></info> <section xml:id="pyrus.configuration.user.httpproxy.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/mypearpath.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/mypearpath.xml +++ peardoc/en/pyrus/configuration/user/mypearpath.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.mypearpath"> <info><title>my_pear_path</title></info> <section xml:id="pyrus.configuration.user.mypearpath.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/opensslcert.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/opensslcert.xml +++ peardoc/en/pyrus/configuration/user/opensslcert.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.opensslcert"> <info><title>openssl_cert</title></info> <section xml:id="pyrus.configuration.user.opensslcert.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/password.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/password.xml +++ peardoc/en/pyrus/configuration/user/password.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.password"> <info><title>password</title></info> <section xml:id="pyrus.configuration.user.password.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/pluginsdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/pluginsdir.xml +++ peardoc/en/pyrus/configuration/user/pluginsdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.pluginsdir"> <info><title>plugins_dir</title></info> <section xml:id="pyrus.configuration.user.pluginsdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/preferredmirror.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/preferredmirror.xml +++ peardoc/en/pyrus/configuration/user/preferredmirror.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.preferredmirror"> <info><title>preferred_mirror</title></info> <section xml:id="pyrus.configuration.user.preferredmirror.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/preferredstate.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/preferredstate.xml +++ peardoc/en/pyrus/configuration/user/preferredstate.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.preferredstate"> <info><title>preferred_state</title></info> <section xml:id="pyrus.configuration.user.preferredstate.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/tempdir.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/tempdir.xml +++ peardoc/en/pyrus/configuration/user/tempdir.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.tempdir"> <info><title>temp_dir</title></info> <section xml:id="pyrus.configuration.user.tempdir.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/umask.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/umask.xml +++ peardoc/en/pyrus/configuration/user/umask.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.umask"> <info><title>umask</title></info> <section xml:id="pyrus.configuration.user.umask.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/username.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/username.xml +++ peardoc/en/pyrus/configuration/user/username.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.username"> <info><title>username</title></info> <section xml:id="pyrus.configuration.user.username.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section> http://cvs.php.net/viewvc.cgi/peardoc/en/pyrus/configuration/user/verbose.xml?view=markup&rev=1.1 Index: peardoc/en/pyrus/configuration/user/verbose.xml +++ peardoc/en/pyrus/configuration/user/verbose.xml <?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="pyrus.configuration.user.verbose"> <info><title>verbose</title></info> <section xml:id="pyrus.configuration.user.verbose.intro"> <info><title>Introduction</title></info> <para>This is a work in progress.</para> </section> </section>