cvs: peardoc / manual.xml.in /en/chapters constitution.xml intro.xml
| From: | Greg Beaver | Date: | Wed, 14 Mar 2007 23:52:20 +0000 |
| Subject: | cvs: peardoc / manual.xml.in /en/chapters constitution.xml intro.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9519@lists.php.net to get a copy of this message | ||
cellog Wed Mar 14 23:52:20 2007 UTC
Added files:
/peardoc/en/chapters constitution.xml
Modified files:
/peardoc manual.xml.in
/peardoc/en/chapters intro.xml
Log:
add new PEAR constitution to the manual, it will become official
on 3/18/2007 when the manual goes live
revise \"About PEAR\" section to be up-to-date.
http://cvs.php.net/viewvc.cgi/peardoc/manual.xml.in?r1=1.46&r2=1.47&diff_format=u Index: peardoc/manual.xml.in diff -u peardoc/manual.xml.in:1.46 peardoc/manual.xml.in:1.47 --- peardoc/manual.xml.in:1.46 Sat Dec 16 12:23:03 2006 +++ peardoc/manual.xml.in Wed Mar 14 23:52:19 2007 @@ -38,6 +38,7 @@ &chapters.standards; &chapters.contributing; &chapters.faq; + &chapters.constitution; &chapters.group; </part> http://cvs.php.net/viewvc.cgi/peardoc/en/chapters/intro.xml?r1=1.13&r2=1.14&diff_format=u Index: peardoc/en/chapters/intro.xml diff -u peardoc/en/chapters/intro.xml:1.13 peardoc/en/chapters/intro.xml:1.14 --- peardoc/en/chapters/intro.xml:1.13 Thu Jul 7 19:27:51 2005 +++ peardoc/en/chapters/intro.xml Wed Mar 14 23:52:20 2007 @@ -1,16 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.13 $ --> -<!-- - WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING - THIS DOCUMENT YET. - --> +<!-- $Revision: 1.14 $ --> <chapter id="introduction"> <chapterinfo> <author> <firstname>Stig</firstname> <surname>Bakken</surname> </author> - <date>2002-02-10</date> + <author> + <firstname>Gregory</firstname> + <surname>Beaver</surname> + </author> + <date>2007-03-14</date> </chapterinfo> <title>Introduction</title> <subtitle>The PEAR Manifest</subtitle> @@ -29,7 +29,7 @@ <itemizedlist> <listitem> <simpara> - A structured library of open-sourced code for PHP users + A structured library of open-source code for PHP users </simpara> </listitem> <listitem> @@ -59,15 +59,18 @@ </para> <para> - PEAR is a community-driven project with the - <ulink url="&url.pear.group;">PEAR Group</ulink> as the - governing body. The project has been founded by Stig S. Bakken in - 1999 and <ulink url="&url.pear.account;">quite a lot - of people</ulink> have joined the project since then. + PEAR is a community-driven project governed by the developers + who create the software within PEAR. PEAR's governing bodies + are subdivided into the <ulink url="&url.pear.group;">PEAR Group</ulink>, + Collectives, and a President. PEAR's constitution (adopted in March 2007) + defining these groups is documented <link linkend="constitution">here</link>. + The PEAR project was founded in 1999 by Stig S. Bakken + and <ulink url="&url.pear.account;">quite a lot + of people</ulink> have joined the project. </para> <sect2 id="about-pear-stlib"> - <title>Structured Library of PHP Code</title> + <title>Structured Libraries and Applications of PHP Code</title> <para> The code in PEAR is partitioned in <quote>packages</quote>. Each package @@ -75,66 +78,45 @@ number, release cycle, documentation and a defined relation to other packages (including dependencies). Packages are distributed as gzipped tar files with a description file inside, - and installed on your local system using the PEAR installer. - </para> - <para> - There are two types of packages: source packages (containing - source files only), and binary packages (containing - platform-specific binary files, and possible source files). - Installing source packages with C code obviously requires a C - build environment. - </para> - <para> - PEAR defines a package tree, where each - <quote>node</quote> in the tree is - represented by a part of the package name. The nodes are - organized by simple descriptive topics, and each part is - separated by an underscore. Examples of package names are - <quote>MP3_Id</quote>, <quote>Archive_Tar</quote> - and <quote>HTTP_Post</quote>. + and installed on your local system using the <ulink url="&url.pear.package;PEAR">PEAR installer</ulink>. </para> <para> Packages may relate to each other through explicit dependencies, - but there is no automatic relation between for example a package - and its <quote>parent</quote> in the package tree - (for example, <quote>HTTP_Post</quote> is - by default independent of <quote>HTTP</quote>). - </para> - <para> - A few top-level nodes in the package tree called - <quote>sub-repositories</quote> have special functions, - currently these are - <link linkend="about-pecl">PECL</link> and <link - linkend="about-gtk">Gtk</link>. For each of these, different - rules apply, see more in the description of each sub-repository - below. + but there is no automatic dependency relationship between packages + based on the package name. For example, <quote>HTTP_Post</quote> is + by default independent of <quote>HTTP</quote>. Dependencies between + packages with similar names is not forbidden, and does happen. As an example, + the <quote>DB_DataObject</quote> package depends on the <quote>DB</quote> + package. </para> <para> A style guide, the <link linkend="standards">PEAR Coding Standards</link> (short PCS), exists to ease collaboration - between PEAR developers, to help quality and portability, and to - help PEAR contributors to provide consistent-looking-and-feeling - APIs. + between PEAR developers, to enforce quality, and to enforce + a consistent visual appearance of all source code distributed as + a PEAR package. </para> </sect2> <sect2 id="about-pear-distpkg"> <title>Code Distribution and Package Maintenance</title> <para> - All PEAR packages are registered in and uploaded to a central - database available at pear.php.net. Open-sourced - third-party packages may also be registered and uploaded. - Closed-source packages may be installed by the PEAR installer, - but the PEAR database is for open-source code only. + All PEAR packages are registered in and downloaded from a central + server at pear.php.net. Other third-party servers called + <quote>channels</quote> also distribute packages that can be + installed by the PEAR Installer, see the + <ulink url="&url.pear;channels/">Channels list</ulink> for more information. + pear.php.net does not endorse the packages from these channels, and only + provides support for packages distributed from pear.php.net. </para> <para> - Pear.php.net will provide both a human-friendly (HTML) and - machine-friendly (currently XML-RPC) interface to the PEAR - database. Package downloads are done with plain HTTP. - Other functions the pear.php.net site will provide are: + Pear.php.net provides both a human-friendly (HTML) and + machine-friendly (currently <literal>REST</literal>) interface to the packages + available from pear.php.net. All communication occurs over the HTTP protocol. + Other functions the pear.php.net site provides are: <itemizedlist> <listitem> - <simpara>user account management (integrated with the CVS server)</simpara> + <simpara>user account management (independent of the CVS server)</simpara> </listitem> <listitem> <simpara>package management</simpara> @@ -146,7 +128,8 @@ </para> <para> Packages are distributed as a gzipped tar file with an XML description - file inside. The description file contains some information + file inside. The description file (<link linkend="guide.developers.package2">package.xml</link>) + contains some information about the package, a list of files and their roles, and dependencies. </para> </sect2> @@ -155,41 +138,18 @@ <title>The PHP Extension Community Library (PECL)</title> <subtitle>PECL</subtitle> <para> - PECL (pronounced <quote>pickle</quote>) used to be a - sub-repository of PEAR for - C extensions <quote>à la</quote> those distributed - with PHP 4, in fact, having - somewhere to move extensions to from PHP was one of the - motivations when creating PECL. Extensions in PECL follow PHP's - coding standards rather than PEAR's, but they are distributed and - installed as PEAR packages. - </para> - <para> - The process of moving an extension from PHP to PECL is referred - to as <quote>pickling</quote>. - </para> - <para> - In October 2003 PECL has become an independent project, which - does not belong to PEAR anymore. (Except for the infrastructure, - which PECL borrows from PEAR.) More information and all PECL - packages can now be found on the <ulink url="&url.pecl;">PECL - homepage</ulink>. During the PECL spin-off, the project has also - been renamed from <quote>PHP Extension Code Library</quote> to - <quote>PHP Extension Community Library</quote>. + PECL (pronounced <quote>pickle</quote>) is a separate project + that distributes PHP extensions (compiled code written in C, such + as the <ulink url="&url.pecl;/PDO">PDO</ulink> extension). + PECL extensions are also distributed as packages and can be installed + using the PEAR installer with the <literal>pecl</literal> command. </para> - </sect2> - - <sect2 id="about-gtk"> - <title>Gtk Packages</title> - <subtitle>Gtk</subtitle> - <para> - Gtk packages are packages that provide software which uses the - technology of the <ulink url="&url.php.gtk;">PHP-GTK</ulink> - project. Code in this sub-repository follows PEAR's - <link linkend="standards">coding standards</link>. + <para> + More information and all PECL + packages can now be found on the <ulink url="&url.pecl;">PECL + homepage</ulink>. </para> </sect2> - </sect1> </chapter> http://cvs.php.net/viewvc.cgi/peardoc/en/chapters/constitution.xml?view=markup&rev=1.1 Index: peardoc/en/chapters/constitution.xml +++ peardoc/en/chapters/constitution.xml <?xml version="1.0" encoding="utf-8" ?> <!-- $Revision: 1.1 $ --> <chapter id="constitution"> <chapterinfo> <date>2007-03-14</date> </chapterinfo> <title>Constitution</title> <subtitle>The PEAR Constitution</subtitle> <simpara> PEAR's constitution was adopted by majority vote of active PEAR developers on 2007-03-08, see the <ulink url="http://pear.php.net/election/info.php?election=6&results=1">Official Results</ulink>. </simpara> <sect1 id="constitution.summary"> <title>Summary of Important points</title> <para> The following summary of the constitution is only intended to clarify the most important features of the constitution. The text starting with <link linkend="constitution.text">Constitution</link> is the official Constitution of PEAR. </para> <itemizedlist> <listitem> <para> Most importantly, this document's main purpose is to enable developers to innovate in a supportive environment, to foster good will between developers, to encourage best practices and to provide a clear path for resolving disputes. PEAR is about bringing PHP developers together to provide great solutions to the problems we encounter every day through the PHP language, it is ideal if the constitution is ancillary to the main activity at pear.php.net: coding. </para> </listitem> <listitem> <para> Developers have supreme power over ultimately what bugs/features will be assigned to specific roadmap versions, and to releasing package versions. Developers will have to cede some control over API decisions/QA/docs to the collective that contains their package. Developers may be expected to mentor a new developer and help introduce them to the systems within PEAR (how to package, document, test, etc.) </para> </listitem> <listitem> <para> In other words, the bulk of the day-to-day power will remain with developers, but some of the QA decisions and individual ownership will be relinquished to the collective that contains the package. </para> </listitem> <listitem> <para> Collectives have supreme power over packages within the collective in terms of API decisions, QA, documentation, defining the way collaboration works in the collective, choosing a collective leader or leaders, self-promotion of packages within the collective and assigning mentors to new developers of packages within the collective. </para> </listitem> <listitem> <para> The PEAR Group only has power over issues that affect all of PEAR such as coding standards, CVS karma, and all major decisions made about PEAR as a whole. For example, licenses allowed and what defines a collective are two issues that only the PEAR Group can resolve. </para> </listitem> <listitem> <para> The PEAR president has no power over any of the things above, except for the ability to veto a PEAR Group decision. The president cannot create policy. The president's main job is public relations, talking to people outside of PEAR like an ambassador, trying to recruit new developers or bring packages into PEAR, and to solve big emergencies in a hurry such as finding a new hosting provider should the donated space for pear.php.net disappear. </para> </listitem> </itemizedlist> </sect1> <sect1 id="constitution.purpose"> <title>What is the purpose of this document?</title> <para> <itemizedlist> <listitem> <simpara> Clarify who is responsible for what actions within PEAR's sprawling complex of packages and developers. </simpara> </listitem> <listitem> <simpara> Define a clear chain of command. </simpara> </listitem> <listitem> <simpara> Create a structure for resolving disputes on all levels. </simpara> </listitem> </itemizedlist> </para> </sect1> <sect1 id="constitution.text"> <title>Official Constitution</title> <sect2 id="constitution.governingstructure"> <title>I. Governing structure (who runs things in PEAR?)</title> <para> <itemizedlist> <listitem> <simpara> One elected president </simpara> </listitem> <listitem> <simpara> An elected PEAR group of 7 developers </simpara> </listitem> <listitem> <simpara> Collectives of related packages </simpara> </listitem> <listitem> <simpara> Each package has developers assigned to the package </simpara> </listitem> <listitem> <simpara> Extra-governmental technical gurus - these people have shell access on the pear.php.net website, CVS karma for everything, and generally can do things that others cannot do. </simpara> </listitem> </itemizedlist> </para> </sect2> <sect2 id="constitution.checksbalances"> <title>II. Checks and balances</title> <para> <itemizedlist> <listitem> <simpara> Inactive collectives will be handled by the PEAR Group </simpara> </listitem> <listitem> <simpara> PEAR Group members have a term of 1 year, renewable indefinitely through election by PEAR developers </simpara> </listitem> <listitem> <simpara> PEAR president may be impeached by a 2/3 vote (5 votes) of the PEAR Group </simpara> </listitem> <listitem> <simpara> PEAR president may veto decisions from PEAR Group within 1 month of PEAR Group vote </simpara> </listitem> <listitem> <simpara> PEAR Group may override presidential veto with a 2/3 vote (5 votes) within 1 month of presidential veto </simpara> </listitem> <listitem> <simpara> PEAR president has a 1 year term, renewable indefinitely through election by PEAR developers </simpara> </listitem> <listitem> <simpara> This document may be amended by referendum (election) </simpara> </listitem> <listitem> <simpara> Any responsibility may be delegated as necessary, as long as the delegation is clearly and prominently documented at pear.php.net </simpara> </listitem> </itemizedlist> </para> </sect2> <sect2 id="constitution.president"> <title>III. President responsibilities</title> <para> <itemizedlist> <listitem> <simpara> Liaise with PHP Group </simpara> </listitem> <listitem> <simpara> Liaise with external projects/funders </simpara> </listitem> <listitem> <simpara> Promote PEAR as a repository, be the public voice of PEAR </simpara> </listitem> <listitem> <simpara> Approve or veto decisions from the PEAR Group </simpara> </listitem> <listitem> <simpara> Call elections through the web site </simpara> </listitem> <listitem> <simpara> Appoint committees to solve pressing problems, if approved by PEAR Group </simpara> </listitem> <listitem> <simpara> Appoint temporary handlers (people or groups of people) to solve emergency problems (problems with 24 hour to 1 week time frame) </simpara> </listitem> <listitem> <simpara> Recruit specific developers from outside of PEAR to enhance PEAR's quality </simpara> </listitem> <listitem> <simpara> Appoint people to fill temporary vacancies on PEAR Group until election can be held </simpara> </listitem> </itemizedlist> </para> </sect2> <sect2 id="constitution.peargroup"> <title>IV. PEAR Group responsibilities</title> <para> <itemizedlist> <listitem> <simpara> Choose 1 member of the PEAR Group to act as vice president, who will stand in as the president if the president is incapacitated in some way (i.e. on vacation, or more serious issues). This position may rotate. </simpara> </listitem> <listitem> <simpara> Create and vote on actual language for all official PEAR policy that affects more than 1 collective (simple majority approves policy) </simpara> </listitem> <listitem> <simpara> Resolve disputes between collectives or between individuals and collectives </simpara> </listitem> <listitem> <simpara> Grant CVS karma requests </simpara> </listitem> <listitem> <simpara> Handle inactive collectives (either demote all packages to unmaintained, re-assign developers, or other logical solutions) </simpara> </listitem> <listitem> <simpara> Call elections through the web site </simpara> </listitem> <listitem> <simpara> Promote PEAR as a repository (working with the president as much as makes sense) </simpara> </listitem> <listitem> <simpara> Define coding standards </simpara> </listitem> <listitem> <simpara> Resolve larger licensing and legal issues (working with the president as much as makes sense) </simpara> </listitem> <listitem> <simpara> Define what constitutes a Collective (how to define it - categories? Related packages only?) and make final decisions about which collective a package should go in </simpara> </listitem> <listitem> <simpara> Document all communications and archive them, either through email list or some other publicly accessible format like a forum or wiki - the first elected PEAR Group should decide how to do this and amend the consitution. The PEAR Group may occasionally choose to hold secret communications until a bill is voted on, and then the communications must be made public. A summary of communications is acceptable, and should at the least document topics debated and alternatives to the final decision. </simpara> </listitem> </itemizedlist> </para> <sect3 id="constitution.vicepresident"> <title>IVa. Vice President responsibilities</title> <para> <itemizedlist> <listitem> <simpara> Post PEAR Group decisions on the web site, and add them to official documentation if necessary. <emphasis>Decisions are not binding until documented on the website</emphasis>. </simpara> </listitem> <listitem> <simpara> Stand in as president until the next election if the president resigns, or is otherwise unable to serve. </simpara> </listitem> <listitem> <simpara> Appoint a replacement on the PEAR Group if he/she becomes president </simpara> </listitem> </itemizedlist> </para> </sect3> </sect2> <sect2 id="constitution.collectives"> <title>V. Collective responsibilities</title> <para> <itemizedlist> <listitem> <simpara> Create actual language for all official PEAR policy that only affects the collective </simpara> </listitem> <listitem> <simpara> Choose a person or persons who will liaise with the PEAR group. No restrictions are placed upon how to do this, each collective may decide internally </simpara> </listitem> <listitem> <simpara> Define and enforce API compatibility (self-police) </simpara> </listitem> <listitem> <simpara> Enforce Coding Standards as defined by the PEAR Group </simpara> </listitem> <listitem> <simpara> Enforce documentation creation. This can be done by outsourcing to volunteers, but it must be done for all packages in a collective. </simpara> </listitem> <listitem> <simpara> Define clear, public guidelines on code access (who has commit access to which packages, and what is acceptable boundaries). </simpara> </listitem> <listitem> <simpara> Self-promote the collective as a whole (this is non-restrictive, each collective should do this in their own way) </simpara> </listitem> <listitem> <simpara> Assign "mentors" for new developers in the collective (specific developers who are available through email/chat to answer questions of developers new to PEAR) </simpara> </listitem> <listitem> <simpara> Collectives are encouraged but not required to directly contact and collaborate with other collectives. </simpara> </listitem> </itemizedlist> </para> </sect2> <sect2 id="constitution.developer"> <title>VI. Developer responsibilities</title> <para> <itemizedlist> <listitem> <simpara> Define package roadmap </simpara> </listitem> <listitem> <simpara> Fix bugs, implement new features </simpara> </listitem> <listitem> <simpara> Adhere to the collective requirements (documentation, allowing QA commits/releases) </simpara> </listitem> <listitem> <simpara> Package releases </simpara> </listitem> <listitem> <simpara> Meet coding standards </simpara> </listitem> <listitem> <simpara> Appeal to the collective if there are any package-related questions or technical issues </simpara> </listitem> <listitem> <simpara> Appeal to the PEAR Group if there are disputes with the Collective that cannot be resolved in the Collective. </simpara> </listitem> </itemizedlist> </para> </sect2> <sect2 id="constitution.gurus"> <title>VII. Extra-Governmental technical gurus responsibilities</title> <para> <itemizedlist> <listitem> <simpara> Accept the will of the developers: no changing election results, improper abuse of power or other evils that jeopardize the legitimacy of PEAR. </simpara> </listitem> <listitem> <simpara> Quick database fixes, upgrade of the PEAR database when changes are needed </simpara> </listitem> <listitem> <simpara> Cron job administration </simpara> </listitem> <listitem> <simpara> Details of who these people are, their karma, and their tech powers should be clearly and prominently displayed at pear.php.net </simpara> </listitem> </itemizedlist> </para> </sect2> <sect2 id="constitution.website"> <title>IX. Website Collective</title> <para> The Website Collective is a special collective, consisting of developers with <literal>pear.admin</literal> karma (Website Administrators), and developers who contribute to and maintain the actual infrastructure code for pear.php.net. </para> <sect3 id="constitution.website-admin"> <title>Website Administrators responsibilities (as part of website collective)</title> <para> <itemizedlist> <listitem> <simpara> Approve/Deny new pear.php.net account requests </simpara> </listitem> <listitem> <simpara> Manage karma requests for existing accounts </simpara> </listitem> <listitem> <simpara> Pull invalid releases (QA) </simpara> </listitem> </itemizedlist> </para> </sect3> </sect2> <sect2 id="constitution.communication"> <title>Communication</title> <para> <ulink url="mailto:pear-dev@lists.php.net">pear-dev@lists.php.net</ulink> (or <ulink url="news://news.php.net/php.pear.dev">php.pear.dev newsgroup</ulink>) remain the official channels for all PEAR communications. Specific enhancements to the website may of course be created in the future to facilitate better communication. </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 -->
http://cvs.php.net/viewvc.cgi/peardoc/manual.xml.in?r1=1.46&r2=1.47&diff_format=u Index: peardoc/manual.xml.in diff -u peardoc/manual.xml.in:1.46 peardoc/manual.xml.in:1.47 --- peardoc/manual.xml.in:1.46 Sat Dec 16 12:23:03 2006 +++ peardoc/manual.xml.in Wed Mar 14 23:52:19 2007 @@ -38,6 +38,7 @@ &chapters.standards; &chapters.contributing; &chapters.faq; + &chapters.constitution; &chapters.group; </part> http://cvs.php.net/viewvc.cgi/peardoc/en/chapters/intro.xml?r1=1.13&r2=1.14&diff_format=u Index: peardoc/en/chapters/intro.xml diff -u peardoc/en/chapters/intro.xml:1.13 peardoc/en/chapters/intro.xml:1.14 --- peardoc/en/chapters/intro.xml:1.13 Thu Jul 7 19:27:51 2005 +++ peardoc/en/chapters/intro.xml Wed Mar 14 23:52:20 2007 @@ -1,16 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.13 $ --> -<!-- - WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING - THIS DOCUMENT YET. - --> +<!-- $Revision: 1.14 $ --> <chapter id="introduction"> <chapterinfo> <author> <firstname>Stig</firstname> <surname>Bakken</surname> </author> - <date>2002-02-10</date> + <author> + <firstname>Gregory</firstname> + <surname>Beaver</surname> + </author> + <date>2007-03-14</date> </chapterinfo> <title>Introduction</title> <subtitle>The PEAR Manifest</subtitle> @@ -29,7 +29,7 @@ <itemizedlist> <listitem> <simpara> - A structured library of open-sourced code for PHP users + A structured library of open-source code for PHP users </simpara> </listitem> <listitem> @@ -59,15 +59,18 @@ </para> <para> - PEAR is a community-driven project with the - <ulink url="&url.pear.group;">PEAR Group</ulink> as the - governing body. The project has been founded by Stig S. Bakken in - 1999 and <ulink url="&url.pear.account;">quite a lot - of people</ulink> have joined the project since then. + PEAR is a community-driven project governed by the developers + who create the software within PEAR. PEAR's governing bodies + are subdivided into the <ulink url="&url.pear.group;">PEAR Group</ulink>, + Collectives, and a President. PEAR's constitution (adopted in March 2007) + defining these groups is documented <link linkend="constitution">here</link>. + The PEAR project was founded in 1999 by Stig S. Bakken + and <ulink url="&url.pear.account;">quite a lot + of people</ulink> have joined the project. </para> <sect2 id="about-pear-stlib"> - <title>Structured Library of PHP Code</title> + <title>Structured Libraries and Applications of PHP Code</title> <para> The code in PEAR is partitioned in <quote>packages</quote>. Each package @@ -75,66 +78,45 @@ number, release cycle, documentation and a defined relation to other packages (including dependencies). Packages are distributed as gzipped tar files with a description file inside, - and installed on your local system using the PEAR installer. - </para> - <para> - There are two types of packages: source packages (containing - source files only), and binary packages (containing - platform-specific binary files, and possible source files). - Installing source packages with C code obviously requires a C - build environment. - </para> - <para> - PEAR defines a package tree, where each - <quote>node</quote> in the tree is - represented by a part of the package name. The nodes are - organized by simple descriptive topics, and each part is - separated by an underscore. Examples of package names are - <quote>MP3_Id</quote>, <quote>Archive_Tar</quote> - and <quote>HTTP_Post</quote>. + and installed on your local system using the <ulink url="&url.pear.package;PEAR">PEAR installer</ulink>. </para> <para> Packages may relate to each other through explicit dependencies, - but there is no automatic relation between for example a package - and its <quote>parent</quote> in the package tree - (for example, <quote>HTTP_Post</quote> is - by default independent of <quote>HTTP</quote>). - </para> - <para> - A few top-level nodes in the package tree called - <quote>sub-repositories</quote> have special functions, - currently these are - <link linkend="about-pecl">PECL</link> and <link - linkend="about-gtk">Gtk</link>. For each of these, different - rules apply, see more in the description of each sub-repository - below. + but there is no automatic dependency relationship between packages + based on the package name. For example, <quote>HTTP_Post</quote> is + by default independent of <quote>HTTP</quote>. Dependencies between + packages with similar names is not forbidden, and does happen. As an example, + the <quote>DB_DataObject</quote> package depends on the <quote>DB</quote> + package. </para> <para> A style guide, the <link linkend="standards">PEAR Coding Standards</link> (short PCS), exists to ease collaboration - between PEAR developers, to help quality and portability, and to - help PEAR contributors to provide consistent-looking-and-feeling - APIs. + between PEAR developers, to enforce quality, and to enforce + a consistent visual appearance of all source code distributed as + a PEAR package. </para> </sect2> <sect2 id="about-pear-distpkg"> <title>Code Distribution and Package Maintenance</title> <para> - All PEAR packages are registered in and uploaded to a central - database available at pear.php.net. Open-sourced - third-party packages may also be registered and uploaded. - Closed-source packages may be installed by the PEAR installer, - but the PEAR database is for open-source code only. + All PEAR packages are registered in and downloaded from a central + server at pear.php.net. Other third-party servers called + <quote>channels</quote> also distribute packages that can be + installed by the PEAR Installer, see the + <ulink url="&url.pear;channels/">Channels list</ulink> for more information. + pear.php.net does not endorse the packages from these channels, and only + provides support for packages distributed from pear.php.net. </para> <para> - Pear.php.net will provide both a human-friendly (HTML) and - machine-friendly (currently XML-RPC) interface to the PEAR - database. Package downloads are done with plain HTTP. - Other functions the pear.php.net site will provide are: + Pear.php.net provides both a human-friendly (HTML) and + machine-friendly (currently <literal>REST</literal>) interface to the packages + available from pear.php.net. All communication occurs over the HTTP protocol. + Other functions the pear.php.net site provides are: <itemizedlist> <listitem> - <simpara>user account management (integrated with the CVS server)</simpara> + <simpara>user account management (independent of the CVS server)</simpara> </listitem> <listitem> <simpara>package management</simpara> @@ -146,7 +128,8 @@ </para> <para> Packages are distributed as a gzipped tar file with an XML description - file inside. The description file contains some information + file inside. The description file (<link linkend="guide.developers.package2">package.xml</link>) + contains some information about the package, a list of files and their roles, and dependencies. </para> </sect2> @@ -155,41 +138,18 @@ <title>The PHP Extension Community Library (PECL)</title> <subtitle>PECL</subtitle> <para> - PECL (pronounced <quote>pickle</quote>) used to be a - sub-repository of PEAR for - C extensions <quote>à la</quote> those distributed - with PHP 4, in fact, having - somewhere to move extensions to from PHP was one of the - motivations when creating PECL. Extensions in PECL follow PHP's - coding standards rather than PEAR's, but they are distributed and - installed as PEAR packages. - </para> - <para> - The process of moving an extension from PHP to PECL is referred - to as <quote>pickling</quote>. - </para> - <para> - In October 2003 PECL has become an independent project, which - does not belong to PEAR anymore. (Except for the infrastructure, - which PECL borrows from PEAR.) More information and all PECL - packages can now be found on the <ulink url="&url.pecl;">PECL - homepage</ulink>. During the PECL spin-off, the project has also - been renamed from <quote>PHP Extension Code Library</quote> to - <quote>PHP Extension Community Library</quote>. + PECL (pronounced <quote>pickle</quote>) is a separate project + that distributes PHP extensions (compiled code written in C, such + as the <ulink url="&url.pecl;/PDO">PDO</ulink> extension). + PECL extensions are also distributed as packages and can be installed + using the PEAR installer with the <literal>pecl</literal> command. </para> - </sect2> - - <sect2 id="about-gtk"> - <title>Gtk Packages</title> - <subtitle>Gtk</subtitle> - <para> - Gtk packages are packages that provide software which uses the - technology of the <ulink url="&url.php.gtk;">PHP-GTK</ulink> - project. Code in this sub-repository follows PEAR's - <link linkend="standards">coding standards</link>. + <para> + More information and all PECL + packages can now be found on the <ulink url="&url.pecl;">PECL + homepage</ulink>. </para> </sect2> - </sect1> </chapter> http://cvs.php.net/viewvc.cgi/peardoc/en/chapters/constitution.xml?view=markup&rev=1.1 Index: peardoc/en/chapters/constitution.xml +++ peardoc/en/chapters/constitution.xml <?xml version="1.0" encoding="utf-8" ?> <!-- $Revision: 1.1 $ --> <chapter id="constitution"> <chapterinfo> <date>2007-03-14</date> </chapterinfo> <title>Constitution</title> <subtitle>The PEAR Constitution</subtitle> <simpara> PEAR's constitution was adopted by majority vote of active PEAR developers on 2007-03-08, see the <ulink url="http://pear.php.net/election/info.php?election=6&results=1">Official Results</ulink>. </simpara> <sect1 id="constitution.summary"> <title>Summary of Important points</title> <para> The following summary of the constitution is only intended to clarify the most important features of the constitution. The text starting with <link linkend="constitution.text">Constitution</link> is the official Constitution of PEAR. </para> <itemizedlist> <listitem> <para> Most importantly, this document's main purpose is to enable developers to innovate in a supportive environment, to foster good will between developers, to encourage best practices and to provide a clear path for resolving disputes. PEAR is about bringing PHP developers together to provide great solutions to the problems we encounter every day through the PHP language, it is ideal if the constitution is ancillary to the main activity at pear.php.net: coding. </para> </listitem> <listitem> <para> Developers have supreme power over ultimately what bugs/features will be assigned to specific roadmap versions, and to releasing package versions. Developers will have to cede some control over API decisions/QA/docs to the collective that contains their package. Developers may be expected to mentor a new developer and help introduce them to the systems within PEAR (how to package, document, test, etc.) </para> </listitem> <listitem> <para> In other words, the bulk of the day-to-day power will remain with developers, but some of the QA decisions and individual ownership will be relinquished to the collective that contains the package. </para> </listitem> <listitem> <para> Collectives have supreme power over packages within the collective in terms of API decisions, QA, documentation, defining the way collaboration works in the collective, choosing a collective leader or leaders, self-promotion of packages within the collective and assigning mentors to new developers of packages within the collective. </para> </listitem> <listitem> <para> The PEAR Group only has power over issues that affect all of PEAR such as coding standards, CVS karma, and all major decisions made about PEAR as a whole. For example, licenses allowed and what defines a collective are two issues that only the PEAR Group can resolve. </para> </listitem> <listitem> <para> The PEAR president has no power over any of the things above, except for the ability to veto a PEAR Group decision. The president cannot create policy. The president's main job is public relations, talking to people outside of PEAR like an ambassador, trying to recruit new developers or bring packages into PEAR, and to solve big emergencies in a hurry such as finding a new hosting provider should the donated space for pear.php.net disappear. </para> </listitem> </itemizedlist> </sect1> <sect1 id="constitution.purpose"> <title>What is the purpose of this document?</title> <para> <itemizedlist> <listitem> <simpara> Clarify who is responsible for what actions within PEAR's sprawling complex of packages and developers. </simpara> </listitem> <listitem> <simpara> Define a clear chain of command. </simpara> </listitem> <listitem> <simpara> Create a structure for resolving disputes on all levels. </simpara> </listitem> </itemizedlist> </para> </sect1> <sect1 id="constitution.text"> <title>Official Constitution</title> <sect2 id="constitution.governingstructure"> <title>I. Governing structure (who runs things in PEAR?)</title> <para> <itemizedlist> <listitem> <simpara> One elected president </simpara> </listitem> <listitem> <simpara> An elected PEAR group of 7 developers </simpara> </listitem> <listitem> <simpara> Collectives of related packages </simpara> </listitem> <listitem> <simpara> Each package has developers assigned to the package </simpara> </listitem> <listitem> <simpara> Extra-governmental technical gurus - these people have shell access on the pear.php.net website, CVS karma for everything, and generally can do things that others cannot do. </simpara> </listitem> </itemizedlist> </para> </sect2> <sect2 id="constitution.checksbalances"> <title>II. Checks and balances</title> <para> <itemizedlist> <listitem> <simpara> Inactive collectives will be handled by the PEAR Group </simpara> </listitem> <listitem> <simpara> PEAR Group members have a term of 1 year, renewable indefinitely through election by PEAR developers </simpara> </listitem> <listitem> <simpara> PEAR president may be impeached by a 2/3 vote (5 votes) of the PEAR Group </simpara> </listitem> <listitem> <simpara> PEAR president may veto decisions from PEAR Group within 1 month of PEAR Group vote </simpara> </listitem> <listitem> <simpara> PEAR Group may override presidential veto with a 2/3 vote (5 votes) within 1 month of presidential veto </simpara> </listitem> <listitem> <simpara> PEAR president has a 1 year term, renewable indefinitely through election by PEAR developers </simpara> </listitem> <listitem> <simpara> This document may be amended by referendum (election) </simpara> </listitem> <listitem> <simpara> Any responsibility may be delegated as necessary, as long as the delegation is clearly and prominently documented at pear.php.net </simpara> </listitem> </itemizedlist> </para> </sect2> <sect2 id="constitution.president"> <title>III. President responsibilities</title> <para> <itemizedlist> <listitem> <simpara> Liaise with PHP Group </simpara> </listitem> <listitem> <simpara> Liaise with external projects/funders </simpara> </listitem> <listitem> <simpara> Promote PEAR as a repository, be the public voice of PEAR </simpara> </listitem> <listitem> <simpara> Approve or veto decisions from the PEAR Group </simpara> </listitem> <listitem> <simpara> Call elections through the web site </simpara> </listitem> <listitem> <simpara> Appoint committees to solve pressing problems, if approved by PEAR Group </simpara> </listitem> <listitem> <simpara> Appoint temporary handlers (people or groups of people) to solve emergency problems (problems with 24 hour to 1 week time frame) </simpara> </listitem> <listitem> <simpara> Recruit specific developers from outside of PEAR to enhance PEAR's quality </simpara> </listitem> <listitem> <simpara> Appoint people to fill temporary vacancies on PEAR Group until election can be held </simpara> </listitem> </itemizedlist> </para> </sect2> <sect2 id="constitution.peargroup"> <title>IV. PEAR Group responsibilities</title> <para> <itemizedlist> <listitem> <simpara> Choose 1 member of the PEAR Group to act as vice president, who will stand in as the president if the president is incapacitated in some way (i.e. on vacation, or more serious issues). This position may rotate. </simpara> </listitem> <listitem> <simpara> Create and vote on actual language for all official PEAR policy that affects more than 1 collective (simple majority approves policy) </simpara> </listitem> <listitem> <simpara> Resolve disputes between collectives or between individuals and collectives </simpara> </listitem> <listitem> <simpara> Grant CVS karma requests </simpara> </listitem> <listitem> <simpara> Handle inactive collectives (either demote all packages to unmaintained, re-assign developers, or other logical solutions) </simpara> </listitem> <listitem> <simpara> Call elections through the web site </simpara> </listitem> <listitem> <simpara> Promote PEAR as a repository (working with the president as much as makes sense) </simpara> </listitem> <listitem> <simpara> Define coding standards </simpara> </listitem> <listitem> <simpara> Resolve larger licensing and legal issues (working with the president as much as makes sense) </simpara> </listitem> <listitem> <simpara> Define what constitutes a Collective (how to define it - categories? Related packages only?) and make final decisions about which collective a package should go in </simpara> </listitem> <listitem> <simpara> Document all communications and archive them, either through email list or some other publicly accessible format like a forum or wiki - the first elected PEAR Group should decide how to do this and amend the consitution. The PEAR Group may occasionally choose to hold secret communications until a bill is voted on, and then the communications must be made public. A summary of communications is acceptable, and should at the least document topics debated and alternatives to the final decision. </simpara> </listitem> </itemizedlist> </para> <sect3 id="constitution.vicepresident"> <title>IVa. Vice President responsibilities</title> <para> <itemizedlist> <listitem> <simpara> Post PEAR Group decisions on the web site, and add them to official documentation if necessary. <emphasis>Decisions are not binding until documented on the website</emphasis>. </simpara> </listitem> <listitem> <simpara> Stand in as president until the next election if the president resigns, or is otherwise unable to serve. </simpara> </listitem> <listitem> <simpara> Appoint a replacement on the PEAR Group if he/she becomes president </simpara> </listitem> </itemizedlist> </para> </sect3> </sect2> <sect2 id="constitution.collectives"> <title>V. Collective responsibilities</title> <para> <itemizedlist> <listitem> <simpara> Create actual language for all official PEAR policy that only affects the collective </simpara> </listitem> <listitem> <simpara> Choose a person or persons who will liaise with the PEAR group. No restrictions are placed upon how to do this, each collective may decide internally </simpara> </listitem> <listitem> <simpara> Define and enforce API compatibility (self-police) </simpara> </listitem> <listitem> <simpara> Enforce Coding Standards as defined by the PEAR Group </simpara> </listitem> <listitem> <simpara> Enforce documentation creation. This can be done by outsourcing to volunteers, but it must be done for all packages in a collective. </simpara> </listitem> <listitem> <simpara> Define clear, public guidelines on code access (who has commit access to which packages, and what is acceptable boundaries). </simpara> </listitem> <listitem> <simpara> Self-promote the collective as a whole (this is non-restrictive, each collective should do this in their own way) </simpara> </listitem> <listitem> <simpara> Assign "mentors" for new developers in the collective (specific developers who are available through email/chat to answer questions of developers new to PEAR) </simpara> </listitem> <listitem> <simpara> Collectives are encouraged but not required to directly contact and collaborate with other collectives. </simpara> </listitem> </itemizedlist> </para> </sect2> <sect2 id="constitution.developer"> <title>VI. Developer responsibilities</title> <para> <itemizedlist> <listitem> <simpara> Define package roadmap </simpara> </listitem> <listitem> <simpara> Fix bugs, implement new features </simpara> </listitem> <listitem> <simpara> Adhere to the collective requirements (documentation, allowing QA commits/releases) </simpara> </listitem> <listitem> <simpara> Package releases </simpara> </listitem> <listitem> <simpara> Meet coding standards </simpara> </listitem> <listitem> <simpara> Appeal to the collective if there are any package-related questions or technical issues </simpara> </listitem> <listitem> <simpara> Appeal to the PEAR Group if there are disputes with the Collective that cannot be resolved in the Collective. </simpara> </listitem> </itemizedlist> </para> </sect2> <sect2 id="constitution.gurus"> <title>VII. Extra-Governmental technical gurus responsibilities</title> <para> <itemizedlist> <listitem> <simpara> Accept the will of the developers: no changing election results, improper abuse of power or other evils that jeopardize the legitimacy of PEAR. </simpara> </listitem> <listitem> <simpara> Quick database fixes, upgrade of the PEAR database when changes are needed </simpara> </listitem> <listitem> <simpara> Cron job administration </simpara> </listitem> <listitem> <simpara> Details of who these people are, their karma, and their tech powers should be clearly and prominently displayed at pear.php.net </simpara> </listitem> </itemizedlist> </para> </sect2> <sect2 id="constitution.website"> <title>IX. Website Collective</title> <para> The Website Collective is a special collective, consisting of developers with <literal>pear.admin</literal> karma (Website Administrators), and developers who contribute to and maintain the actual infrastructure code for pear.php.net. </para> <sect3 id="constitution.website-admin"> <title>Website Administrators responsibilities (as part of website collective)</title> <para> <itemizedlist> <listitem> <simpara> Approve/Deny new pear.php.net account requests </simpara> </listitem> <listitem> <simpara> Manage karma requests for existing accounts </simpara> </listitem> <listitem> <simpara> Pull invalid releases (QA) </simpara> </listitem> </itemizedlist> </para> </sect3> </sect2> <sect2 id="constitution.communication"> <title>Communication</title> <para> <ulink url="mailto:pear-dev@lists.php.net">pear-dev@lists.php.net</ulink> (or <ulink url="news://news.php.net/php.pear.dev">php.pear.dev newsgroup</ulink>) remain the official channels for all PEAR communications. Specific enhancements to the website may of course be created in the future to facilitate better communication. </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 -->