Re: Seeking feedback on QA tool: phpflip
| From: | Arnaud Limbourg | Date: | Sun, 18 Sep 2005 18:00:52 +0000 |
| Subject: | Re: Seeking feedback on QA tool: phpflip | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-3037@lists.php.net to get a copy of this message | ||
It's good, it sure can be useful to the QA effort.
Suggestions:
- when detecting a possible OS vendor distribution it would be nice to
ask confirmation from the user
- you could edit the httpd.conf file piping it through sed to activate
php 4 or php 5
- the directory configuration can be customised to fit distributions
layout (a set for debian, gentoo, etc.)
Good job !
Arnaud.
Clay Loveless wrote:
> I've put together a shell script that I hope will be helpful to others in
> testing PHP scripts against different PHP builds.
>
> It's called 'phpflip', and the source for the script is available here:
>
>
> http://www.killersoft.com/projects/workbench/browser/shell/phpflip
>
> My intent is to enable easy switching between not just major versions, such
> as PHP 4 and PHP 5, but incremental versions -- switch between PHP 4.3.11,
> 4.4.0, 5.0.5, 5.1.0, and whatever the latest snapshot is with one command.
>
> Download PHP distributions, configure and build them, but don't install them
> -- use phpflip instead.
>
> Since each build has the same prefix of /usr (or whatever you specify),
> they'd all use the same PEAR installation.
>
> I'm interested in feedback on this script, particularly from this group -- I
> intend to release on pearified.com after I've gathered some feedback. (Just
> assuming it wouldn't be very welcome on PEAR, since it's not actually a PHP
> script itself.)
>
> Thanks,
> Clay
>