cvs: peardoc / manual.xml.in /en/core rest.xml /en/core/rest directorystructure.xml fileformat.stub fileformats.xml history.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-infoxml.xml p-package-maintainers2xml.xml p-package-maintainersxml.xml p-packagesxml.xml
r-package-012xml.xml r-package-allreleases2xml.xml r-package-allreleasesxml.xml r-package-alphatxt.xml r-package-betatxt.xml r-package-deps012txt.xml
r-package-develtxt.xml r-package-latesttxt.xml r-package-package012xml.xml r-package-stabletxt.xml r-package-v2012xml.xml
| From: | Christian Weiske | Date: | Mon, 18 Feb 2008 20:34:05 +0000 |
| Subject: | cvs: peardoc / manual.xml.in /en/core rest.xml /en/core/rest directorystructure.xml fileformat.stub fileformats.xml history.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-infoxml.xml p-package-maintainers2xml.xml p-package-maintainersxml.xml p-packagesxml.xml r-package-012xml.xml r-package-allreleases2xml.xml r-package-allreleasesxml.xml r-package-alphatxt.xml r-package-betatxt.xml r-package-deps012txt.xml r-package-develtxt.xml r-package-latesttxt.xml r-package-package012xml.xml r-package-stabletxt.xml r-package-v2012xml.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10507@lists.php.net to get a copy of this message | ||
cweiske Mon Feb 18 20:34:05 2008 UTC
Added files:
/peardoc/en/core rest.xml
/peardoc/en/core/rest directorystructure.xml fileformat.stub
fileformats.xml history.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-infoxml.xml
p-package-maintainers2xml.xml
p-package-maintainersxml.xml
p-packagesxml.xml
r-package-012xml.xml
r-package-allreleases2xml.xml
r-package-allreleasesxml.xml
r-package-alphatxt.xml
r-package-betatxt.xml
r-package-deps012txt.xml
r-package-develtxt.xml
r-package-latesttxt.xml
r-package-package012xml.xml
r-package-stabletxt.xml
r-package-v2012xml.xml
Modified files:
/peardoc manual.xml.in
Log:
First and very incomplete version of REST documentation
http://cvs.php.net/viewvc.cgi/peardoc/manual.xml.in?r1=1.50&r2=1.51&diff_format=u Index: peardoc/manual.xml.in diff -u peardoc/manual.xml.in:1.50 peardoc/manual.xml.in:1.51 --- peardoc/manual.xml.in:1.50 Sat Jan 12 02:18:42 2008 +++ peardoc/manual.xml.in Mon Feb 18 20:34:04 2008 @@ -79,6 +79,7 @@ <title>&Core;</title> &core.pear; &core.ppm; + &core.rest; </part> <part id="packages"> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest.xml +++ peardoc/en/core/rest.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <chapter id="core.rest"> <title>PEAR channel server REST interface</title> <para> This manual section describes how the REST interface of a PEAR channel server works, as well as the files and their formats look like. </para> &blankpagehack; &core.rest.directorystructure; &core.rest.fileformats; &core.rest.history; </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/directorystructure.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/directorystructure.xml +++ peardoc/en/core/rest/directorystructure.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <!-- $Id: directorystructure.xml,v 1.1 2008/02/18 20:34:04 cweiske Exp $ --> <sect1 id="core.rest.directorystructure"> <title>Directory structure</title> <titleabbrev>Which files a channel server provides</titleabbrev> <para>A REST channel server simply delivers files in a certain directory structure. The content of those files is static. Their location is relative to the URLs given in the <filename>channel.xml</filename> <literal>baseurl</literal> tags.</para> <para>The following table lists all known files, a tiny description as well as the version they appeared in first.</para> <table> <title>Directory- and file structure</title> <tgroup cols="5"> <thead> <row> <entry>Level 0</entry> <entry>Level 1</entry> <entry>Level 2</entry> <entry>Description</entry> <entry>REST version</entry> </row> </thead> <tbody> <row> <entry><filename>c/</filename></entry> <entry></entry> <entry></entry> <entry><emphasis>Categories</emphasis></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry><link linkend="core.rest.fileformats.c-categoriesxml"><filename>categories.xml</filename></link></entry> <entry></entry> <entry>List of all categories</entry> <entry>1.1</entry> </row> <row> <entry></entry> <entry><filename>$CategoryName/</filename></entry> <entry></entry> <entry></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.c-category-infoxml">info.xml</link></filename></entry> <entry>Info about the category</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.c-category-packagesxml">packages.xml</link></filename></entry> <entry>List of packages in category</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.c-category-packagesinfoxml">packagesinfo.xml</link></filename></entry> <entry>FIXME</entry> <entry>FIXME</entry> </row> <row> <entry></entry> <entry></entry> <entry></entry> <entry></entry> <entry></entry> </row> <row> <entry><filename>m/</filename></entry> <entry></entry> <entry></entry> <entry><emphasis>Maintainers</emphasis></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.m-allmaintainersxml">allmaintainers.xml</link></filename></entry> <entry></entry> <entry>List of all maintainers</entry> <entry>1.1</entry> </row> <row> <entry></entry> <entry><filename>$maintainernick/</filename></entry> <entry></entry> <entry></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.m-maintainer-infoxml">info.xml</link></filename></entry> <entry>Info about the maintainer</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry></entry> <entry></entry> <entry></entry> </row> <row> <entry><filename>p/</filename></entry> <entry></entry> <entry></entry> <entry><emphasis>Packages</emphasis></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.p-packagesxml">packages.xml</link></filename></entry> <entry></entry> <entry>List of all packages</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry><filename>$packagename/</filename></entry> <entry></entry> <entry></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.p-package-infoxml">info.xml</link></filename></entry> <entry>General package information</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.p-package-maintainersxml">maintainers.xml</link></filename></entry> <entry>List of package maintainers</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.p-package-maintainers2xml">maintainers2.xml</link></filename></entry> <entry>FIXME</entry> <entry>FIXME</entry> </row> <row> <entry></entry> <entry></entry> <entry></entry> <entry></entry> <entry></entry> </row> <row> <entry><filename>r/</filename></entry> <entry></entry> <entry></entry> <entry><emphasis>Releases</emphasis></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry><filename>$packagename/</filename></entry> <entry></entry> <entry></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.r-package-allreleasesxml">allreleases.xml</link></filename></entry> <entry>List of all releases</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.r-package-allreleases2xml">allreleases2.xml</link></filename></entry> <entry>FIXME</entry> <entry>FIXME</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.r-package-latesttxt">latest.txt</link></filename></entry> <entry>Latest version number</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-stabletxt"><filename>stable.txt</filename></link></entry> <entry>Latest stable version number</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-betatxt"><filename>beta.txt</filename></link></entry> <entry>Latest beta version number</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-alphatxt"><filename>alpha.txt</filename></link></entry> <entry>Latest alpha version number</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-develtxt"><filename>devel.txt</filename></link></entry> <entry>Latest development version number</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-012xml"><filename>0.1.2.xml</filename></link></entry> <entry>Package info for version 0.1.2</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-v2012xml"><filename>v2.0.1.2.xml</filename></link></entry> <entry>FIXME</entry> <entry>FIXME</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-package012xml"><filename>package.0.1.2.xml</filename></link></entry> <entry>package.xml for version 0.1.2</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-deps012txt"><filename>deps.0.1.2.txt</filename></link></entry> <entry>Serialized dependencies for version 0.1.2</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry></entry> <entry></entry> <entry></entry> </row> </tbody> </tgroup> </table> </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformat.stub?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformat.stub +++ peardoc/en/core/rest/fileformat.stub <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="SECTID"> <title>NAME</title> <titleabbrev>test</titleabbrev> <para> </para> <sect3 id="SECTID.location"> <title>Location</title> <para> <filename>LOCATION</filename> </para> </sect3> <sect3 id="SECTID.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats.xml +++ peardoc/en/core/rest/fileformats.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- $Id: fileformats.xml,v 1.1 2008/02/18 20:34:04 cweiske Exp $ --> <sect1 id="core.rest.fileformats"> <title>File formats</title> <titleabbrev>How the files look like</titleabbrev> <para> Here you will find detailled description of the file formats used for the REST interface. </para> <note> <para> In file names that contain version numbers, we use <literal>0.1.2</literal> as example. </para> </note> &core.rest.fileformats.channelxml; &core.rest.fileformats.c-categoriesxml; &core.rest.fileformats.c-category-infoxml; &core.rest.fileformats.c-category-packagesxml; &core.rest.fileformats.c-category-packagesinfoxml; &core.rest.fileformats.m-allmaintainersxml; &core.rest.fileformats.m-maintainer-infoxml; &core.rest.fileformats.p-packagesxml; &core.rest.fileformats.p-package-infoxml; &core.rest.fileformats.p-package-maintainersxml; &core.rest.fileformats.p-package-maintainers2xml; &core.rest.fileformats.r-package-allreleasesxml; &core.rest.fileformats.r-package-allreleases2xml; &core.rest.fileformats.r-package-latesttxt; &core.rest.fileformats.r-package-stabletxt; &core.rest.fileformats.r-package-betatxt; &core.rest.fileformats.r-package-alphatxt; &core.rest.fileformats.r-package-develtxt; &core.rest.fileformats.r-package-012xml; &core.rest.fileformats.r-package-v2012xml; &core.rest.fileformats.r-package-package012xml; &core.rest.fileformats.r-package-deps012txt; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/history.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/history.xml +++ peardoc/en/core/rest/history.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- $Id: history.xml,v 1.1 2008/02/18 20:34:04 cweiske Exp $ --> <sect1 id="core.rest.history"> <title>REST version history</title> <titleabbrev>Changes between PEAR REST interface versions</titleabbrev> <para> This page lists the known REST versions and their changes they introduced. </para> <sect2 id="core.rest.history.rest10"> <title>REST 1.0</title> <para> This was the initial and first supported version of the REST interface. </para> </sect2> <sect2 id="core.rest.history.rest11"> <title>REST 1.1</title> <para> This version added files to allow spidering channels without requiring the server to have directory listings enabled. These files are: </para> <itemizedlist> <listitem> <para><filename>c/categories.xml</filename></para> </listitem> <listitem> <para><filename>c/$categoryname/packagesinfo.xml</filename></para> </listitem> <listitem> <para><filename>m/allmaintainers.xml</filename></para> </listitem> </itemizedlist> </sect2> <!-- FIXME: REST 1.2 --> <!-- FIXME: REST 1.3 --> </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/c-categoriesxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/c-categoriesxml.xml +++ peardoc/en/core/rest/fileformats/c-categoriesxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.c-categoriesxml"> <title>categories.xml</title> <synopsis>List of all categories</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.c-categoriesxml.location"> <title>Location</title> <para> <filename>c/categories.xml</filename> </para> </sect3> <sect3 id="core.rest.fileformats.c-categoriesxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/c-category-infoxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/c-category-infoxml.xml +++ peardoc/en/core/rest/fileformats/c-category-infoxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.c-category-infoxml"> <title>info.xml (category)</title> <synopsis>Information about a category</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.c-category-infoxml.location"> <title>Location</title> <para> <filename>c/${categoryname}/info.xml</filename> </para> </sect3> <sect3 id="core.rest.fileformats.c-category-infoxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/c-category-packagesinfoxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/c-category-packagesinfoxml.xml +++ peardoc/en/core/rest/fileformats/c-category-packagesinfoxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.c-category-packagesinfoxml"> <title>packagesinfo.xml</title> <synopsis>FIXME</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.c-category-packagesinfoxml.location"> <title>Location</title> <para> <filename>c/${categoryname}/packagesinfo.xml</filename> </para> </sect3> <sect3 id="core.rest.fileformats.c-category-packagesinfoxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/c-category-packagesxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/c-category-packagesxml.xml +++ peardoc/en/core/rest/fileformats/c-category-packagesxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.c-category-packagesxml"> <title>packages.xml (category)</title> <synopsis>FIXME</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.c-category-packagesxml.location"> <title>Location</title> <para> <filename>c/${categoryname}/packages.xml</filename> </para> </sect3> <sect3 id="core.rest.fileformats.c-category-packagesxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/channelxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/channelxml.xml +++ peardoc/en/core/rest/fileformats/channelxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.channelxml"> <title>channel.xml</title> <titleabbrev>Information about the channel</titleabbrev> <para> This is the main file for a channel; nothing works without it. When discovering a channel, this file is retrieved. It defines the REST directory locations as well as mirrors. </para> <sect3 id="core.rest.fileformats.channelxml.location"> <title>Location</title> <para> <filename>/channel.xml</filename> </para> <para> It needs to be in the root directory of the domain. While all other files can be located somewhere deep in a directory structure, <filename>channel.xml</filename> needs to be in <filename>/</filename>. </para> </sect3> <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" > <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 --> <xmlrpc> <function version="1.0">logintest</function> <function version="1.0">package.listLatestReleases</function> <function version="1.0">package.listAll</function> <function version="1.0">package.info</function> <function version="1.0">package.getDownloadURL</function> <function version="1.1">package.getDownloadURL</function> <function version="1.0">package.getDepDownloadURL</function> <function version="1.1">package.getDepDownloadURL</function> <function version="1.0">package.search</function> <function version="1.0">channel.listAll</function> </xmlrpc> <rest> <baseurl type="REST1.0">http://pear.example.org/rest/</baseurl> <baseurl type="REST1.1">http://pear.example.org/rest/</baseurl> <baseurl type="REST1.2">http://pear.example.org/rest/</baseurl> <baseurl type="REST1.3">http://pear.example.org/rest/</baseurl> </rest> </primary> <mirror host="us.pear.example.org"> <rest> <baseurl type="REST1.0">http://us.pear.example.org/rest/</baseurl> <baseurl type="REST1.1">http://us.pear.example.org/rest/</baseurl> <baseurl type="REST1.2">http://us.pear.example.org/rest/</baseurl> <baseurl type="REST1.3">http://us.pear.example.org/rest/</baseurl> </rest> </mirror> <mirror host="de.pear.example.org" ssl="yes" port="3452"> <rest> <baseurl type="REST1.0">https://de.pear.example.org:3452/rest/</baseurl> <baseurl type="REST1.1">https://de.pear.example.org:3452/rest/</baseurl> <baseurl type="REST1.2">https://de.pear.example.org:3452/rest/</baseurl> <baseurl type="REST1.3">https://de.pear.example.org:3452/rest/</baseurl> </rest> </mirror> </servers> </channel>]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/m-allmaintainersxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/m-allmaintainersxml.xml +++ peardoc/en/core/rest/fileformats/m-allmaintainersxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.m-allmaintainersxml"> <title>allmaintainers.xml</title> <synopsis>Lists all maintainers</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.m-allmaintainersxml.location"> <title>Location</title> <para> <filename>m/allmaintainers.xml</filename> </para> </sect3> <sect3 id="core.rest.fileformats.m-allmaintainersxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/m-maintainer-infoxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/m-maintainer-infoxml.xml +++ peardoc/en/core/rest/fileformats/m-maintainer-infoxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.m-maintainer-infoxml"> <title>info.xml (maintainer)</title> <synopsis>Information about a maintainer</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.m-maintainer-infoxml.location"> <title>Location</title> <para> <filename>m/${maintainernick}/info.xml</filename> </para> </sect3> <sect3 id="core.rest.fileformats.m-maintainer-infoxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/p-package-infoxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/p-package-infoxml.xml +++ peardoc/en/core/rest/fileformats/p-package-infoxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.p-package-infoxml"> <title>info.xml (package)</title> <synopsis>Information about a package</synopsis> <para> This file contains general version-independent information about the package: License, category, summary, description and a link to the release directory. </para> <sect3 id="core.rest.fileformats.p-package-infoxml.location"> <title>Location</title> <para> <filename>r/${packagename}/info.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.p-package-infoxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <p xmlns="http://pear.php.net/dtd/rest.package" 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.package http://pear.php.net/dtd/rest.package.xsd" > <n>WorldDomination</n> <c>pear.example.org</c> <ca xlink:href="/rest/c/Tools">Tools</ca> <l>Dictatoric License</l> <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> <r xlink:href="/rest/r/worlddomination"/> </p>]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/p-package-maintainers2xml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/p-package-maintainers2xml.xml +++ peardoc/en/core/rest/fileformats/p-package-maintainers2xml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.p-package-maintainers2xml"> <title>maintainers2.xml</title> <synopsis>FIXME</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.p-package-maintainers2xml.location"> <title>Location</title> <para> <filename>r/${packagename}/maintainers2.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.p-package-maintainers2xml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/p-package-maintainersxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/p-package-maintainersxml.xml +++ peardoc/en/core/rest/fileformats/p-package-maintainersxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.p-package-maintainersxml"> <title>maintainers.xml</title> <synopsis>FIXME</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.p-package-maintainersxml.location"> <title>Location</title> <para> <filename>r/${packagename}/maintainers.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.p-package-maintainersxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/p-packagesxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/p-packagesxml.xml +++ peardoc/en/core/rest/fileformats/p-packagesxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.p-packagesxml"> <title>packages.xml (p)</title> <synopsis>List of all packages</synopsis> <para> This file lists all packages in this channel, together with the channel server name itself. </para> <para> FIXME: rules for spaces </para> <sect3 id="core.rest.fileformats.p-packagesxml.location"> <title>Location</title> <para> <filename>r/packages.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.p-packagesxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <a xmlns="http://pear.php.net/dtd/rest.allpackages" 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.allpackages http://pear.php.net/dtd/rest.allpackages.xsd" > <c>pear.example.org</c> <p>Earth</p> <p>WorldDominator</p> </a>]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-012xml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-012xml.xml +++ peardoc/en/core/rest/fileformats/r-package-012xml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-012xml"> <title>package-0.1.2.xml</title> <synopsis>FIXME</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.r-package-012xml.location"> <title>Location</title> <para> <filename>r/${packagename}/package.0.1.2.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-012xml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-allreleases2xml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-allreleases2xml.xml +++ peardoc/en/core/rest/fileformats/r-package-allreleases2xml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-allreleases2xml"> <title>allreleases2.xml</title> <synopsis>FIXME</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.r-package-allreleases2xml.location"> <title>Location</title> <para> <filename>r/${packagename}/allreleases2.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-allreleases2xml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-allreleasesxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-allreleasesxml.xml +++ peardoc/en/core/rest/fileformats/r-package-allreleasesxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-allreleasesxml"> <title>allreleases.xml</title> <synopsis>List of all package versions</synopsis> <para> This file lists all known versions of a package, together with its stability. </para> <sect3 id="core.rest.fileformats.r-package-allreleasesxml.location"> <title>Location</title> <para> <filename>r/${packagename}/allreleases.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-allreleasesxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <a xmlns="http://pear.php.net/dtd/rest.allreleases" 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.allreleases http://pear.php.net/dtd/rest.allreleases.xsd" > <p>WorldDominator</p> <c>pear.example.org</c> <r><v>0.8.1</v><s>beta</s></r> <r><v>0.0.2</v><s>alpha</s></r> </a>]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-alphatxt.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-alphatxt.xml +++ peardoc/en/core/rest/fileformats/r-package-alphatxt.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-alphatxt"> <title>alpha.txt</title> <synopsis>The latest alpha version</synopsis> <para> The only content of this file is the version number of the latest alpha version in pure plain text. </para> <sect3 id="core.rest.fileformats.r-package-alphatxt.location"> <title>Location</title> <para> <filename>r/${packagename}/alpha.txt</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-alphatxt.example"> <title>Example</title> <programlisting role="text"><![CDATA[ 0.1.2 ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-betatxt.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-betatxt.xml +++ peardoc/en/core/rest/fileformats/r-package-betatxt.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-betatxt"> <title>beta.txt</title> <synopsis>The latest beta version</synopsis> <para> The only content of this file is the version number of the latest beta version in pure plain text. </para> <sect3 id="core.rest.fileformats.r-package-betatxt.location"> <title>Location</title> <para> <filename>r/${packagename}/beta.txt</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-betatxt.example"> <title>Example</title> <programlisting role="text"><![CDATA[ 0.1.2 ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-deps012txt.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-deps012txt.xml +++ peardoc/en/core/rest/fileformats/r-package-deps012txt.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-deps012txt"> <title>deps.0.1.2.txt</title> <synopsis>Serialized dependency information</synopsis> <para> The file contains an array of dependency information, serialized with PHP's <function>serialize</function> function. </para> <para> FIXME: Explain array format </para> <sect3 id="core.rest.fileformats.r-package-deps012txt.location"> <title>Location</title> <para> <filename>r/${packagename}/deps.0.1.2.txt</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-deps012txt.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-develtxt.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-develtxt.xml +++ peardoc/en/core/rest/fileformats/r-package-develtxt.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-develtxt"> <title>devel.txt</title> <synopsis>The latest development version</synopsis> <para> The only content of this file is the version number of the latest development version in pure plain text. </para> <sect3 id="core.rest.fileformats.r-package-develtxt.location"> <title>Location</title> <para> <filename>r/${packagename}/devel.txt</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-develtxt.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ 0.1.2 ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-latesttxt.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-latesttxt.xml +++ peardoc/en/core/rest/fileformats/r-package-latesttxt.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-latesttxt"> <title>latest.txt</title> <synopsis>The latest package version</synopsis> <para> The only content of this file is the version number of the latest version in pure plain text. The stability state does not matter; the highest version number is written down here. </para> <sect3 id="core.rest.fileformats.r-package-latesttxt.location"> <title>Location</title> <para> <filename>r/${packagename}/latest.txt</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-latesttxt.example"> <title>Example</title> <para> A package has a stable version <literal>1.0.0</literal>, two beta versions <literal>0.9.8</literal> and <literal>1.0.9</literal> and a development version <literal>1.0.1</literal>. The highest version number is <literal>1.0.9</literal>, and this is put in <filename>latest.txt</filename>. </para> <programlisting role="xml"><![CDATA[ 1.0.9 ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-package012xml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-package012xml.xml +++ peardoc/en/core/rest/fileformats/r-package-package012xml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-package012xml"> <title>package.0.1.2.xml</title> <synopsis>Full package.xml</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.r-package-package012xml.location"> <title>Location</title> <para> <filename>r/${packagename}/package.0.1.2.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-stabletxt.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-stabletxt.xml +++ peardoc/en/core/rest/fileformats/r-package-stabletxt.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-stabletxt"> <title>stable.txt</title> <synopsis>The latest stable version</synopsis> <para> The only content of this file is the version number of the latest stable version in pure plain text. </para> <sect3 id="core.rest.fileformats.r-package-stabletxt.location"> <title>Location</title> <para> <filename>r/${packagename}/stable.txt</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-stabletxt.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ 0.1.2 ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-v2012xml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-v2012xml.xml +++ peardoc/en/core/rest/fileformats/r-package-v2012xml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-v2012xml"> <title>v2.0.1.2.xml</title> <synopsis>Full package.xml version 2</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.r-package-v2012xml.location"> <title>Location</title> <para> <filename>r/${packagename}/v2.0.1.2.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-v2012xml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/viewvc.cgi/peardoc/manual.xml.in?r1=1.50&r2=1.51&diff_format=u Index: peardoc/manual.xml.in diff -u peardoc/manual.xml.in:1.50 peardoc/manual.xml.in:1.51 --- peardoc/manual.xml.in:1.50 Sat Jan 12 02:18:42 2008 +++ peardoc/manual.xml.in Mon Feb 18 20:34:04 2008 @@ -79,6 +79,7 @@ <title>&Core;</title> &core.pear; &core.ppm; + &core.rest; </part> <part id="packages"> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest.xml +++ peardoc/en/core/rest.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <chapter id="core.rest"> <title>PEAR channel server REST interface</title> <para> This manual section describes how the REST interface of a PEAR channel server works, as well as the files and their formats look like. </para> &blankpagehack; &core.rest.directorystructure; &core.rest.fileformats; &core.rest.history; </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/directorystructure.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/directorystructure.xml +++ peardoc/en/core/rest/directorystructure.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <!-- $Id: directorystructure.xml,v 1.1 2008/02/18 20:34:04 cweiske Exp $ --> <sect1 id="core.rest.directorystructure"> <title>Directory structure</title> <titleabbrev>Which files a channel server provides</titleabbrev> <para>A REST channel server simply delivers files in a certain directory structure. The content of those files is static. Their location is relative to the URLs given in the <filename>channel.xml</filename> <literal>baseurl</literal> tags.</para> <para>The following table lists all known files, a tiny description as well as the version they appeared in first.</para> <table> <title>Directory- and file structure</title> <tgroup cols="5"> <thead> <row> <entry>Level 0</entry> <entry>Level 1</entry> <entry>Level 2</entry> <entry>Description</entry> <entry>REST version</entry> </row> </thead> <tbody> <row> <entry><filename>c/</filename></entry> <entry></entry> <entry></entry> <entry><emphasis>Categories</emphasis></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry><link linkend="core.rest.fileformats.c-categoriesxml"><filename>categories.xml</filename></link></entry> <entry></entry> <entry>List of all categories</entry> <entry>1.1</entry> </row> <row> <entry></entry> <entry><filename>$CategoryName/</filename></entry> <entry></entry> <entry></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.c-category-infoxml">info.xml</link></filename></entry> <entry>Info about the category</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.c-category-packagesxml">packages.xml</link></filename></entry> <entry>List of packages in category</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.c-category-packagesinfoxml">packagesinfo.xml</link></filename></entry> <entry>FIXME</entry> <entry>FIXME</entry> </row> <row> <entry></entry> <entry></entry> <entry></entry> <entry></entry> <entry></entry> </row> <row> <entry><filename>m/</filename></entry> <entry></entry> <entry></entry> <entry><emphasis>Maintainers</emphasis></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.m-allmaintainersxml">allmaintainers.xml</link></filename></entry> <entry></entry> <entry>List of all maintainers</entry> <entry>1.1</entry> </row> <row> <entry></entry> <entry><filename>$maintainernick/</filename></entry> <entry></entry> <entry></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.m-maintainer-infoxml">info.xml</link></filename></entry> <entry>Info about the maintainer</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry></entry> <entry></entry> <entry></entry> </row> <row> <entry><filename>p/</filename></entry> <entry></entry> <entry></entry> <entry><emphasis>Packages</emphasis></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.p-packagesxml">packages.xml</link></filename></entry> <entry></entry> <entry>List of all packages</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry><filename>$packagename/</filename></entry> <entry></entry> <entry></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.p-package-infoxml">info.xml</link></filename></entry> <entry>General package information</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.p-package-maintainersxml">maintainers.xml</link></filename></entry> <entry>List of package maintainers</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.p-package-maintainers2xml">maintainers2.xml</link></filename></entry> <entry>FIXME</entry> <entry>FIXME</entry> </row> <row> <entry></entry> <entry></entry> <entry></entry> <entry></entry> <entry></entry> </row> <row> <entry><filename>r/</filename></entry> <entry></entry> <entry></entry> <entry><emphasis>Releases</emphasis></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry><filename>$packagename/</filename></entry> <entry></entry> <entry></entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.r-package-allreleasesxml">allreleases.xml</link></filename></entry> <entry>List of all releases</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.r-package-allreleases2xml">allreleases2.xml</link></filename></entry> <entry>FIXME</entry> <entry>FIXME</entry> </row> <row> <entry></entry> <entry></entry> <entry><filename><link linkend="core.rest.fileformats.r-package-latesttxt">latest.txt</link></filename></entry> <entry>Latest version number</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-stabletxt"><filename>stable.txt</filename></link></entry> <entry>Latest stable version number</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-betatxt"><filename>beta.txt</filename></link></entry> <entry>Latest beta version number</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-alphatxt"><filename>alpha.txt</filename></link></entry> <entry>Latest alpha version number</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-develtxt"><filename>devel.txt</filename></link></entry> <entry>Latest development version number</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-012xml"><filename>0.1.2.xml</filename></link></entry> <entry>Package info for version 0.1.2</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-v2012xml"><filename>v2.0.1.2.xml</filename></link></entry> <entry>FIXME</entry> <entry>FIXME</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-package012xml"><filename>package.0.1.2.xml</filename></link></entry> <entry>package.xml for version 0.1.2</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry><link linkend="core.rest.fileformats.r-package-deps012txt"><filename>deps.0.1.2.txt</filename></link></entry> <entry>Serialized dependencies for version 0.1.2</entry> <entry>1.0</entry> </row> <row> <entry></entry> <entry></entry> <entry></entry> <entry></entry> <entry></entry> </row> </tbody> </tgroup> </table> </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformat.stub?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformat.stub +++ peardoc/en/core/rest/fileformat.stub <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="SECTID"> <title>NAME</title> <titleabbrev>test</titleabbrev> <para> </para> <sect3 id="SECTID.location"> <title>Location</title> <para> <filename>LOCATION</filename> </para> </sect3> <sect3 id="SECTID.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats.xml +++ peardoc/en/core/rest/fileformats.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- $Id: fileformats.xml,v 1.1 2008/02/18 20:34:04 cweiske Exp $ --> <sect1 id="core.rest.fileformats"> <title>File formats</title> <titleabbrev>How the files look like</titleabbrev> <para> Here you will find detailled description of the file formats used for the REST interface. </para> <note> <para> In file names that contain version numbers, we use <literal>0.1.2</literal> as example. </para> </note> &core.rest.fileformats.channelxml; &core.rest.fileformats.c-categoriesxml; &core.rest.fileformats.c-category-infoxml; &core.rest.fileformats.c-category-packagesxml; &core.rest.fileformats.c-category-packagesinfoxml; &core.rest.fileformats.m-allmaintainersxml; &core.rest.fileformats.m-maintainer-infoxml; &core.rest.fileformats.p-packagesxml; &core.rest.fileformats.p-package-infoxml; &core.rest.fileformats.p-package-maintainersxml; &core.rest.fileformats.p-package-maintainers2xml; &core.rest.fileformats.r-package-allreleasesxml; &core.rest.fileformats.r-package-allreleases2xml; &core.rest.fileformats.r-package-latesttxt; &core.rest.fileformats.r-package-stabletxt; &core.rest.fileformats.r-package-betatxt; &core.rest.fileformats.r-package-alphatxt; &core.rest.fileformats.r-package-develtxt; &core.rest.fileformats.r-package-012xml; &core.rest.fileformats.r-package-v2012xml; &core.rest.fileformats.r-package-package012xml; &core.rest.fileformats.r-package-deps012txt; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/history.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/history.xml +++ peardoc/en/core/rest/history.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- $Id: history.xml,v 1.1 2008/02/18 20:34:04 cweiske Exp $ --> <sect1 id="core.rest.history"> <title>REST version history</title> <titleabbrev>Changes between PEAR REST interface versions</titleabbrev> <para> This page lists the known REST versions and their changes they introduced. </para> <sect2 id="core.rest.history.rest10"> <title>REST 1.0</title> <para> This was the initial and first supported version of the REST interface. </para> </sect2> <sect2 id="core.rest.history.rest11"> <title>REST 1.1</title> <para> This version added files to allow spidering channels without requiring the server to have directory listings enabled. These files are: </para> <itemizedlist> <listitem> <para><filename>c/categories.xml</filename></para> </listitem> <listitem> <para><filename>c/$categoryname/packagesinfo.xml</filename></para> </listitem> <listitem> <para><filename>m/allmaintainers.xml</filename></para> </listitem> </itemizedlist> </sect2> <!-- FIXME: REST 1.2 --> <!-- FIXME: REST 1.3 --> </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/c-categoriesxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/c-categoriesxml.xml +++ peardoc/en/core/rest/fileformats/c-categoriesxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.c-categoriesxml"> <title>categories.xml</title> <synopsis>List of all categories</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.c-categoriesxml.location"> <title>Location</title> <para> <filename>c/categories.xml</filename> </para> </sect3> <sect3 id="core.rest.fileformats.c-categoriesxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/c-category-infoxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/c-category-infoxml.xml +++ peardoc/en/core/rest/fileformats/c-category-infoxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.c-category-infoxml"> <title>info.xml (category)</title> <synopsis>Information about a category</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.c-category-infoxml.location"> <title>Location</title> <para> <filename>c/${categoryname}/info.xml</filename> </para> </sect3> <sect3 id="core.rest.fileformats.c-category-infoxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/c-category-packagesinfoxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/c-category-packagesinfoxml.xml +++ peardoc/en/core/rest/fileformats/c-category-packagesinfoxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.c-category-packagesinfoxml"> <title>packagesinfo.xml</title> <synopsis>FIXME</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.c-category-packagesinfoxml.location"> <title>Location</title> <para> <filename>c/${categoryname}/packagesinfo.xml</filename> </para> </sect3> <sect3 id="core.rest.fileformats.c-category-packagesinfoxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/c-category-packagesxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/c-category-packagesxml.xml +++ peardoc/en/core/rest/fileformats/c-category-packagesxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.c-category-packagesxml"> <title>packages.xml (category)</title> <synopsis>FIXME</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.c-category-packagesxml.location"> <title>Location</title> <para> <filename>c/${categoryname}/packages.xml</filename> </para> </sect3> <sect3 id="core.rest.fileformats.c-category-packagesxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/channelxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/channelxml.xml +++ peardoc/en/core/rest/fileformats/channelxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.channelxml"> <title>channel.xml</title> <titleabbrev>Information about the channel</titleabbrev> <para> This is the main file for a channel; nothing works without it. When discovering a channel, this file is retrieved. It defines the REST directory locations as well as mirrors. </para> <sect3 id="core.rest.fileformats.channelxml.location"> <title>Location</title> <para> <filename>/channel.xml</filename> </para> <para> It needs to be in the root directory of the domain. While all other files can be located somewhere deep in a directory structure, <filename>channel.xml</filename> needs to be in <filename>/</filename>. </para> </sect3> <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" > <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 --> <xmlrpc> <function version="1.0">logintest</function> <function version="1.0">package.listLatestReleases</function> <function version="1.0">package.listAll</function> <function version="1.0">package.info</function> <function version="1.0">package.getDownloadURL</function> <function version="1.1">package.getDownloadURL</function> <function version="1.0">package.getDepDownloadURL</function> <function version="1.1">package.getDepDownloadURL</function> <function version="1.0">package.search</function> <function version="1.0">channel.listAll</function> </xmlrpc> <rest> <baseurl type="REST1.0">http://pear.example.org/rest/</baseurl> <baseurl type="REST1.1">http://pear.example.org/rest/</baseurl> <baseurl type="REST1.2">http://pear.example.org/rest/</baseurl> <baseurl type="REST1.3">http://pear.example.org/rest/</baseurl> </rest> </primary> <mirror host="us.pear.example.org"> <rest> <baseurl type="REST1.0">http://us.pear.example.org/rest/</baseurl> <baseurl type="REST1.1">http://us.pear.example.org/rest/</baseurl> <baseurl type="REST1.2">http://us.pear.example.org/rest/</baseurl> <baseurl type="REST1.3">http://us.pear.example.org/rest/</baseurl> </rest> </mirror> <mirror host="de.pear.example.org" ssl="yes" port="3452"> <rest> <baseurl type="REST1.0">https://de.pear.example.org:3452/rest/</baseurl> <baseurl type="REST1.1">https://de.pear.example.org:3452/rest/</baseurl> <baseurl type="REST1.2">https://de.pear.example.org:3452/rest/</baseurl> <baseurl type="REST1.3">https://de.pear.example.org:3452/rest/</baseurl> </rest> </mirror> </servers> </channel>]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/m-allmaintainersxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/m-allmaintainersxml.xml +++ peardoc/en/core/rest/fileformats/m-allmaintainersxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.m-allmaintainersxml"> <title>allmaintainers.xml</title> <synopsis>Lists all maintainers</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.m-allmaintainersxml.location"> <title>Location</title> <para> <filename>m/allmaintainers.xml</filename> </para> </sect3> <sect3 id="core.rest.fileformats.m-allmaintainersxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/m-maintainer-infoxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/m-maintainer-infoxml.xml +++ peardoc/en/core/rest/fileformats/m-maintainer-infoxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.m-maintainer-infoxml"> <title>info.xml (maintainer)</title> <synopsis>Information about a maintainer</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.m-maintainer-infoxml.location"> <title>Location</title> <para> <filename>m/${maintainernick}/info.xml</filename> </para> </sect3> <sect3 id="core.rest.fileformats.m-maintainer-infoxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/p-package-infoxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/p-package-infoxml.xml +++ peardoc/en/core/rest/fileformats/p-package-infoxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.p-package-infoxml"> <title>info.xml (package)</title> <synopsis>Information about a package</synopsis> <para> This file contains general version-independent information about the package: License, category, summary, description and a link to the release directory. </para> <sect3 id="core.rest.fileformats.p-package-infoxml.location"> <title>Location</title> <para> <filename>r/${packagename}/info.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.p-package-infoxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <p xmlns="http://pear.php.net/dtd/rest.package" 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.package http://pear.php.net/dtd/rest.package.xsd" > <n>WorldDomination</n> <c>pear.example.org</c> <ca xlink:href="/rest/c/Tools">Tools</ca> <l>Dictatoric License</l> <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> <r xlink:href="/rest/r/worlddomination"/> </p>]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/p-package-maintainers2xml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/p-package-maintainers2xml.xml +++ peardoc/en/core/rest/fileformats/p-package-maintainers2xml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.p-package-maintainers2xml"> <title>maintainers2.xml</title> <synopsis>FIXME</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.p-package-maintainers2xml.location"> <title>Location</title> <para> <filename>r/${packagename}/maintainers2.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.p-package-maintainers2xml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/p-package-maintainersxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/p-package-maintainersxml.xml +++ peardoc/en/core/rest/fileformats/p-package-maintainersxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.p-package-maintainersxml"> <title>maintainers.xml</title> <synopsis>FIXME</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.p-package-maintainersxml.location"> <title>Location</title> <para> <filename>r/${packagename}/maintainers.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.p-package-maintainersxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/p-packagesxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/p-packagesxml.xml +++ peardoc/en/core/rest/fileformats/p-packagesxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.p-packagesxml"> <title>packages.xml (p)</title> <synopsis>List of all packages</synopsis> <para> This file lists all packages in this channel, together with the channel server name itself. </para> <para> FIXME: rules for spaces </para> <sect3 id="core.rest.fileformats.p-packagesxml.location"> <title>Location</title> <para> <filename>r/packages.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.p-packagesxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <a xmlns="http://pear.php.net/dtd/rest.allpackages" 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.allpackages http://pear.php.net/dtd/rest.allpackages.xsd" > <c>pear.example.org</c> <p>Earth</p> <p>WorldDominator</p> </a>]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-012xml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-012xml.xml +++ peardoc/en/core/rest/fileformats/r-package-012xml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-012xml"> <title>package-0.1.2.xml</title> <synopsis>FIXME</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.r-package-012xml.location"> <title>Location</title> <para> <filename>r/${packagename}/package.0.1.2.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-012xml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-allreleases2xml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-allreleases2xml.xml +++ peardoc/en/core/rest/fileformats/r-package-allreleases2xml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-allreleases2xml"> <title>allreleases2.xml</title> <synopsis>FIXME</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.r-package-allreleases2xml.location"> <title>Location</title> <para> <filename>r/${packagename}/allreleases2.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-allreleases2xml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-allreleasesxml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-allreleasesxml.xml +++ peardoc/en/core/rest/fileformats/r-package-allreleasesxml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-allreleasesxml"> <title>allreleases.xml</title> <synopsis>List of all package versions</synopsis> <para> This file lists all known versions of a package, together with its stability. </para> <sect3 id="core.rest.fileformats.r-package-allreleasesxml.location"> <title>Location</title> <para> <filename>r/${packagename}/allreleases.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-allreleasesxml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[<?xml version="1.0" encoding="utf-8" ?> <a xmlns="http://pear.php.net/dtd/rest.allreleases" 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.allreleases http://pear.php.net/dtd/rest.allreleases.xsd" > <p>WorldDominator</p> <c>pear.example.org</c> <r><v>0.8.1</v><s>beta</s></r> <r><v>0.0.2</v><s>alpha</s></r> </a>]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-alphatxt.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-alphatxt.xml +++ peardoc/en/core/rest/fileformats/r-package-alphatxt.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-alphatxt"> <title>alpha.txt</title> <synopsis>The latest alpha version</synopsis> <para> The only content of this file is the version number of the latest alpha version in pure plain text. </para> <sect3 id="core.rest.fileformats.r-package-alphatxt.location"> <title>Location</title> <para> <filename>r/${packagename}/alpha.txt</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-alphatxt.example"> <title>Example</title> <programlisting role="text"><![CDATA[ 0.1.2 ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-betatxt.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-betatxt.xml +++ peardoc/en/core/rest/fileformats/r-package-betatxt.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-betatxt"> <title>beta.txt</title> <synopsis>The latest beta version</synopsis> <para> The only content of this file is the version number of the latest beta version in pure plain text. </para> <sect3 id="core.rest.fileformats.r-package-betatxt.location"> <title>Location</title> <para> <filename>r/${packagename}/beta.txt</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-betatxt.example"> <title>Example</title> <programlisting role="text"><![CDATA[ 0.1.2 ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-deps012txt.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-deps012txt.xml +++ peardoc/en/core/rest/fileformats/r-package-deps012txt.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-deps012txt"> <title>deps.0.1.2.txt</title> <synopsis>Serialized dependency information</synopsis> <para> The file contains an array of dependency information, serialized with PHP's <function>serialize</function> function. </para> <para> FIXME: Explain array format </para> <sect3 id="core.rest.fileformats.r-package-deps012txt.location"> <title>Location</title> <para> <filename>r/${packagename}/deps.0.1.2.txt</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-deps012txt.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-develtxt.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-develtxt.xml +++ peardoc/en/core/rest/fileformats/r-package-develtxt.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-develtxt"> <title>devel.txt</title> <synopsis>The latest development version</synopsis> <para> The only content of this file is the version number of the latest development version in pure plain text. </para> <sect3 id="core.rest.fileformats.r-package-develtxt.location"> <title>Location</title> <para> <filename>r/${packagename}/devel.txt</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-develtxt.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ 0.1.2 ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-latesttxt.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-latesttxt.xml +++ peardoc/en/core/rest/fileformats/r-package-latesttxt.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-latesttxt"> <title>latest.txt</title> <synopsis>The latest package version</synopsis> <para> The only content of this file is the version number of the latest version in pure plain text. The stability state does not matter; the highest version number is written down here. </para> <sect3 id="core.rest.fileformats.r-package-latesttxt.location"> <title>Location</title> <para> <filename>r/${packagename}/latest.txt</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-latesttxt.example"> <title>Example</title> <para> A package has a stable version <literal>1.0.0</literal>, two beta versions <literal>0.9.8</literal> and <literal>1.0.9</literal> and a development version <literal>1.0.1</literal>. The highest version number is <literal>1.0.9</literal>, and this is put in <filename>latest.txt</filename>. </para> <programlisting role="xml"><![CDATA[ 1.0.9 ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-package012xml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-package012xml.xml +++ peardoc/en/core/rest/fileformats/r-package-package012xml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-package012xml"> <title>package.0.1.2.xml</title> <synopsis>Full package.xml</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.r-package-package012xml.location"> <title>Location</title> <para> <filename>r/${packagename}/package.0.1.2.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-stabletxt.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-stabletxt.xml +++ peardoc/en/core/rest/fileformats/r-package-stabletxt.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-stabletxt"> <title>stable.txt</title> <synopsis>The latest stable version</synopsis> <para> The only content of this file is the version number of the latest stable version in pure plain text. </para> <sect3 id="core.rest.fileformats.r-package-stabletxt.location"> <title>Location</title> <para> <filename>r/${packagename}/stable.txt</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-stabletxt.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ 0.1.2 ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/core/rest/fileformats/r-package-v2012xml.xml?view=markup&rev=1.1 Index: peardoc/en/core/rest/fileformats/r-package-v2012xml.xml +++ peardoc/en/core/rest/fileformats/r-package-v2012xml.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Revision: 1.1 $ --> <sect2 id="core.rest.fileformats.r-package-v2012xml"> <title>v2.0.1.2.xml</title> <synopsis>Full package.xml version 2</synopsis> <para> FIXME </para> <sect3 id="core.rest.fileformats.r-package-v2012xml.location"> <title>Location</title> <para> <filename>r/${packagename}/v2.0.1.2.xml</filename> </para> <note> <para> The package name is lowercased. </para> </note> </sect3> <sect3 id="core.rest.fileformats.r-package-v2012xml.example"> <title>Example</title> <programlisting role="xml"><![CDATA[ ]]></programlisting> </sect3> </sect2> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->