cvs: pearweb /public_html/group index.php /public_html/group/docs 20031114-bbr.php 20031114-pcl.php 20031114-pds.php index.php

From: Date: Sat, 15 Nov 2003 14:33:01 +0000
Subject: cvs: pearweb /public_html/group index.php /public_html/group/docs 20031114-bbr.php 20031114-pcl.php 20031114-pds.php index.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-14284@lists.php.net to get a copy of this message
mj Sat Nov 15 09:33:01 2003 EDT Added files: /pearweb/public_html/group/docs 20031114-bbr.php 20031114-pcl.php 20031114-pds.php Modified files: /pearweb/public_html/group index.php /pearweb/public_html/group/docs index.php Log: * Adding recent announcements

Index: pearweb/public_html/group/index.php diff -u pearweb/public_html/group/index.php:1.2 pearweb/public_html/group/index.php:1.3 --- pearweb/public_html/group/index.php:1.2 Thu Sep 4 12:14:12 2003 +++ pearweb/public_html/group/index.php Sat Nov 15 09:33:00 2003 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: index.php,v 1.2 2003/09/04 16:14:12 mj Exp $ + $Id: index.php,v 1.3 2003/11/15 14:33:00 mj Exp $ */ response_header("The PEAR Group"); ?> @@ -45,6 +45,9 @@ <h2>Administrative Documents</h2> <ul> + <li>14th November 2003: <?php echo make_link("20031114-pds.php", "Package Directory Structure"); ?></li> + <li>14th November 2003: <?php echo make_link("20031114-pcl.php", "Forming of the PEAR core list"); ?></li> + <li>14th November 2003: <?php echo make_link("20031114-bbr.php", "New guidlines for BC breaking releases"); ?></li> <li>04th September 2003: <?php echo make_link("docs/20030904-pph.php", "Handling Package Proposals"); ?></li> <li>20th August 2003: <?php echo make_link("docs/20030820-vm.php", "Handling Votings and Membership"); ?></li> </ul> Index: pearweb/public_html/group/docs/index.php diff -u pearweb/public_html/group/docs/index.php:1.2 pearweb/public_html/group/docs/index.php:1.3 --- pearweb/public_html/group/docs/index.php:1.2 Thu Sep 4 12:14:12 2003 +++ pearweb/public_html/group/docs/index.php Sat Nov 15 09:33:01 2003 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: index.php,v 1.2 2003/09/04 16:14:12 mj Exp $ + $Id: index.php,v 1.3 2003/11/15 14:33:01 mj Exp $ */ response_header("The PEAR Group: Administrative Documents"); ?> @@ -23,6 +23,9 @@ <h1>PEAR Group - Administrative Documents</h1> <ul> + <li>14th November 2003: <?php echo make_link("20031114-pds.php", "Package Directory Structure"); ?></li> + <li>14th November 2003: <?php echo make_link("20031114-pcl.php", "Forming of the PEAR core list"); ?></li> + <li>14th November 2003: <?php echo make_link("20031114-bbr.php", "New guidlines for BC breaking releases"); ?></li> <li>04th September 2003: <?php echo make_link("20030904-pph.php", "Handling Package Proposals"); ?></li> <li>20th August 2003: <?php echo make_link("20030820-vm.php", "Handling Votings and Membership"); ?></li> </ul> Index: pearweb/public_html/group/docs/20031114-bbr.php +++ pearweb/public_html/group/docs/20031114-bbr.php <?php /* +----------------------------------------------------------------------+ | PEAR Web site version 1.0 | +----------------------------------------------------------------------+ | Copyright (c) 2003 The PEAR Group | +----------------------------------------------------------------------+ | This source file is subject to version 2.02 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available at through the world-wide-web at | | http://www.php.net/license/2_02.txt. | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ $Id: 20031114-bbr.php,v 1.1 2003/11/15 14:33:01 mj Exp $ */ response_header("The PEAR Group: New guidlines for BC breaking releases"); ?> <h1>PEAR Group - Administrative Documents</h1> <h2>New guidlines for BC breaking releases</h2> <p>Published: 14th November 2003</p> <p>The goal is to make it possible to be able to run multiple major versions in one script.</p> For this reason new major versions (BC break or when the maintainer feels it makes sense as a result of dramatic feature additions or rewrites) require a new package using the following naming convention in the following order of preference (where 'Foo' is the package name and 'X' the major version number): </p> <ol> <li>FooX</li> <li>FoovX</li> <li>Foo_vX</li> </ol> <p>The choice should be made based on preventing current and future misleading or ambiguous names. This means good care should be taken in making the right choice for the package. Obviously the first two allow for some ambiguity (is DB2 a package for IBM's DB2 or just the major version 2 of DB? - is IPv4 a package for IPv4 or is it the 4th major release if IP?). They don't break the idea of "_" mapping to directories (the class DB_NestedSet implies that there is a nestedset.php in the DB dir). The last one prevents any ambiguity but it's the least visually pleasing and also breaks the '_' to directory mapping and is therefore the last choice.</p> <p>We also came to the conclusion that the pear installer should not be clever about the relationship between two major releases aside from printing out notices about the fact that there is a newer major version when a user installs an earlier one. However all major versions of a package will be listed on one package home. This is especially important in order to not break tutorials that cover older major releases (tutorial xyz for major version 1 simply says 'pear install Foo' - if the system would then install 'Foo2' the user might be in for an unpleasant surprise).</p> <p>Therefore, new major versions are for all intents and purposes new packages with the above mentioned exceptions. The names of these new packages are derived using one of the above mentioned naming conventions.</p> <?php response_footer(); ?> Index: pearweb/public_html/group/docs/20031114-pcl.php +++ pearweb/public_html/group/docs/20031114-pcl.php <?php /* +----------------------------------------------------------------------+ | PEAR Web site version 1.0 | +----------------------------------------------------------------------+ | Copyright (c) 2003 The PEAR Group | +----------------------------------------------------------------------+ | This source file is subject to version 2.02 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available at through the world-wide-web at | | http://www.php.net/license/2_02.txt. | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ $Id: 20031114-pcl.php,v 1.1 2003/11/15 14:33:01 mj Exp $ */ response_header("The PEAR Group: Forming of the PEAR Core list"); ?> <h1>PEAR Group - Administrative Documents</h1> <h2>Forming of the PEAR Core list</h2> <p>Published: 14th November 2003</p> <p>The goal if this decision is to improve the QA process in PEAR.</p> <p>There will be a new open mailinglist called pear-core which will supersede pear-qa (everybody from pear-qa will be automatically subscribed). This mailing list will handle the following things:</p> <ul> <li>pearweb development</li> <li>PEAR installer development</li> <li>PEAR QA</li> <li>PEAR standards definition</li> </ul> <p>We will also encourage people from php-qa and pecl-dev to join the list in order to get them more involved in pearweb and even more importantly pear installer.</p> <p>Motivation:</p> <p>A lot of the discussions we have had on PEAR Group didn't really belong there. Instead they should have been discussed on pear-qa (pear-core from now on) or pear-doc. In order to make things more open we have decided to create the pear-core list, which sole purpose is to discuss topics of basic relevance to the whole PEAR project. This will diminish the volume in pear-dev, which is dedicated to topics related to the development of the software packages in PEAR.</p> <p>We expect that from the discussions in the pear-core list useful community-proposed rules and standards will emerge. These rules and standards must have a general consensus to be adopted and the backing of the PEAR group (which has veto power on proposals considered disruptive and prejudicial to the health of the PEAR project as a whole). If no clear consensus is reached the matter might be handled by the PEAR group, or a new round of discussions initiated, the choice will depend on the reasons and need for the particular rule(s)/standard(s).</p> <p>We will strongly encourage the presence of people from other projects on this list in order to ensure that they also participate as much as possible in the QA process. Remember that we need the fine PHP QA folks to ensure that PEAR works flawlessly in the PHP distribution. Also the fine PECL folks rely on our infrastructure for their website and distribution process, which is on our best interest to get more feedback and help.</p> <?php response_footer(); ?> Index: pearweb/public_html/group/docs/20031114-pds.php +++ pearweb/public_html/group/docs/20031114-pds.php <?php /* +----------------------------------------------------------------------+ | PEAR Web site version 1.0 | +----------------------------------------------------------------------+ | Copyright (c) 2003 The PEAR Group | +----------------------------------------------------------------------+ | This source file is subject to version 2.02 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available at through the world-wide-web at | | http://www.php.net/license/2_02.txt. | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ $Id: 20031114-pds.php,v 1.1 2003/11/15 14:33:01 mj Exp $ */ response_header("The PEAR Group: Package Directory Structure"); ?> <h1>PEAR Group - Administrative Documents</h1> <h2>Package Directory Structure</h2> <p>Published: 14th November 2003</p> The goal is to unify the directory naming inside CVS and after installation. <p>Let's assume we have a package &quot;The_Package_Name&quot; that contains one or more sub-classes (eg. The_Package_Name_Module), with some documentation (perhaps a README, copies of RFCs, etc.), a battery of test scripts (unit tests, regression tests, etc.), and it uses some data files (localization strings, etc.), the dir tree would look like:</p> <pre> The_Package_Name |-- Name (contains Module.php) |-- data |-- docs | `-- examples |-- misc |-- scripts `-- tests </pre> <p>&quot;Name&quot; refers to the last part of the &quot;The_Package_Name&quot;, all subclasses of the main class, should be put in there or subdirectories of it. You can refer to http://cvs.php.net/cvs.php/pear/Cache_Lite/ - the directory &quot;Lite&quot; as an example (this basically documents what we currently do anyway). These types of dirs are optional.</p> <p>The &quot;data&quot; and &quot;misc&quot; dirs should be optional, because it will not make sense to have them for every single package in PEAR.</p> <p>The directories that are required are &quot;docs/examples&quot; and &quot;tests&quot;. A package may have no extra documentation, but it should have at least one example. There must also be some basics test to be able to verify that the package is working. The preferred type of testing script system to use is PHPUnit or .phpt. But for now we would be content with any sort of test script.</p> <p>File in scripts will be installed into a directory available in $PATH, such as /usr/local/bin.</p> <p>Anything that does not fit any of the above categories is placed into the &quot;misc&quot; dir.</p> <p>Maintainers are expected to modify their existing packages to match this new standard.</p> <?php response_footer(); ?>
« previous php.pear.cvs (#14284) next »