第 5 章 PEAR2 Policies

Policies in use in PEAR2 (version 1)

注意 This document cannot be considered complete.

  • This document contains the general policies for how coding and collaboration works in PEAR2.

  • These coding standards will expire on March 1, 2008, and must be reviewed and renewed by the PEAR Group in order to continue

General policy rules

List of rules that apply to PEAR2

Commit access to the repository

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.

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.

What beta status means

To become beta, a package must undergo extensive review.

  • documentation must be complete.

  • full test suite must demonstrate 50% code coverage

  • API must be approved by 2/3 of the collective developers (this will probably be a blanket stamp for most packages)

  • all developers in a collective (including alpha package maintainers) can vote on whether a package is ready for beta status

  • 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.

Package acceptance into PEAR2

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

  • Post a public notice to the pear-dev mailing list stating the intention to begin development.

  • Request a new package be created on the pear.php.net website

  • Undergo a review by the collective (as defined in the previous section) when ready to move from alpha to beta stability

  • 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.

  • Successful packages may then move their development directly from svn.pear.php.net/PEAR2/alpha into svn.pear.php.net/PEAR2 using svn move.


関連ページ