cvs: peardoc /en/core/rest fileformats.xml /en/core/rest/fileformats c-categoriesxml.xml c-category-infoxml.xml c-category-packagesinfoxml.xml
c-category-packagesxml.xml channelxml.xml m-allmaintainersxml.xml m-maintainer-infoxml.xml p-package-maintainers2xml.xml p-package-maintainersxml.xml
r-package-deps012txt.xml r-package-package012xml.xml r-package-v2012xml.xml

From: Date: Tue, 19 Feb 2008 21:37:13 +0000
Subject: cvs: peardoc /en/core/rest fileformats.xml /en/core/rest/fileformats c-categoriesxml.xml c-category-infoxml.xml c-category-packagesinfoxml.xml
c-category-packagesxml.xml channelxml.xml m-allmaintainersxml.xml m-maintainer-infoxml.xml p-package-maintainers2xml.xml p-package-maintainersxml.xml
r-package-deps012txt.xml r-package-package012xml.xml r-package-v2012xml.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-10515@lists.php.net to get a copy of this message
cweiske Tue Feb 19 21:37:13 2008 UTC Modified files: /peardoc/en/core/rest fileformats.xml /peardoc/en/core/rest/fileformats c-categoriesxml.xml c-category-infoxml.xml c-category-packagesinfoxml.xml c-category-packagesxml.xml channelxml.xml m-allmaintainersxml.xml m-maintainer-infoxml.xml p-package-maintainers2xml.xml p-package-maintainersxml.xml r-package-deps012txt.xml r-package-package012xml.xml r-package-v2012xml.xml Log: More REST documentation

http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/core/rest/fileformats.xml diff -u peardoc/en/core/rest/fileformats.xml:1.1 peardoc/en/core/rest/fileformats.xml:1.2 --- peardoc/en/core/rest/fileformats.xml:1.1 Mon Feb 18 20:34:04 2008 +++ peardoc/en/core/rest/fileformats.xml Tue Feb 19 21:37:13 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- $Id: fileformats.xml,v 1.1 2008/02/18 20:34:04 cweiske Exp $ --> +<!-- $Revision: 1.2 $ --> +<!-- $Id: fileformats.xml,v 1.2 2008/02/19 21:37:13 cweiske Exp $ --> <sect1 id="core.rest.fileformats"> <title>File formats</title> <titleabbrev>How the files look like</titleabbrev> @@ -17,6 +17,15 @@ </para> </note> + <para> + In general, the files try to be as small as possible so that only little + bandwidth is required to fetch them. That's why all of the xml files + (except the original <filename>package.xml</filename> have only tag names + of one or two characters. + Remember that operations like <command>pear list-all</command> download a + large number of files, so every saved bit helps. + </para> + &core.rest.fileformats.channelxml; &core.rest.fileformats.c-categoriesxml; &core.rest.fileformats.c-category-infoxml; http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/c-categoriesxml.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/core/rest/fileformats/c-categoriesxml.xml diff -u peardoc/en/core/rest/fileformats/c-categoriesxml.xml:1.1 peardoc/en/core/rest/fileformats/c-categoriesxml.xml:1.2 --- peardoc/en/core/rest/fileformats/c-categoriesxml.xml:1.1 Mon Feb 18 20:34:04 2008 +++ peardoc/en/core/rest/fileformats/c-categoriesxml.xml Tue Feb 19 21:37:13 2008 @@ -1,13 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <sect2 id="core.rest.fileformats.c-categoriesxml"> <title>categories.xml</title> <synopsis>List of all categories</synopsis> <para> - FIXME + Provides a names and links to for all categories known on the server. + Links are URL-encoded. </para> + <note> + <para> + Unlike all other files, the channel name is wrapped in a + <literal>&lt;ch&gt;</literal> instead of a plain + <literal>&lt;c&gt;</literal> tag. + </para> + </note> + <sect3 id="core.rest.fileformats.c-categoriesxml.location"> <title>Location</title> @@ -19,9 +28,17 @@ <sect3 id="core.rest.fileformats.c-categoriesxml.example"> <title>Example</title> - <programlisting role="xml"><![CDATA[ - -]]></programlisting> + <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> +<a xmlns="http://pear.php.net/dtd/rest.allcategories" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xlink="http://www.w3.org/1999/xlink" + xsi:schemaLocation="http://pear.php.net/dtd/rest.allcategories + http://pear.php.net/dtd/rest.allcategories.xsd" +> + <ch>pear.example.org</ch> + <c xlink:href="/rest/c/Tools/info.xml">Tools</c> + <c xlink:href="/rest/c/Garbage%2Band%2BStuff/info.xml">Garbage and Stuff</c> +</a>]]></programlisting> </sect3> </sect2> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/c-category-infoxml.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/core/rest/fileformats/c-category-infoxml.xml diff -u peardoc/en/core/rest/fileformats/c-category-infoxml.xml:1.2 peardoc/en/core/rest/fileformats/c-category-infoxml.xml:1.3 --- peardoc/en/core/rest/fileformats/c-category-infoxml.xml:1.2 Tue Feb 19 06:42:53 2008 +++ peardoc/en/core/rest/fileformats/c-category-infoxml.xml Tue Feb 19 21:37:13 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect2 id="core.rest.fileformats.c-category-infoxml"> <title>info.xml (category)</title> <synopsis>Information about a category</synopsis> @@ -8,8 +8,8 @@ Here, the category is explained in detail. The file lists the name (<literal>&lt;n&gt;</literal>), channel server (<literal>&lt;c&gt;</literal>), - FIXME: (<literal>&lt;a&gt;</literal>) - and a longer description of the category (<literal>&lt;d&gt;</literal>). + alias (<literal>&lt;a&gt;</literal>) + and a longer description of the category (<literal>&lt;d&gt;</literal>). </para> @@ -18,9 +18,12 @@ <para> <filename>c/${categoryname}/info.xml</filename> </para> - <para> - FIXME: Explain categorgy name serialization (urlencode?) - </para> + <note> + <para> + Category names may contain spaces and other special characters, + so (x)links need to be url-encoded. + </para> + </note> </sect3> @@ -28,10 +31,10 @@ <title>Example</title> <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <c xmlns="http://pear.php.net/dtd/rest.category" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:xlink="http://www.w3.org/1999/xlink" - xsi:schemaLocation="http://pear.php.net/dtd/rest.category - http://pear.php.net/dtd/rest.category.xsd" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xlink="http://www.w3.org/1999/xlink" + xsi:schemaLocation="http://pear.php.net/dtd/rest.category + http://pear.php.net/dtd/rest.category.xsd" > <n>Tools</n> <c>pear.example.org</c> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/c-category-packagesinfoxml.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/core/rest/fileformats/c-category-packagesinfoxml.xml diff -u peardoc/en/core/rest/fileformats/c-category-packagesinfoxml.xml:1.2 peardoc/en/core/rest/fileformats/c-category-packagesinfoxml.xml:1.3 --- peardoc/en/core/rest/fileformats/c-category-packagesinfoxml.xml:1.2 Tue Feb 19 06:42:53 2008 +++ peardoc/en/core/rest/fileformats/c-category-packagesinfoxml.xml Tue Feb 19 21:37:13 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect2 id="core.rest.fileformats.c-category-packagesinfoxml"> <title>packagesinfo.xml</title> <synopsis>Extendet information about all packages</synopsis> @@ -24,6 +24,12 @@ <para> <filename>c/${categoryname}/packagesinfo.xml</filename> </para> + <note> + <para> + Category names may contain spaces and other special characters, + so (x)links need to be url-encoded. + </para> + </note> </sect3> @@ -31,10 +37,10 @@ <title>Example</title> <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <f xmlns="http://pear.php.net/dtd/rest.categorypackageinfo" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:xlink="http://www.w3.org/1999/xlink" - xsi:schemaLocation="http://pear.php.net/dtd/rest.categorypackageinfo - http://pear.php.net/dtd/rest.categorypackageinfo.xsd" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xlink="http://www.w3.org/1999/xlink" + xsi:schemaLocation="http://pear.php.net/dtd/rest.categorypackageinfo + http://pear.php.net/dtd/rest.categorypackageinfo.xsd" > <pi> <?xml version="1.0" encoding="UTF-8" ?> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/c-category-packagesxml.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/core/rest/fileformats/c-category-packagesxml.xml diff -u peardoc/en/core/rest/fileformats/c-category-packagesxml.xml:1.2 peardoc/en/core/rest/fileformats/c-category-packagesxml.xml:1.3 --- peardoc/en/core/rest/fileformats/c-category-packagesxml.xml:1.2 Tue Feb 19 06:42:54 2008 +++ peardoc/en/core/rest/fileformats/c-category-packagesxml.xml Tue Feb 19 21:37:13 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect2 id="core.rest.fileformats.c-category-packagesxml"> <title>packages.xml (category)</title> <synopsis>List of all packages in category</synopsis> @@ -15,6 +15,12 @@ <para> <filename>c/${categoryname}/packages.xml</filename> </para> + <note> + <para> + Category names may contain spaces and other special characters, + so (x)links need to be url-encoded. + </para> + </note> </sect3> @@ -22,10 +28,10 @@ <title>Example</title> <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <l xmlns="http://pear.php.net/dtd/rest.categorypackages" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:xlink="http://www.w3.org/1999/xlink" - xsi:schemaLocation="http://pear.php.net/dtd/rest.categorypackages - http://pear.php.net/dtd/rest.categorypackages.xsd" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xlink="http://www.w3.org/1999/xlink" + xsi:schemaLocation="http://pear.php.net/dtd/rest.categorypackages + http://pear.php.net/dtd/rest.categorypackages.xsd" > <p xlink:href="/rest/p/earth">Earth</p> <p xlink:href="/rest/p/worlddominator">WorldDominator</p> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/channelxml.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/core/rest/fileformats/channelxml.xml diff -u peardoc/en/core/rest/fileformats/channelxml.xml:1.1 peardoc/en/core/rest/fileformats/channelxml.xml:1.2 --- peardoc/en/core/rest/fileformats/channelxml.xml:1.1 Mon Feb 18 20:34:04 2008 +++ peardoc/en/core/rest/fileformats/channelxml.xml Tue Feb 19 21:37:13 2008 @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <sect2 id="core.rest.fileformats.channelxml"> <title>channel.xml</title> - <titleabbrev>Information about the channel</titleabbrev> + <synopsis>Information about the channel</synopsis> <para> This is the main file for a channel; nothing works without it. @@ -10,6 +10,24 @@ It defines the REST directory locations as well as mirrors. </para> + <para> + The channel <literal>&lt;name&gt;</literal> is a full qualified domain + name and is used as part of the URL when e.g. updating the + <filename>channel.xml</filename> file. + </para> + + <para> + PEAR provides aliases for channels as shortcuts in the daily work of your + user's lifes. The <literal>&lt;suggestedalias&gt;</literal> should be + a short and easy to write word. Benefit is that, instead of + <screen><![CDATA[pear install pear.mynicelittlespaceon.example.org/package]]></screen> + they just can type + <screen><![CDATA[pear install nice/package]]></screen> + if the alias was <literal>nice</literal>. + </para> + + <!-- FIXME: more explanation about SSL and such --> + <sect3 id="core.rest.fileformats.channelxml.location"> <title>Location</title> @@ -27,17 +45,18 @@ <sect3 id="core.rest.fileformats.channelxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8"?> -<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://pear.php.net/channel-1.0 - http://pear.php.net/dtd/channel-1.0.xsd" +<channel version="1.0" + xmlns="http://pear.php.net/channel-1.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://pear.php.net/channel-1.0 + http://pear.php.net/dtd/channel-1.0.xsd" > <name>pear.example.org</name><!-- URL, used to update channel.xml and such --> <suggestedalias>example</suggestedalias> <summary>Simple demo channel server</summary> <servers> <primary> - <!-- you can ignore xmlrpc --> + <!-- you can ignore xmlrpc, it's deprecated anyway --> <xmlrpc> <function version="1.0">logintest</function> <function version="1.0">package.listLatestReleases</function> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/m-allmaintainersxml.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/core/rest/fileformats/m-allmaintainersxml.xml diff -u peardoc/en/core/rest/fileformats/m-allmaintainersxml.xml:1.2 peardoc/en/core/rest/fileformats/m-allmaintainersxml.xml:1.3 --- peardoc/en/core/rest/fileformats/m-allmaintainersxml.xml:1.2 Tue Feb 19 06:42:54 2008 +++ peardoc/en/core/rest/fileformats/m-allmaintainersxml.xml Tue Feb 19 21:37:13 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect2 id="core.rest.fileformats.m-allmaintainersxml"> <title>allmaintainers.xml</title> <synopsis>Lists all maintainers</synopsis> @@ -27,10 +27,10 @@ <title>Example</title> <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <m xmlns="http://pear.php.net/dtd/rest.allmaintainers" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:xlink="http://www.w3.org/1999/xlink" - xsi:schemaLocation="http://pear.php.net/dtd/rest.allmaintainers - http://pear.php.net/dtd/rest.allmaintainers.xsd" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xlink="http://www.w3.org/1999/xlink" + xsi:schemaLocation="http://pear.php.net/dtd/rest.allmaintainers + http://pear.php.net/dtd/rest.allmaintainers.xsd" > <h xlink:href="/rest/m/pinky">pinky</h> <h xlink:href="/rest/m/thebrain">the brain</h> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/m-maintainer-infoxml.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/core/rest/fileformats/m-maintainer-infoxml.xml diff -u peardoc/en/core/rest/fileformats/m-maintainer-infoxml.xml:1.2 peardoc/en/core/rest/fileformats/m-maintainer-infoxml.xml:1.3 --- peardoc/en/core/rest/fileformats/m-maintainer-infoxml.xml:1.2 Tue Feb 19 06:42:54 2008 +++ peardoc/en/core/rest/fileformats/m-maintainer-infoxml.xml Tue Feb 19 21:37:13 2008 @@ -1,12 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect2 id="core.rest.fileformats.m-maintainer-infoxml"> <title>info.xml (maintainer)</title> <synopsis>Information about a maintainer</synopsis> <para> - Contains maintainer information like nickname, full name and URL - to the developer's homepage. + Contains maintainer information like handle + (nickname, <literal>&lt;h&gt;</literal>), + full name (<literal>&lt;n&gt;</literal>) + and URL (<literal>&lt;u&gt;</literal>) to the developer's homepage. </para> @@ -23,13 +25,12 @@ <sect3 id="core.rest.fileformats.m-maintainer-infoxml.example"> <title>Example</title> - <programlisting role="xml"><![CDATA[ -<?xml version="1.0" encoding="UTF-8" ?> + <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <m xmlns="http://pear.php.net/dtd/rest.maintainer" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:xlink="http://www.w3.org/1999/xlink" - xsi:schemaLocation="http://pear.php.net/dtd/rest.maintainer - http://pear.php.net/dtd/rest.maintainer.xsd" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xlink="http://www.w3.org/1999/xlink" + xsi:schemaLocation="http://pear.php.net/dtd/rest.maintainer + http://pear.php.net/dtd/rest.maintainer.xsd" > <h>thebrain</h> <n>The Brain</n> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/p-package-maintainers2xml.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/core/rest/fileformats/p-package-maintainers2xml.xml diff -u peardoc/en/core/rest/fileformats/p-package-maintainers2xml.xml:1.2 peardoc/en/core/rest/fileformats/p-package-maintainers2xml.xml:1.3 --- peardoc/en/core/rest/fileformats/p-package-maintainers2xml.xml:1.2 Tue Feb 19 13:28:57 2008 +++ peardoc/en/core/rest/fileformats/p-package-maintainers2xml.xml Tue Feb 19 21:37:13 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect2 id="core.rest.fileformats.p-package-maintainers2xml"> <title>maintainers2.xml</title> <synopsis>Lists package developers</synopsis> @@ -9,6 +9,12 @@ <link linkend="core.rest.fileformats.p-package-maintainersxml"><filename>maintainers.xml</filename></link>, except that the developer's role is written down, too. </para> + <para> + Valid + <link linkend="guide.developers.package2.developers">role names</link> + are <literal>lead</literal>, <literal>developer</literal>, + <literal>contributor</literal> and <literal>helper</literal>. + </para> <sect3 id="core.rest.fileformats.p-package-maintainers2xml.location"> @@ -26,12 +32,12 @@ <sect3 id="core.rest.fileformats.p-package-maintainers2xml.example"> <title>Example</title> - <programlisting role="xml"><![CDATA[<![CDATA[<?xml version="1.0" encoding="utf-8" ?> + <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <m xmlns="http://pear.php.net/dtd/rest.packagemaintainers" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:xlink="http://www.w3.org/1999/xlink" - xsi:schemaLocation="http://pear.php.net/dtd/rest.packagemaintainers - http://pear.php.net/dtd/rest.packagemaintainers.xsd" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xlink="http://www.w3.org/1999/xlink" + xsi:schemaLocation="http://pear.php.net/dtd/rest.packagemaintainers + http://pear.php.net/dtd/rest.packagemaintainers.xsd" > <p>WorldDominator</p> <c>pear.example.org</c> @@ -48,7 +54,7 @@ <m> <h>deadcow</h> <a>0</a> - <r>developer</r> + <r>helper</r> </m> </m>]]></programlisting> </sect3> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/p-package-maintainersxml.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/core/rest/fileformats/p-package-maintainersxml.xml diff -u peardoc/en/core/rest/fileformats/p-package-maintainersxml.xml:1.2 peardoc/en/core/rest/fileformats/p-package-maintainersxml.xml:1.3 --- peardoc/en/core/rest/fileformats/p-package-maintainersxml.xml:1.2 Tue Feb 19 13:28:57 2008 +++ peardoc/en/core/rest/fileformats/p-package-maintainersxml.xml Tue Feb 19 21:37:13 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect2 id="core.rest.fileformats.p-package-maintainersxml"> <title>maintainers.xml</title> <synopsis>Lists all developers on the package</synopsis> @@ -10,7 +10,7 @@ </para> <para> - Each maintainer's nickname (<literal>&lt;n&gt;</literal>) and + Each maintainer's handle (<literal>&lt;h&gt;</literal>) and activity state (<literal>&lt;a&gt;</literal>, <literal>0</literal> for inactive, <literal>1</literal> for active) is provided. @@ -34,10 +34,10 @@ <title>Example</title> <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <m xmlns="http://pear.php.net/dtd/rest.packagemaintainers" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:xlink="http://www.w3.org/1999/xlink" - xsi:schemaLocation="http://pear.php.net/dtd/rest.packagemaintainers - http://pear.php.net/dtd/rest.packagemaintainers.xsd" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xlink="http://www.w3.org/1999/xlink" + xsi:schemaLocation="http://pear.php.net/dtd/rest.packagemaintainers + http://pear.php.net/dtd/rest.packagemaintainers.xsd" > <p>WorldDominator</p> <c>pear.example.org</c> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-deps012txt.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/core/rest/fileformats/r-package-deps012txt.xml diff -u peardoc/en/core/rest/fileformats/r-package-deps012txt.xml:1.1 peardoc/en/core/rest/fileformats/r-package-deps012txt.xml:1.2 --- peardoc/en/core/rest/fileformats/r-package-deps012txt.xml:1.1 Mon Feb 18 20:34:04 2008 +++ peardoc/en/core/rest/fileformats/r-package-deps012txt.xml Tue Feb 19 21:37:13 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <sect2 id="core.rest.fileformats.r-package-deps012txt"> <title>deps.0.1.2.txt</title> <synopsis>Serialized dependency information</synopsis> @@ -28,10 +28,32 @@ <sect3 id="core.rest.fileformats.r-package-deps012txt.example"> - <title>Example</title> - <programlisting role="xml"><![CDATA[ - -]]></programlisting> + <title>Example of an unserialized dependency array</title> + <programlisting role="xml"><![CDATA[array(2) { + ["required"]=> + array(2) { + ["php"]=> + array(1) { + ["min"]=> + string(5) "5.2.3" + } + ["pearinstaller"]=> + array(1) { + ["min"]=> + string(7) "1.7.1" + } + } + ["optional"]=> + array(1) { + ["package"]=> + array(2) { + ["name"]=> + string(4) "Toolbox" + ["channel"]=> + string(12) "pear.example.org" + } + } +}]]></programlisting> </sect3> </sect2> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-package012xml.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/core/rest/fileformats/r-package-package012xml.xml diff -u peardoc/en/core/rest/fileformats/r-package-package012xml.xml:1.1 peardoc/en/core/rest/fileformats/r-package-package012xml.xml:1.2 --- peardoc/en/core/rest/fileformats/r-package-package012xml.xml:1.1 Mon Feb 18 20:34:04 2008 +++ peardoc/en/core/rest/fileformats/r-package-package012xml.xml Tue Feb 19 21:37:13 2008 @@ -1,11 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <sect2 id="core.rest.fileformats.r-package-package012xml"> <title>package.0.1.2.xml</title> <synopsis>Full package.xml</synopsis> <para> - FIXME + Full <filename>package.xml</filename> for the release. May be version 1 + or version 2 of the <filename>package.xml</filename> format. + The highest version should be made available if the package contains + both. </para> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-v2012xml.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/core/rest/fileformats/r-package-v2012xml.xml diff -u peardoc/en/core/rest/fileformats/r-package-v2012xml.xml:1.1 peardoc/en/core/rest/fileformats/r-package-v2012xml.xml:1.2 --- peardoc/en/core/rest/fileformats/r-package-v2012xml.xml:1.1 Mon Feb 18 20:34:04 2008 +++ peardoc/en/core/rest/fileformats/r-package-v2012xml.xml Tue Feb 19 21:37:13 2008 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <sect2 id="core.rest.fileformats.r-package-v2012xml"> <title>v2.0.1.2.xml</title> - <synopsis>Full package.xml version 2</synopsis> + <synopsis>Special short xml file about the release</synopsis> <para> - FIXME + FIXME: what it's good for, what the tags mean </para> @@ -24,9 +24,31 @@ <sect3 id="core.rest.fileformats.r-package-v2012xml.example"> <title>Example</title> - <programlisting role="xml"><![CDATA[ - -]]></programlisting> + <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> +<r xmlns="http://pear.php.net/dtd/rest.release2" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xlink="http://www.w3.org/1999/xlink" + xsi:schemaLocation="http://pear.php.net/dtd/rest.release2 + http://pear.php.net/dtd/rest.release2.xsd" +> + <p xlink:href="/rest/p/worlddominator">WorldDominator</p> + <c>pear.example.org</c> + <v>0.1.2</v> + <a>0.1.2</a> + <mp>5.2.3</mp> + <st>beta</st> + <l>Dictatoric License</l> + <m>thebrain</m> + <s>Tool to dominate the world</s> + <d>Helps you dominating the world by fulfilling various tasks: + - Feed the cats + - Lock the doors after 23:42</d> + <da>2007-12-24 23:42:00</da> + <n>* Fix atomic X-mas bug [thebrain]</n> + <f>19588</f> + <g>http://pear.example/get/WorldDominator-0.1.2</g> + <x xlink:href="package.0.1.2.xml"/> +</r>]]></programlisting> </sect3> </sect2>
« previous php.pear.doc (#10515) next »