cvs: peardoc /peardoc2/en/guide/developers contributing.xml
| From: | Martin Jansen | Date: | Tue, 01 Oct 2002 19:57:41 +0000 |
| Subject: | cvs: peardoc /peardoc2/en/guide/developers contributing.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-6807@lists.php.net to get a copy of this message | ||
mj Tue Oct 1 15:57:41 2002 EDT
Modified files:
/peardoc/peardoc2/en/guide/developers contributing.xml
Log:
* Merge from peardoc.
Index: peardoc/peardoc2/en/guide/developers/contributing.xml diff -u peardoc/peardoc2/en/guide/developers/contributing.xml:1.1.1.1 peardoc/peardoc2/en/guide/developers/contributing.xml:1.2 --- peardoc/peardoc2/en/guide/developers/contributing.xml:1.1.1.1 Mon Sep 30 23:23:53 2002 +++ peardoc/peardoc2/en/guide/developers/contributing.xml Tue Oct 1 15:57:41 2002 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.1.1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING THIS DOCUMENT YET. --> <chapter id="developers.contributing"> - <title>Contributing your own code</title> + <title>Contributing your own code</title> <titleabbrev>Contributing</titleabbrev> <sect1 id="developers.contributing.requirements"> @@ -13,7 +13,7 @@ <titleabbrev>Requirements</titleabbrev> <simpara> - There are certain requirements your code needs to keep to + There are certain requirements your code needs to comply with in order to contributed to PEAR: </simpara> @@ -21,7 +21,7 @@ <orderedlist> <listitem> <simpara>Conforming to the coding standards</simpara> - + <para> If you want to contribute your code to PEAR, it has to be compliant to a set of <link linkend="standards">coding standards</link>. There @@ -33,23 +33,23 @@ </listitem> <listitem> <simpara>Documentation in an appropriate format (plain text, docbook)</simpara> - + <para> Your code has to come with appropriate documentation in one of the following formats: - + <itemizedlist> - <listitem> + <listitem> <simpara><ulink url="http://www.docbook.org/">Docbook XML</ulink></simpara> </listitem> - - <listitem> + + <listitem> <simpara>Plain Text</simpara> </listitem> </itemizedlist> If you write the documentation in Docbook XML and if the markup - is valid, the documentation can be easily added to the official + is valid, the documentation can be easily added to the official <ulink url="http://pear.php.net/manual/">PEAR Manual</ulink>, which you are reading right now. </para> @@ -60,7 +60,7 @@ for his package(s) and is willing to release future (bug-fixing) versions. </simpara> - + <para> If you are not willing to maintain your code, it probably makes no sense to contribute it. Maintaining means in PEAR's case that @@ -69,14 +69,14 @@ and that you are willing to roll further releases of your code, that contain bugfixes and enhancements. </para> - - <warning> + + <warning> <simpara> Code can be removed from PEAR if the original contributor is not willing to maintain the code anymore and if there is no other person that is willing to take over the maintainership. - </simpara> + </simpara> </warning> </listitem> </orderedlist> @@ -89,7 +89,7 @@ <titleabbrev>How to contribute</titleabbrev> <para> - <orderedlist> + <orderedlist> <listitem> <simpara>Finding an appropriate package name</simpara> <para> @@ -97,10 +97,10 @@ PEAR is finding an appropriate name for your package. </para> <para> - The general syntax for package names is + The general syntax for package names is <literal><Category>_<Name></literal>. The value for - <literal><category></literal> has to be choosen from a - predefined list of categoriet that are available in PEAR (e.g. + <literal><Category></literal> has to be choosen from a + predefined list of categories that are available in PEAR (e.g. <quote>HTTP</quote>, <quote>Net</quote>, <quote>HTML</quote>). The second part is the name of the package (like <quote>Upload</quote>, <quote>Portscan</quote>, <quote>Table</quote>). @@ -121,45 +121,65 @@ category. This naming scheme is necessary here since it's possible that there are Template systems in PEAR that don't work with HTML but with another technology. + </para> + + <para> + If you need further advice or help for finding a name for your + package, you can ask on the <ulink url="mailto:&email.pear.dev"> + developers mailing list</ulink>. </para> + </listitem> + <listitem> + <simpara>Announcing to the PEAR developers</simpara> + <para> + The second step while contributing is to announce your package on + the <ulink url="mailto:&email.pear.dev">developers mailing list</ulink>. + Usually this announcement will spawn some discussion and the + developers will then start to vote for or against your proposal. + (You are of course urged to join the upcoming discussion.) + Getting a +1 from a developer means she is in favour of your + proposal, while getting a -1 means that the developer doesn't + like it. If you finally have five +1's, you can go ahead + with step 3. + </para> </listitem> <listitem id="developers.contributing.accounts"> <simpara>Getting the necessary accounts</simpara> - + <para> Right now one can distinguish between two types of accounts related to PEAR: - <orderedlist> - <listitem> + <listitem> <simpara>Pear.php.net account</simpara> - + <para> - This account is always necessary for you if you want to release + This account is always necessary for you, if you want to release your package through PEAR. With this account you have access - to the necessary pages on + to the necessary pages on <ulink url="http://pear.php.net/">pear.php.net</ulink> in order to upload and roll new releases.</para> </listitem> - - <listitem> + + <listitem> <simpara>PHP CVS account</simpara> - + <para> If you want to administrate your code via <ulink url="http://www.cvshome.org/">CVS</ulink> , you can also - subscribe for a CVS account to have access to the pear + apply for a CVS account to have access to the pear <abbrev>CVS</abbrev> module on <ulink url="http://cvs.php.net/"> - cvs.php.net</ulink>. This makes it easier for other users + cvs.php.net</ulink>. This makes it easier for other users to contribute to your code. </para> - + <para> - If you already have a CVS repository somewhere else (e.g. on + If you already have a CVS repository somewhere else (e.g. on <ulink url="http://www.sourceforge.net/">SourceForge</ulink>), - you don't need the PHP CVS account. + or if you don't want to maintain your code via CVS, you don't + need the PHP CVS account. </para> </listitem> </orderedlist> @@ -167,14 +187,14 @@ <para> To sign up for your pear.php.net account, go to the <ulink url="http://pear.php.net/account-request.php">PEAR account - request page</ulink> and fill out the form there. The PEAR + request page</ulink> and fill out the form there. The PEAR administrators will then receive your request and they will open - your account if it sounds reasonable for them. You will be notified + your account, if it sounds reasonable for them. You will be notified about that via email. Please note that you do NOT need a pear.php.net account to download packages from there. </para> <para> - To get a PHP CVS account, go + To get a PHP CVS account, go <ulink url="http://www.php.net/php-cvs.php">here</ulink> to sign up for it. The PHP CVS account has to be approved by the PHP Group. @@ -183,76 +203,29 @@ <listitem> <simpara>Bundling releases</simpara> <simpara> - Prerequesite for releasign your code is that your + Prerequesite for releasing your code is that your <link linkend="developers.contributing.accounts">account request</link> for pear.php.net has been accepted. </simpara> <para> Before you can roll out the first release of your package, you need to the register the package itself. To do this, go - <ulink url="http://pear.php.local/package-new.php">here</ulink> + <ulink url="http://pear.php.net/package-new.php">here</ulink> and fill out/submit the form. Please choose the name and the category which have been decided in point 1 of this paragraph. </para> <para> After having registered your package, you can create a first release: - </para> + </para> <para> - The first pre-requesite is to create a package definition file: + The first prerequesite is to create a package definition file: This file is an XML file called <filename>package.xml</filename> that needs to reside in the root directory of your package. </para> <para> - To learn about package definition files, please read here. - </para> -<!-- - <para> - <example> - <title><filename>package.xml</filename></title> - <programlisting role="xml"> - <![CDATA[ - <?xml version="1.0" encoding="ISO-8859-1" ?> - <!DOCTYPE package SYSTEM "../package.dtd"> - <package version="1.0"> - <name>Money_Fast</name> - <summary>Make money fast.</summary> - <description> - This package helps you to make money pretty fast. - </description> - <maintainers> - <maintainer> - <user>foo</user> - <name>Joe Foo</name> - <email>foo@example.com</email> - <role>lead</role> - </maintainer> - </maintainers> - - <release> - <version>1.0</version> - <date>2002-05-27</date> - <state>stable</state> - <notes> - This is the first release. - </notes> - <filelist> - <dir name="/" baseinstalldir="Money"> - <file role="php">Fast.php</file> - </dir> - </filelist> - </release> - - </package> - ]]> - </programlisting> - </example> - </para> - <para> - ### MORE INFORMATION ABOUT - <filename>package.xml</filename> ### + To learn about package definition files, please read <link linkend="developers.packagedef">here</link>. </para> ---> <para> After having created this file, just run <screen> @@ -266,7 +239,7 @@ would be <filename>Money_Fast-1.0.tgz</filename>. </para> <para> - Now go to + Now go to <ulink url="http://pear.php.net/release-upload.php">this page</ulink> and upload the tgz file that has been created previously there. This will start the automated release process, which will roll
Index: peardoc/peardoc2/en/guide/developers/contributing.xml diff -u peardoc/peardoc2/en/guide/developers/contributing.xml:1.1.1.1 peardoc/peardoc2/en/guide/developers/contributing.xml:1.2 --- peardoc/peardoc2/en/guide/developers/contributing.xml:1.1.1.1 Mon Sep 30 23:23:53 2002 +++ peardoc/peardoc2/en/guide/developers/contributing.xml Tue Oct 1 15:57:41 2002 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.1.1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING THIS DOCUMENT YET. --> <chapter id="developers.contributing"> - <title>Contributing your own code</title> + <title>Contributing your own code</title> <titleabbrev>Contributing</titleabbrev> <sect1 id="developers.contributing.requirements"> @@ -13,7 +13,7 @@ <titleabbrev>Requirements</titleabbrev> <simpara> - There are certain requirements your code needs to keep to + There are certain requirements your code needs to comply with in order to contributed to PEAR: </simpara> @@ -21,7 +21,7 @@ <orderedlist> <listitem> <simpara>Conforming to the coding standards</simpara> - + <para> If you want to contribute your code to PEAR, it has to be compliant to a set of <link linkend="standards">coding standards</link>. There @@ -33,23 +33,23 @@ </listitem> <listitem> <simpara>Documentation in an appropriate format (plain text, docbook)</simpara> - + <para> Your code has to come with appropriate documentation in one of the following formats: - + <itemizedlist> - <listitem> + <listitem> <simpara><ulink url="http://www.docbook.org/">Docbook XML</ulink></simpara> </listitem> - - <listitem> + + <listitem> <simpara>Plain Text</simpara> </listitem> </itemizedlist> If you write the documentation in Docbook XML and if the markup - is valid, the documentation can be easily added to the official + is valid, the documentation can be easily added to the official <ulink url="http://pear.php.net/manual/">PEAR Manual</ulink>, which you are reading right now. </para> @@ -60,7 +60,7 @@ for his package(s) and is willing to release future (bug-fixing) versions. </simpara> - + <para> If you are not willing to maintain your code, it probably makes no sense to contribute it. Maintaining means in PEAR's case that @@ -69,14 +69,14 @@ and that you are willing to roll further releases of your code, that contain bugfixes and enhancements. </para> - - <warning> + + <warning> <simpara> Code can be removed from PEAR if the original contributor is not willing to maintain the code anymore and if there is no other person that is willing to take over the maintainership. - </simpara> + </simpara> </warning> </listitem> </orderedlist> @@ -89,7 +89,7 @@ <titleabbrev>How to contribute</titleabbrev> <para> - <orderedlist> + <orderedlist> <listitem> <simpara>Finding an appropriate package name</simpara> <para> @@ -97,10 +97,10 @@ PEAR is finding an appropriate name for your package. </para> <para> - The general syntax for package names is + The general syntax for package names is <literal><Category>_<Name></literal>. The value for - <literal><category></literal> has to be choosen from a - predefined list of categoriet that are available in PEAR (e.g. + <literal><Category></literal> has to be choosen from a + predefined list of categories that are available in PEAR (e.g. <quote>HTTP</quote>, <quote>Net</quote>, <quote>HTML</quote>). The second part is the name of the package (like <quote>Upload</quote>, <quote>Portscan</quote>, <quote>Table</quote>). @@ -121,45 +121,65 @@ category. This naming scheme is necessary here since it's possible that there are Template systems in PEAR that don't work with HTML but with another technology. + </para> + + <para> + If you need further advice or help for finding a name for your + package, you can ask on the <ulink url="mailto:&email.pear.dev"> + developers mailing list</ulink>. </para> + </listitem> + <listitem> + <simpara>Announcing to the PEAR developers</simpara> + <para> + The second step while contributing is to announce your package on + the <ulink url="mailto:&email.pear.dev">developers mailing list</ulink>. + Usually this announcement will spawn some discussion and the + developers will then start to vote for or against your proposal. + (You are of course urged to join the upcoming discussion.) + Getting a +1 from a developer means she is in favour of your + proposal, while getting a -1 means that the developer doesn't + like it. If you finally have five +1's, you can go ahead + with step 3. + </para> </listitem> <listitem id="developers.contributing.accounts"> <simpara>Getting the necessary accounts</simpara> - + <para> Right now one can distinguish between two types of accounts related to PEAR: - <orderedlist> - <listitem> + <listitem> <simpara>Pear.php.net account</simpara> - + <para> - This account is always necessary for you if you want to release + This account is always necessary for you, if you want to release your package through PEAR. With this account you have access - to the necessary pages on + to the necessary pages on <ulink url="http://pear.php.net/">pear.php.net</ulink> in order to upload and roll new releases.</para> </listitem> - - <listitem> + + <listitem> <simpara>PHP CVS account</simpara> - + <para> If you want to administrate your code via <ulink url="http://www.cvshome.org/">CVS</ulink> , you can also - subscribe for a CVS account to have access to the pear + apply for a CVS account to have access to the pear <abbrev>CVS</abbrev> module on <ulink url="http://cvs.php.net/"> - cvs.php.net</ulink>. This makes it easier for other users + cvs.php.net</ulink>. This makes it easier for other users to contribute to your code. </para> - + <para> - If you already have a CVS repository somewhere else (e.g. on + If you already have a CVS repository somewhere else (e.g. on <ulink url="http://www.sourceforge.net/">SourceForge</ulink>), - you don't need the PHP CVS account. + or if you don't want to maintain your code via CVS, you don't + need the PHP CVS account. </para> </listitem> </orderedlist> @@ -167,14 +187,14 @@ <para> To sign up for your pear.php.net account, go to the <ulink url="http://pear.php.net/account-request.php">PEAR account - request page</ulink> and fill out the form there. The PEAR + request page</ulink> and fill out the form there. The PEAR administrators will then receive your request and they will open - your account if it sounds reasonable for them. You will be notified + your account, if it sounds reasonable for them. You will be notified about that via email. Please note that you do NOT need a pear.php.net account to download packages from there. </para> <para> - To get a PHP CVS account, go + To get a PHP CVS account, go <ulink url="http://www.php.net/php-cvs.php">here</ulink> to sign up for it. The PHP CVS account has to be approved by the PHP Group. @@ -183,76 +203,29 @@ <listitem> <simpara>Bundling releases</simpara> <simpara> - Prerequesite for releasign your code is that your + Prerequesite for releasing your code is that your <link linkend="developers.contributing.accounts">account request</link> for pear.php.net has been accepted. </simpara> <para> Before you can roll out the first release of your package, you need to the register the package itself. To do this, go - <ulink url="http://pear.php.local/package-new.php">here</ulink> + <ulink url="http://pear.php.net/package-new.php">here</ulink> and fill out/submit the form. Please choose the name and the category which have been decided in point 1 of this paragraph. </para> <para> After having registered your package, you can create a first release: - </para> + </para> <para> - The first pre-requesite is to create a package definition file: + The first prerequesite is to create a package definition file: This file is an XML file called <filename>package.xml</filename> that needs to reside in the root directory of your package. </para> <para> - To learn about package definition files, please read here. - </para> -<!-- - <para> - <example> - <title><filename>package.xml</filename></title> - <programlisting role="xml"> - <![CDATA[ - <?xml version="1.0" encoding="ISO-8859-1" ?> - <!DOCTYPE package SYSTEM "../package.dtd"> - <package version="1.0"> - <name>Money_Fast</name> - <summary>Make money fast.</summary> - <description> - This package helps you to make money pretty fast. - </description> - <maintainers> - <maintainer> - <user>foo</user> - <name>Joe Foo</name> - <email>foo@example.com</email> - <role>lead</role> - </maintainer> - </maintainers> - - <release> - <version>1.0</version> - <date>2002-05-27</date> - <state>stable</state> - <notes> - This is the first release. - </notes> - <filelist> - <dir name="/" baseinstalldir="Money"> - <file role="php">Fast.php</file> - </dir> - </filelist> - </release> - - </package> - ]]> - </programlisting> - </example> - </para> - <para> - ### MORE INFORMATION ABOUT - <filename>package.xml</filename> ### + To learn about package definition files, please read <link linkend="developers.packagedef">here</link>. </para> ---> <para> After having created this file, just run <screen> @@ -266,7 +239,7 @@ would be <filename>Money_Fast-1.0.tgz</filename>. </para> <para> - Now go to + Now go to <ulink url="http://pear.php.net/release-upload.php">this page</ulink> and upload the tgz file that has been created previously there. This will start the automated release process, which will roll