cvs: peardoc /peardoc2/en/chapters contributing.xml

From: Date: Fri, 21 Mar 2003 13:10:12 +0000
Subject: cvs: peardoc /peardoc2/en/chapters contributing.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-487@lists.php.net to get a copy of this message
tal Fri Mar 21 08:10:12 2003 EDT Added files: /peardoc/peardoc2/en/chapters contributing.xml Log: * Merging parts VI and I Index: peardoc/peardoc2/en/chapters/contributing.xml +++ peardoc/peardoc2/en/chapters/contributing.xml <?xml version="1.0" encoding="iso-8859-1" ?> <!-- $Revision: 1.1 $ --> <chapter i="contributing"> <docinfo> <author> <firstname>Tal</firstname> <surname>Peer</surname> </author> <author> <firstname>Martin</firstname> <surname>Jansen</surname> </author> <date>2003-03-21</date> </docinfo> <title>Contributing</title> <simpara>This chapter describes the different ways in which one could contribute to PEAR</simpara> <sect1 id="contributing.introduction"> <title>Introduction</title> <para> PEAR is an open source project, that means that everyone can help improving it. Improving doesn't always mean writing code. It can also mean reporting bugs, giving feedback, submit feature request and even finance support. </para> </sect1> <sect1 id="contributing.newpackage"> <title>Writing New Packages</title> <para> Explanations about submitting new packages are found in the <link linkend="&developers.contributing;">Developers' Guide</link>. </para> </sect1> <sect1 id="contributing.patches"> <para> If you have modified a package to expand its functionality or to fix a bug, you should contribute your changes back to the community (some licenses force you to do so, and it is generally considered immoral not to). </para> <para> Before creating the patch, you must first obtain the latest sources of the package you wish to patch from CVS by running the commands (the package in this example is Foo_Bar): <screen> <command>cvs -d:pserver:cvsread@cvs.php.net:/repository login</command> password is "phpfi" <command> cvs -z3 -d:pserver:cvsread@cvs.php.net:/repository co Foo_Bar </command> </screen> Now that you have the latest sources, you can edit the relevant file(s). Make sure that your patch is fully compatible with the &link.coding-standards;. </para> <para> After you have finished adding/changnig the code, TEST it, we will not accept code that hasn't been carefully tested. When you are absolutely sure the new code doesn't introduce bugs, create a unified diff by running: <screen> <command>cd pear/Foo_Bar</command> <command>cvs diff -u >Foo_Bar.diff</command> </screen> The resulting .diff file contains your patch. </para> <para> Next step is to submit the patch. Send a mail to pear-dev@lists.php.net and Cc the maintainer(s) of the package. The subject of the mail should be prefixed by '[PATCH]' to make it clear you are submitting a patch. Also include a verbose explanation of what the patch does. Don't forget to attach the .diff file to the mail. <note> <para> If you are using Outlook or Outlook Express, please add .txt to the diff file, because Outlook's MIME-Type detection depends on the file extension and only text/plain MIME-Type is allowed in PEAR mailing lists. </para> </note> </para> <note> <para> Our general policy about patches that break backward compatibality is to reject them, unless they are introducing some groundshaking functionality or fix a critical bug. However, the final decision wether to accept a patch or not is done by the package lead maintainer(s). </para> </note> </sect1> <sect1 id="contributing.bugs"> <title>Reporting Bugs</title> <para> If you think that you have found a bug in a PEAR package, please take care that you are using the latest version of the package and that your system does meet the packages' requirements. </para> <para> If the bug still persists with the latest version of the package, don't hesitate to fill out a bug report on <ulink url="&url.php.bugs;">&url.php.bugs;</ulink>. Please choose "PEAR related" as the category for the report. The developers on the PEAR development list will be noticed about your report. </para> <para> More information and tips on how to report bugs in a proper way can be found at <ulink url="&url.php.bugs.howto;">&url.php.bugs.howto;</ulink>. </para> <para> If you have already fixed a bug that you have found in a package, please read <link linkend="&contributing.bugs;">this</link>. </para> </sect1> <sect1 id="contributing.wishlist"> </sect1> </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 -->

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