TESTERS ONLY: new-gopear.php is available in cvs

From: Date: Mon, 04 Apr 2005 05:58:06 +0000
Subject: TESTERS ONLY: new-gopear.php is available in cvs
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-37068@lists.php.net to get a copy of this message
Hi, as a followup to my initial announcement, I have committed the work I'm doing to pearweb/public_html/new-gopear.php. ***DO NOT USE THIS IN PRODUCTION*** OK, disclaimers aside, here is what I have done so far: 1) moved almost everything into functions 2) tested CLI install on windows Here is what I have *not* done - so please don't try any of these things out until I get a chance to test and bugfix, or you might screw things up. 1) tested Web install on windows 2) tested CLI install on unix 3) tested Web install on unix I also have not done any regression testing, just stepping through with a debugger to verify that all pre-existing global variables are correctly initialized. The next steps are 1) test Web windows/all unix 2) take all global declarations out of functions and instead use parameters 3) analyze the code to locate commonality 4) refactor just enough to allow easy unit-testing 5) write unit tests 6) refactor global variables into class variables both for better documentation and code re-use (not for traditional OO reasons of multiple object use) 7) implement Web, CLI and Common classes for different installation types Once I get to #5, I will need help. I would prefer to see folks working on tests even as the refactoring begins, so this doesn't take forever and a day. Greg

« previous php.pear.dev (#37068) next »