Re: PEAR 1.5.0a1 release checklist

From: Date: Wed, 04 Oct 2006 13:11:12 +0000
Subject: Re: PEAR 1.5.0a1 release checklist
References: 1  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-3955@lists.php.net to get a copy of this message
Hi Greg, I wanted to try the pear unit tests ability on a fresh environment while few days ago, i've tried on my current env PEAR 1.4.11, and got errors. My platform 1 : PHP 4.4.2 / Windows XP 1. i've installed a fresh PEAR 1.4.9 environment (with go-pear.phar) INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET: =========================================
PACKAGE              VERSION STATE
Archive_Tar          1.3.1   stable
Console_Getopt       1.2     stable
PEAR                 1.4.9   stable
2. Download from PEAR website the new version PEAR 1.5.0a1 3. Upgrade PEAR pear -c remote.ini upgrade \pear\pear\PEAR-1.5.0a1.tgz I got these messages ----- Did not download optional dependencies: pear/XML_RPC, use --alldeps to download automatically pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0) upgrade ok: channel://pear.php.net/PEAR-1.5.0a1 PEAR: Optional feature webinstaller available (PEAR's web-based installer) PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer) PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer) To install use "pear install pear/PEAR#featurename" 'PHP_PEAR_INSTALL_DIR1' n'est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes. ----- NOTICE ESPECIALLY the french error related to 'PHP_PEAR_INSTALL_DIR1' I suppose the 1 to be too much Now my try to run unit tests on a fresh PEAR 1.5.0a1 platform 1. download PEAR_PackageFileManager-1.5.3 and install pear -c remote.ini install \pear\pear\PEAR_PackageFileManager-1.5.3.tgz 2. run tests pear -c remote.ini run-tests -rq -p PEAR_PackageFileManager 3. Results TOTAL TIME: 00:14 0 PASSED TESTS 0 SKIPPED TESTS 91 FAILED TESTS: 4. Check errors ; one example : ---- EXPECTED OUTPUT tests done ---- ACTUAL OUTPUT Warning: require_once(PEAR/ErrorStack.php): failed to open stream: No such file or directory in C:\pearix\pearix\pear\tests\PEAR_PackageFileManager\tests\phpt_test.php.inc on line 5 Fatal error: require_once(): Failed opening required 'PEAR/ErrorStack.php' (include_path='.;C:\php5\pear') in C:\pearix\pearix\pear\tests\PEAR_PackageFileManager\tests\phpt_test.php.inc on line 5 ---- FAILED As it cannot include "PEAR/ErrorStack.php" , i've 1. verify if file installed ==> OK 2. verify "pear.bat" if a directive -d include_path is present ==> OK 3. verify value of env var PHP_PEAR_INSTALL_DIR set to my new PEAR 1.5.0 install dir ==> OK So What is wrong in such situation ? And last but not least I request, because i don't see it anywhere in the PEAR Manual, a page dedicated to PEAR running unit tests Usage with PHPUnit, .PHPT, ... Thanks Laurent Laville Greg Beaver a écrit :
Hi everyone, I plan to release PEAR version 1.5.0a1 on September 30. New features include: 1) PECL extensions can now be auto-enabled in php.ini on installation, just set php_ini config variable to the path to php.ini 2) dialogs for post-install scripts are much more readable and attractive 3) TAP output for run-tests is available 4) PEAR does not contact the internet on installation unless absolutely required 5) deprecated packages display a warning to the user on info/install commands 6) PEAR_Error can be passed to PEAR_Exception as a reason 7) staticPop implemented in PEAR_ErrorStack in addition, a whole slew of bugs are fixed. In spite of the minor version bump to 1.5.0, this is an incremental upgrade, nothing like the massive changes from 1.3.0 to 1.4.0. As of my tests today, of 675 unit tests, all pass or skip. Here is what I want from you all: 1) check out pear-core (HEAD) 2) run pear upgrade package2.xml 3) install/upgrade/run the usual commands, including uninstall 4) cd tests/ and pear run-tests -rq 5) try the new php_ini feature out, see how it works for you 6) try "pear info pear.chiaraquartet.net/PEAR_Server" after discovering pear.chiaraquartet.net channel 7) try installing Chiara_PEAR_Server and run the post-install script to see the new dialogs Please report back with results, I will release on *September 30* regardless of feedback. This release will be alpha only to allow fluidity of API - it is rock-solid stability-wise. Thanks, Greg


« previous php.pear.qa (#3955) next »