cvs: peardoc / manual.xml.in /en/chapters pear2policies.xml
| From: | Arnaud Limbourg | Date: | Mon, 07 Apr 2008 19:50:58 +0000 |
| Subject: | cvs: peardoc / manual.xml.in /en/chapters pear2policies.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10630@lists.php.net to get a copy of this message | ||
arnaud Mon Apr 7 19:50:58 2008 UTC
Added files:
/peardoc/en/chapters pear2policies.xml
Modified files:
/peardoc manual.xml.in
Log:
moving PEAR2 policies to the manual
http://cvs.php.net/viewvc.cgi/peardoc/manual.xml.in?r1=1.52&r2=1.53&diff_format=u
Index: peardoc/manual.xml.in
diff -u peardoc/manual.xml.in:1.52 peardoc/manual.xml.in:1.53
--- peardoc/manual.xml.in:1.52 Mon Mar 31 07:53:53 2008
+++ peardoc/manual.xml.in Mon Apr 7 19:50:58 2008
@@ -36,6 +36,7 @@
&chapters.support;
&chapters.standards;
&chapters.pear2cs;
+ &chapters.pear2policies;
&chapters.contributing;
&chapters.faq;
&chapters.constitution;
http://cvs.php.net/viewvc.cgi/peardoc/en/chapters/pear2policies.xml?view=markup&rev=1.1
Index: peardoc/en/chapters/pear2policies.xml
+++ peardoc/en/chapters/pear2policies.xml
<?xml version="1.0" encoding="utf-8" ?>
<!-- $Revision: 1.1 $ -->
<chapter id="pear2policies">
<chapterinfo>
<date>2008-04-07</date>
</chapterinfo>
<title>PEAR2 Policies</title>
<subtitle>Policies in use in PEAR2 (version 1)</subtitle>
<note>
<simpara>
This document cannot be considered complete.
</simpara>
</note>
<para>
<itemizedlist>
<listitem>
<simpara>
This document contains the general policies for how coding and
collaboration works in PEAR2.</simpara>
</listitem>
<listitem>
<simpara>
These coding standards will expire on March 1, 2008, and must be reviewed
and renewed by the PEAR Group in order to continue
</simpara>
</listitem>
</itemizedlist>
</para>
<sect1 id="pear2policies.rules">
<title>General policy rules</title>
<para>
List of rules that apply to PEAR2
</para>
<sect2 id="pear2policies.rules.commitaccess">
<title>Commit access to the repository</title>
<para>
All collective members have full commit access and can commit minor
bugfixes without requesting permission or notifying lead developers.
However, as a courtesy, it is expected that all developers will communicate
with a package's lead developers prior to taking action.
If a dispute over a commit arises, it is also expected that the commit
in question will be reverted pending a review.
</para>
<para>
This rule is intended to encourage open and friendly collaboration. For an example of this commit
model, the PHP project developers often commit minor fixes for thread-safe errors, spelling
mistakes, and other obvious mistakes without consultation.
Exceptions can be made to this rule with explicit PEAR Group approval documented on the website.
</para>
</sect2>
<sect2 id="pear2policies.rules.packagedesign">
<title>Handling package design</title>
<para>
All design decisions should be discussed freely in a Collective, and
each Collective is responsible for enforcing these decisions in
their own way. Some Collectives may require packages to adhere to basic
interfaces, others may require common data storage formats, but
individual package maintainers must adhere to these decisions or
discuss ways of improving them. No cowboy coding!
Ultimately, individual package developers have the full freedom
to innovate without expecting too much interference, but are expected
to learn how to both give and receive constructive criticism as a part
of the privilege of having their code hosted at pear.php.net.
</para>
</sect2>
<sect2 id="pear2policies.rules.pullingreleases">
<title>Pulling releases</title>
<para>
All collective members can pull a release within 24 hours if there is
a major regression or security bug. If at all possible, the primary lead
maintainers should perform this action, but Collectives function as a
unit, and have the role of policing huge problems.
</para>
</sect2>
<sect2 id="pear2policies.rules.competition">
<title>Competing packages</title>
<para>Competing packages are allowed at the alpha level in PEAR2.</para>
<para>All alpha/devel stability packages have no claim to a package name.
If a better package comes along that does the same thing, wants your
package's name and achieves beta status, you have to either join forces or
change the name of your package. The limit is that newer packages have to
be unarguably better in implementation. It is up to the Collective to
define "unarguably better"</para>
</sect2>
<sect2 id="pear2policies.rules.stale">
<title>Stale packages</title>
<para>Any package that is alpha (in svn.pear.php.net/PEAR2/sandbox) and
inactive for more than a year will be deleted</para>
</sect2>
<sect2 id="pear2policies.rules.beta">
<title>What beta status means</title>
<para>To become beta, a package must undergo extensive review.</para>
<para>
<itemizedlist>
<listitem>
<simpara>documentation must be complete.</simpara>
</listitem>
<listitem>
<simpara>full test suite must demonstrate 50% code coverage</simpara>
</listitem>
<listitem>
<simpara>API must be approved by 2/3 of the collective developers
(this will probably be a blanket stamp for most packages)</simpara>
</listitem>
<listitem>
<simpara>all developers in a collective (including alpha package
maintainers) can vote on whether a package is ready for
beta status</simpara>
</listitem>
<listitem>
<simpara>a final name for the package must be chosen by the
lead developers of the package that does not conflict with the
existing beta+ packages. Names are chosen on a
first-come-first-serve basis.</simpara>
</listitem>
</itemizedlist>
</para>
</sect2>
<sect2 id="pear2policies.rules.acceptance">
<title>Package acceptance into PEAR2</title>
<para>
Packages can be proposed either as 1) A completed, or relatively complete
package to Pepr 2) A concept, or proof-of-concept to
svn.pear.php.net/PEAR2/sandbox For proof-of-concept packages they should</para>
<para>
<itemizedlist>
<listitem>
<simpara>Post a public notice to the pear-dev mailing list stating
the intention to begin development.</simpara>
</listitem>
<listitem>
<simpara>Request a new package be created on the pear.php.net website</simpara>
</listitem>
<listitem>
<simpara>Undergo a review by the collective (as defined in the previous
section) when ready to move from alpha to beta stability</simpara>
</listitem>
<listitem>
<simpara>Once the review is complete, the package developers may request
an official vote by the collective on whether the package is ready.
The vote is conducted through PEPr. Unsuccessful packages may request
a second review after fixing issues noted by the collective.</simpara>
</listitem>
<listitem>
<simpara>Successful packages may then move their development directly
from svn.pear.php.net/PEAR2/alpha into svn.pear.php.net/PEAR2
using svn move.</simpara>
</listitem>
</itemizedlist>
</para>
</sect2>
<sect2 id="pear2policies.rules.list">
<title>Packages listed in the channel</title>
<para>Only packages with a status of beta or stable are added to the
public channel</para>
</sect2>
</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
-->