cvs: peardoc /en/guide/developers/package2 tasks.xml

From: Date: Sun, 18 Sep 2005 05:21:43 +0000
Subject: cvs: peardoc /en/guide/developers/package2 tasks.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6845@lists.php.net to get a copy of this message
cellog Sun Sep 18 01:21:43 2005 EDT Modified files: /peardoc/en/guide/developers/package2 tasks.xml Log: use tasks: wherever appropriate add <tasks:instructions> docs for post-install scripts http://cvs.php.net/diff.php/peardoc/en/guide/developers/package2/tasks.xml?r1=1.4&r2=1.5&ty=u Index: peardoc/en/guide/developers/package2/tasks.xml diff -u peardoc/en/guide/developers/package2/tasks.xml:1.4 peardoc/en/guide/developers/package2/tasks.xml:1.5 --- peardoc/en/guide/developers/package2/tasks.xml:1.4 Sun Sep 18 01:18:00 2005 +++ peardoc/en/guide/developers/package2/tasks.xml Sun Sep 18 01:21:43 2005 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="guide.developers.package2.tasks"> <refnamediv> <refname>tasks for &lt;file&gt;s</refname> @@ -15,12 +15,12 @@ </para> <para> There are 3 basic tasks and 1 complex task distributed with PEAR. The basic tasks are - &quot;replace&quot;, &quot;windowseol&quot;, and &quot;unixeol&quot;. The complex task - is &quot;postinstallscript&quot;. &quot;replace&quot; is nearly identical to the old + &quot;tasks:replace&quot;, &quot;tasks:windowseol&quot;, and &quot;tasks:unixeol&quot;. The complex task + is &quot;tasks:postinstallscript&quot;. &quot;tasks:replace&quot; is nearly identical to the old &lt;replace&gt; tag from package.xml 1.0, and does a text search-and-replace of a file's - contents. &quot;windowseol&quot; and &quot;unixeol&quot; manipulate the line endings of + contents. &quot;tasks:windowseol&quot; and &quot;tasks:unixeol&quot; manipulate the line endings of a file to ensure that the correct line endings are in place for critical files like DOS - .bat batch files and unix shell scripts. &quot;postinstallscript&quot; allows users to + .bat batch files and unix shell scripts. &quot;tasks:postinstallscript&quot; allows users to choose to run a script to perform further installation functions. </para> <refsect2 id="guide.developers.package2.tasks.replace"> @@ -124,6 +124,9 @@ <tasks:postinstallscript> <tasks:paramgroup> <tasks:id>first</tasks:id> + <tasks:instructions>The first group of questions relates + primarily to your favorite color. Answer wisely. + </tasks:instructions> <tasks:param> <tasks:name>test</tasks:name> <tasks:prompt>Testing Thingy</tasks:prompt> @@ -158,7 +161,9 @@ </programlisting> </para> <para> - This post-installation script has two parameter groups. After the first group is processed, + This post-installation script has two parameter groups. The first parameter group + has special instructions that are displayed to the user to assist in answering the + required prompts. After the first group is processed, the second group is processed (naturally). However, in this case, the second group is a conditional parameter group. A conditional parameter group examines the user input from previous parameter groups and only displays its parameter prompts if a single parameter

« previous php.pear.doc (#6845) next »