cvs: peardoc /en/chapters/faq devs.xml /en/guide/developers contributing.xml package2.xml /en/guide/newmaint proposal.xml

From: Date: Sun, 04 May 2008 18:35:01 +0000
Subject: cvs: peardoc /en/chapters/faq devs.xml /en/guide/developers contributing.xml package2.xml /en/guide/newmaint proposal.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-10760@lists.php.net to get a copy of this message
cweiske Sun May 4 18:35:01 2008 UTC Modified files: /peardoc/en/chapters/faq devs.xml /peardoc/en/guide/developers contributing.xml package2.xml /peardoc/en/guide/newmaint proposal.xml Log: recommend BSD instead of PHP license

http://cvs.php.net/viewvc.cgi/peardoc/en/chapters/faq/devs.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/en/chapters/faq/devs.xml diff -u peardoc/en/chapters/faq/devs.xml:1.4 peardoc/en/chapters/faq/devs.xml:1.5 --- peardoc/en/chapters/faq/devs.xml:1.4 Wed Jan 9 22:11:57 2008 +++ peardoc/en/chapters/faq/devs.xml Sun May 4 18:35:01 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <sect1 id="faq.devs"> <title>Developer FAQ</title> @@ -27,7 +27,7 @@ C-Modules </titleabbrev> <para> - The <ulink url="&url.pecl;">PECL project</ulink> (a spin-off from + The <ulink url="&url.pecl;">PECL project</ulink> (a spin-off from PEAR) is the place where C extensions for PHP are published. </para> </sect2> @@ -50,7 +50,7 @@ was a decision to commit all new elements to an own top level directory pear. The other elements which are currently remaining in php-src/pear will be moved to the new top level directory soon. - Only the PEAR package manager code will be bundled with every new + Only the PEAR package manager code will be bundled with every new release automatically. </simpara> </sect2> @@ -146,7 +146,7 @@ <term>stable</term> <listitem> <simpara> - the software has a fixed <acronym>API</acronym>, it has + the software has a fixed <acronym>API</acronym>, it has undergone tests, and documentation exists. This release is a recommended release for use in production environments. </simpara> @@ -258,33 +258,34 @@ <itemizedlist> <listitem> <simpara> - PHP License + <ulink url="&url.license.php;">PHP License</ulink> </simpara> </listitem> <listitem> <simpara> - Apache License + <ulink url="&url.license.apache;">Apache License</ulink> </simpara> </listitem> <listitem> <simpara> - LGPL + <ulink url="&url.license.lgpl;">LGPL</ulink> </simpara> </listitem> <listitem> <simpara> - BSD style + <ulink url="&url.license.bsd;">BSD style</ulink> </simpara> </listitem> <listitem> <simpara> - MIT License + <ulink url="&url.license.mit;">MIT License</ulink> </simpara> </listitem> </itemizedlist> <para> Other licenses may be added to this list on a case-by-case - basis. Please get in touch with the <ulink url="mailto:&email.pear.dev;">PEAR developers mailing list</ulink> + basis. Please get in touch with the + <ulink url="mailto:&email.pear.dev;">PEAR developers mailing list</ulink> for this. </para> <para> @@ -338,7 +339,7 @@ aggregation then it logically follows that you also cannot have Apache call your code so you will have to stipulate that nobody can use your code from Apache. I think this is an extreme - interpretation that pretty much nobody out there shares. + interpretation that pretty much nobody out there shares. </para> <para> In short, I don't see an issue here. Move along. http://cvs.php.net/viewvc.cgi/peardoc/en/guide/developers/contributing.xml?r1=1.32&r2=1.33&diff_format=u Index: peardoc/en/guide/developers/contributing.xml diff -u peardoc/en/guide/developers/contributing.xml:1.32 peardoc/en/guide/developers/contributing.xml:1.33 --- peardoc/en/guide/developers/contributing.xml:1.32 Fri Sep 7 07:22:00 2007 +++ peardoc/en/guide/developers/contributing.xml Sun May 4 18:35:01 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.32 $ --> +<!-- $Revision: 1.33 $ --> <!-- WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING THIS DOCUMENT YET. @@ -42,6 +42,11 @@ respect this decision and don't bring up changes to the basic coding standards, or you risk being ignored mercilessly. </para> + <para> + Using <ulink url="&url.pear.package;PHP_CodeSniffer">PHP_CodeSniffer</ulink> + on your code is the most easy way to see if you comply to the + PEAR coding standards. + </para> </listitem> <listitem> @@ -167,7 +172,7 @@ be used to catch them, kill them, and prevent their return. Regression tests should be included with every stable release, so that users can run them if a bug occurs to help you debug the package. Examples of - .phpt regression tests can be found as part of the + .phpt regression tests can be found as part of the <link linkend="core.pear.pear">PEAR</link> package in CVS. For examples of PHPUnit tests, see the <link linkend="package.authentication.auth">Auth</link> package. http://cvs.php.net/viewvc.cgi/peardoc/en/guide/developers/package2.xml?r1=1.17&r2=1.18&diff_format=u Index: peardoc/en/guide/developers/package2.xml diff -u peardoc/en/guide/developers/package2.xml:1.17 peardoc/en/guide/developers/package2.xml:1.18 --- peardoc/en/guide/developers/package2.xml:1.17 Sun Dec 2 04:18:11 2007 +++ peardoc/en/guide/developers/package2.xml Sun May 4 18:35:01 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.17 $ --> +<!-- $Revision: 1.18 $ --> <chapter id="guide.developers.package2"> <title>The package definition file <filename>package.xml</filename>, version 2.0</title> <titleabbrev><filename>package.xml 2.0</filename></titleabbrev> @@ -79,6 +79,7 @@ http://pear.php.net/dtd/package-2.0.xsd&quot;&gt; &lt;name&gt;PEAR&lt;/name&gt; <link linkend="guide.developers.package2.channel">&lt;channel&gt;</link>pear.php.net&lt;/channel&gt; + <link linkend="guide.developers.package2.extends">&lt;extends&gt;</link>OldPackage&lt;/extends&gt; &lt;summary&gt;Any one-line summary&lt;/summary&gt; &lt;description&gt;any static long description. This text should not change very much between releases, use the &quot;notes&quot; tag @@ -342,6 +343,7 @@ </para> &guide.developers.package2.channel; + &guide.developers.package2.extends; &guide.developers.package2.uri; &guide.developers.package2.developers; &guide.developers.package2.version; http://cvs.php.net/viewvc.cgi/peardoc/en/guide/newmaint/proposal.xml?r1=1.20&r2=1.21&diff_format=u Index: peardoc/en/guide/newmaint/proposal.xml diff -u peardoc/en/guide/newmaint/proposal.xml:1.20 peardoc/en/guide/newmaint/proposal.xml:1.21 --- peardoc/en/guide/newmaint/proposal.xml:1.20 Wed Jan 9 22:11:57 2008 +++ peardoc/en/guide/newmaint/proposal.xml Sun May 4 18:35:01 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.20 $ --> +<!-- $Revision: 1.21 $ --> <chapter id="newmaint.proposal"> <chapterinfo> <author> @@ -10,7 +10,7 @@ <firstname>Tobias</firstname> <surname>Schlitt</surname> </author> - <date>$Date: 2008/01/09 22:11:57 $</date> + <date>$Date: 2008/05/04 18:35:01 $</date> </chapterinfo> <title>The formal proposal process</title> <titleabbrev>Proposing</titleabbrev> @@ -94,10 +94,11 @@ <simpara> Choosing a license for the package </simpara> + <!-- taken from guide/developers/contributing.xml --> <simpara> Each package has to be licensed under an accepted OpenSource license. If you are unsure about the license, you should opt for - the <ulink url="&url.license.php;">PHP License</ulink>. The PEAR + the <ulink url="&url.license.bsd;">New BSD License</ulink>. The PEAR Group has issued a <ulink url="&url.pear.group.licenses;">License Announcement</ulink>, which provides further details concerning this topic. @@ -148,7 +149,7 @@ <titleabbrev>Step 2</titleabbrev> <simpara> - For every package you should start a proposal in PEPr + For every package you should start a proposal in PEPr as a draft to initiate discussion on the <ulink url="mailto:&email.pear.dev;">developers mailing list</ulink>. </simpara> @@ -193,9 +194,11 @@ criticism (both positive and negative) and save everybody a bunch of time by making sure your scripts adhere to the <link linkend="standards">Coding Standards</link>. + By using <ulink url="&url.pear.package;PHP_CodeSniffer">PHP_CodeSniffer</ulink> + you will see quickly if your code complies to the standards. </simpara> - <simpara> + <simpara> Please note that PEAR is an international project. People come from different cultural backgrounds where English may not be their native tongue. Misunderstandings may happen because of that, so assume
« previous php.pear.doc (#10760) next »